>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.
Phil  

Reply via email to