Yes, I was just wondering about the path as specified, --with-pmi=/usr/local/slurm/include/slurm
What do you get from $ find /usr/local/slurm -name pmi.h On Wed, Oct 10, 2018 at 2:07 PM Ross, Daniel B. via users < users@lists.open-mpi.org> wrote: > This is a slurm build and you point it to the slurm pmi directories. > > > ------------------------------ > *From:* users <users-boun...@lists.open-mpi.org> on behalf of Bennet > Fauber <ben...@umich.edu> > *Sent:* Wednesday, October 10, 2018 1:14 PM > *To:* users@lists.open-mpi.org > *Subject:* Re: [OMPI users] issue compiling openmpi 3.2.1 with pmi and > slurm > > 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 Info Page - Open MPI > <https://lists.open-mpi.org/mailman/listinfo/users> > lists.open-mpi.org > General user information and questions about Open MPI. ==> Users Archives > Using users: To post a message to all the list members, send email to > users@lists.open-mpi.org. You can subscribe to the list, or change your > existing subscription, in the sections below. > > > > > > > > _______________________________________________ > > 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
_______________________________________________ users mailing list users@lists.open-mpi.org https://lists.open-mpi.org/mailman/listinfo/users