[Mvapich-discuss] build with pmix fails with - fatal error: pmi.h: No such file or directory

Shterenlikht, Anton shterenlikht at par-tec.com
Fri Sep 8 08:29:09 EDT 2023


Hello

I configure mvapich 3.0b with:

--with-pm=slurm \
--with-pmi=pmix \
--with-pmix=<my install> \
--with-hwloc=<my install>

and get:

./src/include/upmi.h:20:10: fatal error: pmi.h: No such file or directory

pmix package does not install "pmi.h", only "pmix.h"

Why is pmi.h needed in upmi.h?

 18 #ifdef USE_PMIX_API
 19 #include <pmix.h>
 20 #include <pmi.h>


And if pmi.h is really needed when using pmix,
why not check for it at configure stage?

I see only these checks:

1164 checking pmix.h usability... yes
1165 checking pmix.h presence... yes
1166 checking for pmix.h... yes
1167 checking for PMIx_Init in -lpmix... yes


How can I build mvapich with pmix?

Thank you

Anton
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4390 bytes
Desc: not available
URL: <http://lists.osu.edu/pipermail/mvapich-discuss/attachments/20230908/e56acce4/attachment-0002.p7s>


More information about the Mvapich-discuss mailing list