SLURM is the batch system of our cluster.
You can find here:
- a quick start guide about how to use it here
- This pdf containing the full list of SLURM options.
- This presentation that reports best practices and an example script.
submit.py
To help you submit jobs more easily a script is provided: submit.py.
Usage:
python submit.py -d myjob -n subjob "my_command"
Examples :
python submit.py -d ajob -n 0 "python myscript.py arg1 arg2" python submit.py -d onemorejob -n 0 "./mybash.sh arg1 arg2" python submit.py -d oneDVjob "lb-run DaVinci/latest myoption.py"
On top of submitting jobs in batch this will also create a nice folder structure for your jobs.
You can also use it in testing mode adding the --local
.
Run python submit.py -h
for a complete set of options.