Running Applications¶
Presenter: Harvey Richardson (HPE)
Archived materials on LUMI:
-
Slides:
/appl/local/training/4day-20240423/files/LUMI-4day-20240423-1_03_Running_Applications.pdf
-
Recording:
/appl/local/training/4day-20240423/recordings/1_03_Running_Applications.mp4
These materials can only be distributed to actual users of LUMI (active user account).
Q&A¶
-
Can you clarify the differences between:
ntasks-per-core
vsntasks-per-node
andntasks
in SLURM terminology?-ntasks
is the total number of MPI ranks,-ntasks-per-node
is the number of MPI ranks per each node, e.g. I want to run 128 MPI ranks with 4 ranks per each node (i.e. 32 nodes), so I can use:--ntasks=128 --ntasks-per-node=4
. The-ntasks-per-core
is only relevant if you want to use hyperthreads. You can find more info withman srun
.
-
What does
$SBATCH --exclusive
do? is it quite mandatory to include it in my bash script when executing sbatch job?exclusive
is set for some queues, so you will get the entire node even if you are asking for less resources (you can usescontrol show partition standard
, wherestandard
is the queue, and check for the "EXCLUSIVE"). And you can use it in the other partitions (e.g.,small
andsmall-g
) to get exclusive access to that node (and of course be billed for exclusive acces). But a node insmall
orsmall-g
will still not be fully equivalent to a node instandard
orstandard-g
, as some defaults, e.g., for memory, are set differently.