<html><head></head><body><div class="ydpaad0bb2fyahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div></div>
        <div><span style="color: rgb(38, 40, 42); --darkreader-inline-color:#d7d2c8;" data-darkreader-inline-color="">>For our next cluster we will switch from Moab/Torque to Slurm and have</span><br></div></div><div id="ydpd5adce2byahoo_quoted_9138983672" class="ydpd5adce2byahoo_quoted"><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px; color: rgb(38, 40, 42); --darkreader-inline-color:#d7d2c8;" data-darkreader-inline-color=""><div>>to adapt the documentation and example batch scripts for the users.<br clear="none">>Therefore, I wonder if and why we should recommend (or maybe even urge) <br clear="none">>our users to use srun instead of mpirun/mpiexec in their batch scripts <br clear="none">>for MPI jobs. <br clear="none"><br clear="none">>> I suspect the question, which I also have, is more like:<br clear="none">>> <br clear="none">>>   "What difference does it make whether I use 'srun' or 'mpirun' within<br clear="none">>>    a batch file started with 'sbatch'."<br clear="none"><div class="ydpd5adce2byqt1087766966" id="ydpd5adce2byqtfd68193" dir="ltr" data-setdir="false"><br clear="none">My apologies for misunderstanding your question!  </div><div class="ydpd5adce2byqt1087766966" id="ydpd5adce2byqtfd68193" dir="ltr" data-setdir="false"><br></div><div class="ydpd5adce2byqt1087766966" id="ydpd5adce2byqtfd68193" dir="ltr" data-setdir="false">One big thing would be that using srun <span style="color: rgb(38, 40, 42); --darkreader-inline-color:#d7d2c8;" data-darkreader-inline-color="">gives you resource tracking and accounting</span></div><div class="ydpd5adce2byqt1087766966" id="ydpd5adce2byqtfd68193" dir="ltr" data-setdir="false"><span style="color: rgb(38, 40, 42); --darkreader-inline-color:#d7d2c8;" data-darkreader-inline-color="">of the individual job or step that you </span><span data-darkreader-inline-color="" style="color: rgb(38, 40, 42); --darkreader-inline-color:#d7d2c8;">would not otherwise </span><span data-darkreader-inline-color="" style="color: rgb(38, 40, 42); --darkreader-inline-color:#d7d2c8;">get with mpirun.</span></div></div><div class="ydpd5adce2byqt1087766966" id="ydpd5adce2byqtfd68193" dir="ltr" data-setdir="false"><span style="color: rgb(38, 40, 42); --darkreader-inline-color:#d7d2c8;" data-darkreader-inline-color=""><br></span></div><div class="ydpd5adce2byqt1087766966" id="ydpd5adce2byqtfd68193" dir="ltr" data-setdir="false"><span style="color: rgb(38, 40, 42); --darkreader-inline-color:#d7d2c8;" data-darkreader-inline-color="">Phil</span></div>
            </div>
        </div></body></html>