[slurm-users] MPI jobs via mirun vs. srun through PMIx.
pkdevel at yahoo.com
Tue Sep 17 07:43:12 UTC 2019
>For our next cluster we will switch from Moab/Torque to Slurm and have
>to adapt the documentation and example batch scripts for the users.
>Therefore, I wonder if and why we should recommend (or maybe even urge)
>our users to use srun instead of mpirun/mpiexec in their batch scripts
>for MPI jobs.
>> I suspect the question, which I also have, is more like:
>> "What difference does it make whether I use 'srun' or 'mpirun' within
>> a batch file started with 'sbatch'."
My apologies for misunderstanding your question!
One big thing would be that using srun gives you resource tracking and accountingof the individual job or step that you would not otherwise get with mpirun.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the slurm-users