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

Shineman, Nat shineman.5 at osu.edu
Tue Sep 12 09:41:48 EDT 2023


Hi Anton,

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.

Thanks,
Nat
________________________________
From: Mvapich-discuss <mvapich-discuss-bounces at lists.osu.edu> on behalf of Shterenlikht, Anton via Mvapich-discuss <mvapich-discuss at lists.osu.edu>
Sent: Friday, September 8, 2023 08:29
To: mvapich-discuss at lists.osu.edu <mvapich-discuss at lists.osu.edu>
Subject: [Mvapich-discuss] build with pmix fails with - fatal error: pmi.h: No such file or directory

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 --------------
An HTML attachment was scrubbed...
URL: <http://lists.osu.edu/pipermail/mvapich-discuss/attachments/20230912/32784406/attachment-0002.html>


More information about the Mvapich-discuss mailing list