On Jun 14, 2019, at 2:02 PM, Noam Bernstein via users 
<users@lists.open-mpi.org> wrote:
> 
> Hi Jeff - do you remember this issue from a couple of months ago?  

Noam: I'm sorry, I totally missed this email.  My INBOX is a continual 
disaster.  :-(

> Unfortunately, the failure to find pmi.h is still happening.  I just tried 
> with 4.0.1 (not rc), and I still run into the same error (failing to find 
> #include <pmi.h> when compiling opal/mca/pmix/s1/mca_pmix_s1_la-pmix_s1.lo):
> make[2]: Entering directory 
> `/home_tin/bernadm/configuration/110_compile_mpi/OpenMPI/openmpi-4.0.1/opal/mca/pmix/s1'
>   CC       mca_pmix_s1_la-pmix_s1.lo
> pmix_s1.c:29:17: fatal error: pmi.h: No such file or directory
>  #include <pmi.h>
>                  ^
> compilation terminated.
> make[2]: *** [mca_pmix_s1_la-pmix_s1.lo] Error 1
> make[2]: Leaving directory 
> `/home_tin/bernadm/configuration/110_compile_mpi/OpenMPI/openmpi-4.0.1/opal/mca/pmix/s1'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory 
> `/home_tin/bernadm/configuration/110_compile_mpi/OpenMPI/openmpi-4.0.1/opal'
> make: *** [all-recursive] Error 1

I looked back earlier in this thread, and I don't see the version of SLRUM that 
you're using.  What version is it?

Is there a pmi2.h in the SLURM installation (i.e., not pmi.h)?

Or is the problem that -I/usr/include/slurm is not passed to the compile line 
(per your output, below)?

> When I dig into what libtool is trying to do, I get (once I remove the 
> —silent flag):

(FWIW, you can also "make V=1" to have it show you all this detail)

-- 
Jeff Squyres
jsquy...@cisco.com

_______________________________________________
users mailing list
users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/users

Reply via email to