<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>See the URL below for a good overview of how Slurm works: <br>
</p>
<p><a class="moz-txt-link-freetext" href="https://slurm.schedmd.com/quickstart.html">https://slurm.schedmd.com/quickstart.html</a></p>
<p>The way I understand it, tasks are started by Slurmd. Ssh is not
involved at all. <br>
</p>
<p>SGE does the same thing with 'tight integration'. The tasks are
started on the compute nodes by sgeexecd, which spawns an sge
sheperd task, which then spawns the actual task. <br>
</p>
<p>To really complicate things, you should look at process
management interface (PMI). This is a middle layer between Slurm
(or an other scheduler) and the MPI tasks. It's a standardized
abstraction layer to make programming MPI implementations and
schedulers easier. It also increases startup time of the MPI jobs,
which is not insignificant for large jobs. <br>
</p>
<p><cite class="iUh30"><a class="moz-txt-link-abbreviated" href="http://www.mcs.anl.gov/papers/P1760.pdf">www.mcs.anl.gov/papers/P1760.pdf</a></cite></p>
<pre class="moz-signature" cols="72">Prentice </pre>
<div class="moz-cite-prefix">On 04/05/2018 11:10 AM, Faraz Hussain
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:20180405091057.Horde.2ob73UMsWgX_XgE9yzfMtbS@box387.bluehost.com">Here's
something quite baffling. I have a cluster running slurm but have
not setup passwordless ssh for a user yet. So when the user runs
"mpirun -n 2 -hostfile hosts hostname", it will hang because of
ssh issue. That is expected.
<br>
<br>
Now the baffling thing is the mpirun command works inside a slurm
script! How can it work if passwordless ssh has not been
configured? Does slurm use some different authentication (munge?)
to login to the hosts and execute the hostname command?
<br>
<br>
Or does slurm have some fancy behind the scenes integration with
Intel mpi ?
<br>
<br>
_______________________________________________
<br>
Beowulf mailing list, <a class="moz-txt-link-abbreviated" href="mailto:Beowulf@beowulf.org">Beowulf@beowulf.org</a> sponsored by Penguin
Computing
<br>
To change your subscription (digest mode or unsubscribe) visit
<a class="moz-txt-link-freetext" href="http://www.beowulf.org/mailman/listinfo/beowulf">http://www.beowulf.org/mailman/listinfo/beowulf</a>
<br>
</blockquote>
<br>
</body>
</html>