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 > <email@example.com> 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: Leaving directory > `/usr/local/src/openmpi/openmpi-3.1.2/opal/mca/pmix/pmix2x' > make: Leaving directory > `/usr/local/src/openmpi/openmpi-3.1.2/opal/mca/pmix/pmix2x' > Making all in mca/pmix/s1 > make: 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: *** [mca_pmix_s1_la-pmix_s1.lo] Error 1 > make: Leaving directory > `/usr/local/src/openmpi/openmpi-3.1.2/opal/mca/pmix/s1' > make: *** [all-recursive] Error 1 > make: 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 > firstname.lastname@example.org > https://lists.open-mpi.org/mailman/listinfo/users > > > _______________________________________________ > users mailing list > email@example.com > https://lists.open-mpi.org/mailman/listinfo/users _______________________________________________ users mailing list firstname.lastname@example.org https://lists.open-mpi.org/mailman/listinfo/users