This package shows how to use Julia with SLURM SBATCH scripts.
test/runtests.jl
starts Julia on all workers twice (once if not on SLURM), has them load this package, and print their IDstest/runtests.sh
is the SBATCH script to submit the job to SLURM
The primary function is start_up_workers
, which will use SlurmClusterManager.jl to start up workers when on SLURM, or regular Distributed::addprocs
if not.