# Running graphs on a Slurm cluster A noodlelab server can send runs to a [Slurm](https://slurm.schedmd.com/) cluster instead of running them in its own process. The editor works the same way either way: progress, node previews, logs, checks and the run's reports show up as they do for a local run. This is optional. Nothing changes until an admin turns it on. ## How it works A cluster run is a whole graph run, submitted as one batch job: 1. When someone runs a graph *on the cluster*, the server writes two files into `/.noodlelab/jobs//`: - `graph.json`: the graph as it is in the editor, saved or not; - `job.sh`: a batch script that runs it with `noodlelab run`. 2. The server submits the script with `sbatch --parsable`. 3. While the job runs, `noodlelab run` appends every run event to `events.jsonl` in the same folder. The server follows that file and forwards the events to the editor. 4. The job writes its run folder (`runs/