<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Hi Anton,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Thanks for reporting this issue. Looks like this is an issue with how we handle slurm's pmix installation. We will take a look at this and get back to you with an update.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Thanks,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Nat<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Mvapich-discuss <mvapich-discuss-bounces@lists.osu.edu> on behalf of Shterenlikht, Anton via Mvapich-discuss <mvapich-discuss@lists.osu.edu><br>
<b>Sent:</b> Friday, September 8, 2023 08:29<br>
<b>To:</b> mvapich-discuss@lists.osu.edu <mvapich-discuss@lists.osu.edu><br>
<b>Subject:</b> [Mvapich-discuss] build with pmix fails with - fatal error: pmi.h: No such file or directory</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hello<br>
<br>
I configure mvapich 3.0b with:<br>
<br>
--with-pm=slurm \<br>
--with-pmi=pmix \<br>
--with-pmix=<my install> \<br>
--with-hwloc=<my install><br>
<br>
and get:<br>
<br>
./src/include/upmi.h:20:10: fatal error: pmi.h: No such file or directory<br>
<br>
pmix package does not install "pmi.h", only "pmix.h"<br>
<br>
Why is pmi.h needed in upmi.h?<br>
<br>
18 #ifdef USE_PMIX_API<br>
19 #include <pmix.h><br>
20 #include <pmi.h><br>
<br>
<br>
And if pmi.h is really needed when using pmix,<br>
why not check for it at configure stage?<br>
<br>
I see only these checks:<br>
<br>
1164 checking pmix.h usability... yes<br>
1165 checking pmix.h presence... yes<br>
1166 checking for pmix.h... yes<br>
1167 checking for PMIx_Init in -lpmix... yes<br>
<br>
<br>
How can I build mvapich with pmix?<br>
<br>
Thank you<br>
<br>
Anton<br>
</div>
</span></font></div>
</body>
</html>