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-corevsntasks-per-nodeandntasksin SLURM terminology?-ntasksis the total number of MPI ranks,-ntasks-per-nodeis 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-coreis only relevant if you want to use hyperthreads. You can find more info withman srun.
-
What does
$SBATCH --exclusivedo? is it quite mandatory to include it in my bash script when executing sbatch job?exclusiveis 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, wherestandardis the queue, and check for the "EXCLUSIVE"). And you can use it in the other partitions (e.g.,smallandsmall-g) to get exclusive access to that node (and of course be billed for exclusive acces). But a node insmallorsmall-gwill still not be fully equivalent to a node instandardorstandard-g, as some defaults, e.g., for memory, are set differently.