<div dir="ltr"><div>At least for Grid Engine/OpenMPI the preferred mechanism ("tight integration") involves the shepherds running on each exec hosts to start MPI, without any SSH/RSH required at all. I'm not sure if you've run across this documentation, but it might help to figure out what's going on:<br></div><div><br></div><div><a href="https://slurm.schedmd.com/mpi_guide.html#intel_mpi" target="_blank">https://slurm.schedmd.com/mpi_<wbr>guide.html#intel_mpi</a><br></div><div><br></div><div>I'm guessing you're using the "srun" method right now.</div><div><br></div><div>Skylar</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 5, 2018 at 8:10 AM, Faraz Hussain <span dir="ltr"><<a href="mailto:info@feacluster.com" target="_blank">info@feacluster.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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>
______________________________<wbr>_________________<br>
Beowulf mailing list, <a href="mailto:Beowulf@beowulf.org" target="_blank">Beowulf@beowulf.org</a> sponsored by Penguin Computing<br>
To change your subscription (digest mode or unsubscribe) visit <a href="http://www.beowulf.org/mailman/listinfo/beowulf" rel="noreferrer" target="_blank">http://www.beowulf.org/mailman<wbr>/listinfo/beowulf</a><br>
</blockquote></div><br></div></div>