<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;color:#000000">Greetings --</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#000000"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#000000">When we started using Slurm some years ago, obtaining the interactive resources through "srun ... --pty bash" was the standard that we adopted. We are now running Slurm v22.05 (happily), though we noticed recently some limitations when claiming resources to demonstrate or develop in an mpi environment.  A colleague today was revisiting a finding dating back to January, which is:</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#000000"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#000000"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span style="font-family:monospace">I am having issues running interactive MPI jobs in a traditional way. It just stays there without execution.</span><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">srun -N 2 -n 4 --mem=4gb --pty bash</span></div><div><span style="font-family:monospace"><span class="gmail-il">mpirun</span> -n 4 ~/prime-mpi</span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">Hower, it does run with:</span></div><div><span style="font-family:monospace">srun -N 2 -n 4 --mem=4gb  ~/prime-mpi</span></div></blockquote><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#000000">As indicated, the first approach, taking the resources to test/demo MPI jobs via "srun ...  --pty bash" no longer supports the launching of the job.  We also checked the srun environment using verbosity, and found that the job steps are executed and terminate before the prompt is achieved in the requested shell.<br clear="all"></div><div><br></div><div><div style="font-family:verdana,sans-serif;color:rgb(0,0,0)" class="gmail_default">While we infer that changes were implemented, would someone be able to direct us to documentation or a discussion as to the changes, and the motivation?  We do not doubt that there is compelling motivation, we ask to improve our understanding.  As was summarized in and shared amongst our team following our review of the current operational behaviour:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="font-family:verdana,sans-serif;color:rgb(0,0,0)" class="gmail_default"><ul><li>"srun ... executable" works fine</li><li>"salloc -n4", "ssh <node>", "srun -n4 <executable>" works<br>Using "<span class="gmail-il">mpirun</span> -n4 <executable>" does not work</li><li>In batch mode, both <span class="gmail-il">mpirun</span> and srun work.</li></ul></div></blockquote><br></div><div><div style="font-family:verdana,sans-serif;color:rgb(0,0,0)" class="gmail_default">Thanks to any and all who take the time to shed light on this matter.</div><br></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><span style="font-family:verdana,sans-serif"><span style="font-size:small">E.M. (Em) Dragowsky, Ph.D.</span><br></span></div><div><span style="font-family:verdana,sans-serif"><font size="2">Research Computing -- UTech</font></span></div><div><span style="font-family:verdana,sans-serif"><font size="2">Case Western Reserve University<br></font></span></div><div><font size="2" face="comic sans ms, sans-serif"><span style="font-family:verdana,sans-serif">(216) 368-0082</span><br></font></div><div><font size="2" face="comic sans ms, sans-serif"><font face="verdana,sans-serif">they/them</font><br></font></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>