Hi, In
OpenMPI-4.0.2-GCC-9.2.0-2.32.eb it says # to enable SLURM integration (site-specific) # configopts += '--with-slurm --with-pmi=/usr/include/slurm --with-pmi-libdir=/usr' Regarding the Slurm option, here https://www.open-mpi.org/faq/?category=building#build-rte it says Slurm support is built automatically; there is nothing that you need to do. Admittedly here https://www.open-mpi.org/faq/?category=slurm it also says 1. How do I run jobs under Slurm? The short answer is yes, provided you configured OMPI --with-slurm. Apart from the fact that 'yes' is not a good answer to the question, I feel that the information regarding '--with-slurm' may be outdated. Regarding PMI, for OpenMPI 4.0.2 ./config --help says --with-pmix(=DIR) Build PMIx support. DIR can take one of three values: "internal", "external", or a valid directory name. "internal" (or no DIR value) forces Open MPI to use its internal copy of PMIx. "external" forces Open MPI to use an external installation of PMIx. Supplying a valid directory name also forces Open MPI to use an external installation of PMIx, and adds DIR/include, DIR/lib, and DIR/lib64 to the search path for headers and libraries. Note that Open MPI does not support --without-pmix. In the past the problem was that both PMIX and Slurm packages tried to install PMI1 and PMI2 libraries into the same location. Slurm now creates a separate package with these libraries and it is possible to build PMIX in such a way that libpmi.so and libpmi2.so end up in a separate package. The separate pmix-libpmi package installs the headers pmi.h and pmi2.h to /usr/include whereas slurm-devel installs them to /usr/include/slurm Therefore I think the advice in the EC should be more like # If the PMI{1,2} libraries from Slurm, rather than those from PMIx # have been installed (site-specific), use the the following # configopts += '--with-pmi=/usr/include/slurm' Is this correct? Cheers, Loris -- Dr. Loris Bennett (Mr.) ZEDAT, Freie Universität Berlin Email [email protected]

