I thought the --with-pmi=/the/dir was meant to point to the top of a
traditional FHS installation of PMI; e.g., /opt/pmi with
subdirectories for bin, lib, include, man, etc.  It looks like this is
pointing only to the header file, based on the name.


On Wed, Oct 10, 2018 at 11:27 AM Ralph H Castain <r...@open-mpi.org> wrote:
>
> It appears that the CPPFLAGS isn’t getting set correctly as the component 
> didn’t find the Slurm PMI-1 header file. Perhaps it would help if we saw the 
> config.log output so we can see where OMPI thought the file was located.
>
>
> On Oct 10, 2018, at 6:44 AM, Ross, Daniel B. via users 
> <users@lists.open-mpi.org> wrote:
>
> I have been able to configure without issue using the following options:
> ./configure --prefix=/usr/local/ --with-cuda --with-slurm 
> --with-pmi=/usr/local/slurm/include/slurm 
> --with-pmi-libdir=/usr/local/slurm/lib64
>
> Everything compiles just fine until I get this error:
>
> make[3]: Leaving directory 
> `/usr/local/src/openmpi/openmpi-3.1.2/opal/mca/pmix/pmix2x'
> make[2]: Leaving directory 
> `/usr/local/src/openmpi/openmpi-3.1.2/opal/mca/pmix/pmix2x'
> Making all in mca/pmix/s1
> make[2]: Entering directory 
> `/usr/local/src/openmpi/openmpi-3.1.2/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 
> `/usr/local/src/openmpi/openmpi-3.1.2/opal/mca/pmix/s1'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/openmpi/openmpi-3.1.2/opal'
> make: *** [all-recursive] Error 1
>
>
> any ideas why I am getting this error?
> Thanks
>
> _______________________________________________
> users mailing list
> users@lists.open-mpi.org
> https://lists.open-mpi.org/mailman/listinfo/users
>
>
> _______________________________________________
> users mailing list
> users@lists.open-mpi.org
> https://lists.open-mpi.org/mailman/listinfo/users
_______________________________________________
users mailing list
users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/users

Reply via email to