Monte Leone uses SLURM for the submission, monitoring and control of parallel jobs. Parallel programs compiled with MVAPICH/Intel must be run using the command srun.
SLURM batch scripts need to be submitted with the sbatch command from the
$SCRATCH folder, since users are NOT supposed to run jobs from different filesystems because of the low performance. A simple SLURM job submission script would look like the following:
srun -n $SLURM_NTASKS ./test.exe
The flag -l at the beginning allows you to call the module command within the script, in case you need it.
SLURM batch queues
|Name of the queue||Max time||Max running jobs per user||Max number nodes|
The list of queues and partitions is available typing sinfo or scontrol show partition. Note that not all groups are enabled on every partition, please check the AllowGroups entry of the command scontrol show partition <partition_name>.
You can choose the queue where to run your job by issuing the "--partition" directive in your batch script: #SBATCH --partition=<partition_name>
Please check the man pages and the official documentation for further details on SLURM directives.
For a list of the most useful SLURM commands, have a look at the corresponding entry in the FAQ list.
If you have any questions, don't hesitate to contact us at help(at)cscs.ch