<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Helvetica Neue";
        panose-1:2 0 5 3 0 0 0 2 0 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
p.yiv8648130390msonormal, li.yiv8648130390msonormal, div.yiv8648130390msonormal
        {mso-style-name:yiv8648130390msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle26
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Thanks everyone for your replies!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">It turned out to be a library dependency for libevent wasn’t being found as needed.  While I thought I was using a shared-location library, I was not.  I had apparently set up /etc/ld.so.conf.d on the build host to use /usr/local/lib which…
 has libevent in it.  But none of the other nodes had this.  The problem became apparent after going to each node and running pmix_info.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This means I should remove the ld.so.conf.d entry and rebuild everything against the preferred set of libraries.  Otherwise pmix appears to work as expected now.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Cheers!<o:p></o:p></p>
<p class="MsoNormal">Phil<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">slurm-users <slurm-users-bounces@lists.schedmd.com> on behalf of Philip Kovacs <pkdevel@yahoo.com><br>
<b>Reply-To: </b>Philip Kovacs <pkdevel@yahoo.com>, Slurm User Community List <slurm-users@lists.schedmd.com><br>
<b>Date: </b>Monday, December 7, 2020 at 10:55 AM<br>
<b>To: </b>"andy@candooz.com" <andy@candooz.com>, Slurm User Community List <slurm-users@lists.schedmd.com><br>
<b>Subject: </b>Re: [slurm-users] [EXT] Re: pmix issue<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div id="APLWarningText">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" align="left">
<tbody>
<tr>
<td width="100%" style="width:100.0%;background:#E0E0E0;padding:0in 0in 0in 0in">
<p class="MsoNormal" style="mso-element:frame;mso-element-frame-hspace:2.25pt;mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:column;mso-height-rule:exactly">
<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><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
<p><span style="color:white"> </span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Helvetica Neue"">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).<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Helvetica Neue""><o:p> </o:p></span></p>
</div>
</div>
<div id="yahoo_quoted_7365597591">
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A">On Monday, December 7, 2020, 09:22:06 AM EST, Yuengling, Philip J. <philip.yuengling@jhuapl.edu> wrote:
<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p> </o:p></span></p>
</div>
<div>
<div id="yiv8648130390">
<div>
<div>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A">Thanks Andy,</span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A"> </span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A">Slurm was compiled with --with-pmix=/share/local/pmix-3.2.1.  The build of pmix is 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><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A"> </span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A">I also set LD_LIBRARY_PATH to include /share/local/pmix-3.2.1</span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A"> </span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A">Cheers!</span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A">Phil</span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A"> </span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<div id="yiv8648130390yqt52240">
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="yiv8648130390msonormal"><b><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:black">From:
</span></b><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:black">slurm-users <slurm-users-bounces@lists.schedmd.com> on behalf of Andy Riebs <andy@candooz.com><br>
<b>Reply-To: </b>"andy@candooz.com" <andy@candooz.com>, Slurm User Community List <slurm-users@lists.schedmd.com><br>
<b>Date: </b>Friday, December 4, 2020 at 3:07 PM<br>
<b>To: </b>"slurm-users@lists.schedmd.com" <slurm-users@lists.schedmd.com><br>
<b>Subject: </b>[EXT] Re: [slurm-users] pmix issue</span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
</div>
<div>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A"> </span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
</div>
<div>
<div id="yiv8648130390APLWarningText">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" align="left">
<tbody>
<tr>
<td width="100%" style="width:100.0%;background:#E0E0E0;padding:0in 0in 0in 0in">
<p class="yiv8648130390msonormal" style="mso-element:frame;mso-element-frame-hspace:2.25pt;mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:column;mso-height-rule:exactly">
<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><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
<p><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:white"> </span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
</div>
</div>
<p><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A">Also, Slurm was built with "/fs/local/pmix-3.2.1" -- does that translate well to "/share/local/pmix-3.2.1"?<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A">Andy<o:p></o:p></span></p>
<div>
<p class="yiv8648130390msonormal"><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A">On 12/4/2020 2:59 PM, Andy Riebs wrote:<o:p></o:p></span></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A">Are you sure that /share/local/pmix-3.2.1 exists on the compute nodes?<o:p></o:p></span></p>
<div>
<p class="yiv8648130390msonormal"><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A">On 12/4/2020 2:54 PM, Yuengling, Philip J. wrote:<o:p></o:p></span></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A">Hi everyone,</span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A"> </span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A">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><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A"> </span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A">$ srun --mpi=list</span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A">srun: MPI types are...</span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A">srun: pmix</span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A">srun: pmix_v3</span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A">srun: cray_shasta</span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A">srun: none</span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A">srun: pmi2</span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A"> </span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A">$ srun --mpi=pmix_v3 -N5 date</span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A">srun: error: task 1 launch failed: Invalid MPI plugin name</span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A">srun: error: task 2 launch failed: Invalid MPI plugin name</span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A">srun: error: task 3 launch failed: Invalid MPI plugin name</span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A">srun: error: task 4 launch failed: Invalid MPI plugin name</span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A">srun: error: task 0 launch failed: Invalid MPI plugin name</span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A"> </span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A">$ srun --mpi=pmi2 -N5 date</span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A">Fri Dec  4 13:52:39 EST 2020</span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A">Fri Dec  4 13:52:39 EST 2020</span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A">Fri Dec  4 13:52:39 EST 2020</span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A">Fri Dec  4 13:52:39 EST 2020</span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A">Fri Dec  4 13:52:39 EST 2020</span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A"> </span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A"> </span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A">openpmix:</span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A">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><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A"> </span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A">Slurm 20.11.0:</span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A">rpmbuild --define "_with_pmix --with-pmix=/fs/local/pmix-3.2.1" -ta slurm-20.11.0.tar.bz2</span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A">From config.log:</span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A">./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><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A"> </span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A">Open MP 4.0.5:
</span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A">./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><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-size:5.0pt;font-family:"Helvetica Neue";color:white">-- </span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<div>
<p class="yiv8648130390msonormal"><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:black"> </span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:black">Philip J. Yuengling</span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
<p class="yiv8648130390msonormal"><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:black">Johns Hopkins University</span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
</div>
</div>
</blockquote>
</blockquote>
</div>
<p class="yiv8648130390msonormal"><span style="font-family:"Helvetica Neue";color:#26282A">-->
</span><span style="font-size:10.0pt;font-family:"Helvetica Neue";color:#26282A"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>