Hello Chris,

If I remember correctly when building Slurm, the `make install` does not
build the PMI2 interface, but if you change directories to
<SLURM_SRC>/contrib/pmi2 and issue the `make && make install` it will
should build and install the necessary support for PMI2 support. That¹s
what I¹ve done for use with the MVAPICH2 package on our system and it
works.

Best,
-- 
Jared Baker




On 9/1/15, 8:56 PM, "Christopher Samuel" <[email protected]> wrote:

>
>Hi all,
>
>We're bringing up a new cluster with Slurm 14.11.8 and in building
>OpenMPI 1.10 for it I've noticed that the FAQ for OpenMPI with PMI2
>says:
>
># Yes, if you have configured OMPI --with-pmi=foo, where foo is
># the path to the directory where pmi.h/pmi2.h is located.
># Slurm (> 2.6, > 14.03) installs PMI-2 support by default.
>
>and the Open-MPI README file says:
>
>--with-pmi
>Build PMI support (by default, it is not built). If the pmi2.h
>header is found in addition to pmi.h, then support for PMI2 will be
>built.
>
>However, that doesn't seem to be true for Slurm 14.11.8, there appears
>to be no pmi2.h installed by "make install" and indeed there is a
>contrib/pmi2 directory instead that has the pmi2.h header file and API
>which appears to need manual intervention to install.
>
>Has there been some misunderstanding about PMI2 in Slurm?
>
>All the best,
>Chris
>-- 
> Christopher Samuel        Senior Systems Administrator
> VLSCI - Victorian Life Sciences Computation Initiative
> Email: [email protected] Phone: +61 (0)3 903 55545
> http://www.vlsci.org.au/      http://twitter.com/vlsci

Reply via email to