<div dir="ltr"><div class="markdown-here-wrapper" style=""><p style="margin:0px 0px 1.2em!important">Hi Hui, </p>
<p style="margin:0px 0px 1.2em!important">I tried setting <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline">LIBRARY_PATH</code> to <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline">/lib64</code> but that didn’t help (neither did setting it <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline">/usr</code>). I’m attaching the build logs again (the build-env logs do indeed confirm that <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline">LIBRARY_PATH</code> was set).</p>
<p style="margin:0px 0px 1.2em!important">I tried building MPICH against my own pmix library and everything works. (But this pmix is local to my home directory and not linked to slurm). Inspecting the build-env log from the successful build, I see that the libevent’s location is absent from <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline">LIBRARY_PATH</code> but is present in the <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline">SPACK_INCLUDE/LINK/RPATH_DIRS</code> (and also in pkg-config/cmake paths which I’m guessing isn’t relevant here) which are used by spack’s compiler wrapper to ensure correct include/link/rpath settings.</p>
<p style="margin:0px 0px 1.2em!important">My task right now is to test the installation of mpi libraries with pmix/ucx on a small test cluster before we deploy it on the production cluster at my campus so it’s not of the highest concern to me that MPICH won’t link to a pmix library that doesn’t have rpaths enabled. I’ll ask the sysadmins to rebuild pmix with rpath support and try if that works. If it does, I’ll reply to this thread either asking for help again or indicating that it succeeds (whereby it can (hopefully) serve as a reference for others facing the same issue in the future).<br><br></p>
<p style="margin:0px 0px 1.2em!important">Thank You,<br>Sajid Ali | PhD Candidate<br>Applied Physics<br>Northwestern University<br><a href="http://s-sajid-ali.github.io">s-sajid-ali.github.io</a></p>
<div title="MDH:PGRpdj5IaSBIdWksIDxicj48YnI+PC9kaXY+SSB0cmllZCBzZXR0aW5nIGBMSUJSQVJZX1BBVEhg
IHRvIGAvbGliNjRgIGJ1dCB0aGF0IGRpZG4ndCBoZWxwIChuZWl0aGVyIGRpZCBzZXR0aW5nIGl0
IGAvdXNyYCkuIEknbSBhdHRhY2hpbmcgdGhlIGJ1aWxkIGxvZ3MgYWdhaW4gKHRoZSBidWlsZC1l
bnYgbG9ncyBkbyBpbmRlZWQgY29uZmlybSB0aGF0IGBMSUJSQVJZX1BBVEhgIHdhcyBzZXQpLjxi
cj48ZGl2PjxkaXY+PGJyPjwvZGl2PjxkaXY+SSB0cmllZCBidWlsZGluZyBNUElDSCBhZ2FpbnN0
IG15IG93biBwbWl4IGxpYnJhcnkgYW5kIGV2ZXJ5dGhpbmcgd29ya3MuIChCdXQgdGhpcyBwbWl4
IGlzIGxvY2FsIHRvIG15IGhvbWUgZGlyZWN0b3J5IGFuZCBub3QgbGlua2VkIHRvIHNsdXJtKS4g
SW5zcGVjdGluZyB0aGUgYnVpbGQtZW52IGxvZyBmcm9tIHRoZSBzdWNjZXNzZnVsIGJ1aWxkLCBJ
IHNlZSB0aGF0IHRoZSBsaWJldmVudCdzIGxvY2F0aW9uIGlzIGFic2VudCBmcm9tIGBMSUJSQVJZ
X1B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