Hi Yann & Andreas,
We removed --disable-dlopen from OpenMPI easyconfigs in EasyBuild
v3.6.0, although it was for reasons other than SLURM compatibility (it
was due to performance issues).
See https://github.com/easybuilders/easybuild-easyconfigs/pull/6060 for
more info.
regards,
Kenneth
On 08/05/2018 19:40, Henkel, Andreas wrote:
Dear Yann,
I recently opened an issue at github for openmpi since I saw a PMI2_init
fail, too. For now, it boiled down to the option --disable-dlopen, which
is in the easyconfig I think and --disable-dlopen as well as
--enable-static imply f--disable-mca-dso. Anyways, if you remove the
--disable-dlopen from the config-opts (and/or enable-static) and rebuild
OpenMpi it should work.
(https://github.com/open-mpi/ompi/issues/4338#issuecomment-384578916)
Best,
Andreas
------------------------------------------------------------------------
*Von:* [email protected]
<[email protected]> im Auftrag von Yann Sagon
<[email protected]>
*Gesendet:* Dienstag, 8. Mai 2018 17:40:12
*An:* [email protected]
*Betreff:* [easybuild] foss/2018a pmi slurm
Dear list,
I installed foss/2018a without slurm specific flags (because I forgot)
and then I recompiled only openmpi with the following flags :
--with-slurm --with-pmi
I think there is no need to recompile something else, but I may be
mistaken. When I try to submit a job using srun, I have the error about
pmi etc.
PMI2_Init failed to intialize. Return code: 1
In slurm.conf, I have the following directive: MpiDefault=pmi2
I'm using slurm 17.11.5
According to ldd $(which mpirun)
mpirun is using
[...]
libpmi.so.0 => /usr/lib64/libpmi.so.0 (0x00002b53dec26000)
libpmi2.so.0 => /usr/lib64/libpmi2.so.0 (0x00002b53dee2b000)
libmunge.so.2 => /usr/lib64/libmunge.so.2 (0x00002b53df044000)
libslurm.so.32 => /usr/lib64/libslurm.so.32 (0x00002b53e0683000)
[...]
rpm -qf /usr/lib64/libslurm.so.32
slurm-17.11.5-1.el6.x86_64
rpm -qf /usr/lib64/libpmi.so.0
slurm-17.11.5-1.el6.x86_64
rpm -qf /usr/lib64/libpmi2.so.0
slurm-17.11.5-1.el6.x86_64
rpm -qf /usr/lib64/libmunge.so.2
munge-libs-0.5.10-1.el6.x86_64
Is there someone who can confirm that foss/2018a is compatible with
slurm 17.11.5?
Best