Hi Joachim,
On 14/01/16 18:44, Joachim Hein wrote:
Hi,
To build openmpi for a slurm cluster, it seems that building pmi
support into OpenMPI is “preferred”. See
http://slurm.schedmd.com/mpi_guide.html#open_mpi. When building
openmpi 1.8.8 with easybuild, that seems not specified on the
configure. Looking into the output from the build, it seems that pmi
is also not used by the build.
I was looking into the docs to see the “preferred” way of massaging
this, such that the openmpi could be used e.g. in a toolchain, but
didn’t find a useful chapter so far. May I please get a pointer?
To customize the OpenMPI included in whichever toolchain you're using,
you can copy the correspondig easyconfig file for OpenMPI, and add or
modify the "configopts" parameter value to add "--with-pmi", and then
install OpenMPI using that easyconfig file.
You can figure out which OpenMPI is used to install the toolchain of
your choice using "eb <toolchain>.eb --robot --dry-run", see also
http://easybuild.readthedocs.org/en/latest/Using_the_EasyBuild_command_line.html#get-an-overview
.
Let us know whether this helps.
regards,
Kenneth