> On Jun 20, 2019, at 12:25 PM, Carlson, Timothy S <[email protected]>
> wrote:
>
> As of recent you needed to use --with-slurm and --with-pmi2
>
> While the configure line indicates it picks up pmi2 as part of slurm that is
> not in fact true and you need to specifically tell it about pmi2
When I do “./configure —help” there’s no mention of any option related to pmi2
except the description of —with-pmi-libdir, which I set to /usr/lib64, which
contains both libpmi and libpmi2. I tried to pass —with-pmi2 in anyway, and got
configure: WARNING: unrecognized options: --with-pmi2
I tried “make V=1”, and this is the command that fails. Note that it doesn’t
have any reference to the /usr/include/slurm directory I passed to configure in
—with-pmi
libtool: compile: gcc -std=gnu99 -std=gnu99 -DHAVE_CONFIG_H -I.
-I../../../../opal/include -I../../../../ompi/include
-I../../../../oshmem/include
-I../../../../opal/mca/hwloc/hwloc201/hwloc/include/private/autogen
-I../../../../opal/mca/hwloc/hwloc201/hwloc/include/hwloc/autogen
-I../../../../ompi/mpiext/cuda/c -I../../../.. -I../../../../orte/include
-I/home_tin/bernadm/configuration/110_compile_mpi/OpenMPI/openmpi-4.0.1/opal/mca/event/libevent2022/libevent
-I/home_tin/bernadm/configuration/110_compile_mpi/OpenMPI/openmpi-4.0.1/opal/mca/event/libevent2022/libevent/include
-I/home_tin/bernadm/configuration/110_compile_mpi/OpenMPI/openmpi-4.0.1/opal/mca/hwloc/hwloc201/hwloc/include
-O3 -DNDEBUG -finline-functions -fno-strict-aliasing -mcx16 -pthread -MT
mca_pmix_s1_la-pmix_s1.lo -MD -MP -MF .deps/mca_pmix_s1_la-pmix_s1.Tpo -c
pmix_s1.c -fPIC -DPIC -o .libs/mca_pmix_s1_la-pmix_s1.o
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
_______________________________________________
users mailing list
[email protected]
https://lists.open-mpi.org/mailman/listinfo/users