<html><head></head><body><div class="ydp9553af90yahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><div></div>
<div dir="ltr" data-setdir="false">Make sure the .so symlink for the pmix lib is available -- not just the versioned .so, e.g. .so.2. Slurm requires that .so symlink. Some distros split packages into base/devel, so you may need to install a pmix-devel package, if available, in order to add the .so symlink (which is considered a "development" file).</div><div><br></div>
</div><div id="yahoo_quoted_7365597591" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Monday, December 7, 2020, 09:22:06 AM EST, Yuengling, Philip J. <philip.yuengling@jhuapl.edu> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div id="yiv8648130390"><style>#yiv8648130390 #yiv8648130390 --
_filtered {}
_filtered {}
#yiv8648130390
#yiv8648130390 p.yiv8648130390MsoNormal, #yiv8648130390 li.yiv8648130390MsoNormal, #yiv8648130390 div.yiv8648130390MsoNormal
{margin:0in;font-size:12.0pt;font-family:sans-serif;}
#yiv8648130390 span.yiv8648130390EmailStyle20
{font-family:sans-serif;color:windowtext;}
#yiv8648130390 .yiv8648130390MsoChpDefault
{font-size:10.0pt;}
_filtered {}
#yiv8648130390 div.yiv8648130390WordSection1
{}
#yiv8648130390 </style><div>
<div class="yiv8648130390WordSection1">
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;">Thanks Andy,</span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;"> </span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;">Slurm was compiled with </span>
<span style="font-size:11.0pt;">--with-pmix=/share/local/pmix-3.2.1. The build of pmix is</span><span style="font-size:11.0pt;"> installed under /share/local/pmix-3.2.1 which is an NFS share across all the nodes. I should also note I used devtoolset-10 (gcc
10) on RHEL7 and confirmed that everything was compiled with that version of compiler.</span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;"> </span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;">I also set LD_LIBRARY_PATH to include /share/local/pmix-3.2.1</span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;"> </span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;">Cheers!</span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;">Phil</span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;"> </span></p>
<div class="yiv8648130390yqt3727342319" id="yiv8648130390yqt52240"><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in;">
<p class="yiv8648130390MsoNormal"><b><span style="color:black;">From: </span></b><span style="color:black;">slurm-users <slurm-users-bounces@lists.schedmd.com> on behalf of Andy Riebs <andy@candooz.com><br clear="none">
<b>Reply-To: </b>"andy@candooz.com" <andy@candooz.com>, Slurm User Community List <slurm-users@lists.schedmd.com><br clear="none">
<b>Date: </b>Friday, December 4, 2020 at 3:07 PM<br clear="none">
<b>To: </b>"slurm-users@lists.schedmd.com" <slurm-users@lists.schedmd.com><br clear="none">
<b>Subject: </b>[EXT] Re: [slurm-users] pmix issue</span></p>
</div>
<div>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;"> </span></p>
</div>
<div>
<div id="yiv8648130390APLWarningText">
<table align="left" class="yiv8648130390MsoNormalTable" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td colspan="1" rowspan="1" width="100%" style="width:100.0%;background:#E0E0E0;padding:0in 0in 0in 0in;">
<p class="yiv8648130390MsoNormal" style="">
<b><span style="color:red;">APL external email warning: </span></b><span style="color:black;">Verify sender slurm-users-bounces@lists.schedmd.com before clicking links or attachments</span></p>
</td></tr></tbody></table>
<p><span style="color:white;"> </span></p>
</div>
</div>
<p>Also, Slurm was built with "/fs/local/pmix-3.2.1" -- does that translate well to "/share/local/pmix-3.2.1"?</p>
<p>Andy</p>
<div>
<p class="yiv8648130390MsoNormal">On 12/4/2020 2:59 PM, Andy Riebs wrote:</p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt;">
<p>Are you sure that /share/local/pmix-3.2.1 exists on the compute nodes?</p>
<div>
<p class="yiv8648130390MsoNormal">On 12/4/2020 2:54 PM, Yuengling, Philip J. wrote:</p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt;">
<div>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;">Hi everyone,</span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;"> </span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;">I’ve been having difficulty getting the --mpi=pmix_v3 option to work for me. I can get --mpi=pmi2 to work ok, but I really want to understand what I’m doing wrong here. Everything seems to build ok.</span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;"> </span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;">$ srun --mpi=list</span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;">srun: MPI types are...</span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;">srun: pmix</span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;">srun: pmix_v3</span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;">srun: cray_shasta</span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;">srun: none</span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;">srun: pmi2</span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;"> </span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;">$ srun --mpi=pmix_v3 -N5 date</span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;">srun: error: task 1 launch failed: Invalid MPI plugin name</span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;">srun: error: task 2 launch failed: Invalid MPI plugin name</span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;">srun: error: task 3 launch failed: Invalid MPI plugin name</span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;">srun: error: task 4 launch failed: Invalid MPI plugin name</span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;">srun: error: task 0 launch failed: Invalid MPI plugin name</span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;"> </span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;">$ srun --mpi=pmi2 -N5 date</span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;">Fri Dec 4 13:52:39 EST 2020</span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;">Fri Dec 4 13:52:39 EST 2020</span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;">Fri Dec 4 13:52:39 EST 2020</span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;">Fri Dec 4 13:52:39 EST 2020</span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;">Fri Dec 4 13:52:39 EST 2020</span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;"> </span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;"> </span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;">openpmix:</span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;">CC=/opt/rh/devtoolset-10/root/usr/bin/gcc ./configure --prefix=/share/local/pmix-3.2.1 --with-hwloc=/share/local/hwloc-2.4.0</span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;"> </span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;">Slurm 20.11.0:</span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;">rpmbuild --define "_with_pmix --with-pmix=/fs/local/pmix-3.2.1" -ta slurm-20.11.0.tar.bz2</span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;">From config.log:</span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;">./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc/slurm
--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-pmix=/fs/local/pmix-3.2.1 --disable-slurmrestd</span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;"> </span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;">Open MP 4.0.5: </span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;">./configure '--prefix=/share/openmpi-4.0.5' '--with-cuda' '--with-pmix=/share/local/pmix-3.2.1' '--with-pmi=/usr' '--with-slurm' '--without-ucx' '--without-verbs'</span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:5.0pt;color:white;">-- </span></p>
<div>
<p class="yiv8648130390MsoNormal"><span style="font-size:10.0pt;color:black;"> </span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:10.0pt;color:black;">Philip J. Yuengling</span></p>
<p class="yiv8648130390MsoNormal"><span style="font-size:10.0pt;color:black;">Johns Hopkins University</span></p>
</div>
</div>
</blockquote>
</blockquote></div>
<p class="yiv8648130390MsoNormal"><span style="font-size:11.0pt;">--> </span></p>
</div>
</div></div></div>
</div>
</div></body></html>