On 03/09/15 02:52, Moe Jette wrote:

> "srun --mpi=list" is listing the "mpi" type plugins that it finds the  
> installed based upon logic similar to the "ls" command below. Perhaps  
> you have an old mpi/pmi2 plugin file or some permission problem with it?

OK - done some more experimenting so far on this side.

---------------------------------------------------------

tl;dr version:

A "make install" in the top level Slurm source directory appears to
install the files needed for srun to report pmi2 available, without the
pmi2 plugin itself being present.

---------------------------------------------------------

Longer version:

Step 1: I removed all files called *pmi2* in the install tree and
confirmed that srun --mpi=list no longer reports pmi2 as an option.


Step 2: A "make install" from the contribs/pmi2 directory does not make
srun --mpi=list report pmi2 as present (and strace confirms no pmi2
files being open()'d or stat()'d).

So I removed all the pmi2 files again.


Step 3: A "make install" from the Slurm source directory (*not* the
contribs/pmi2 directory) results in pmi2 support being listed as present:

[samuel@snowy-m ~]$ srun --mpi=list
srun: MPI types are...
[...]
srun: mpi/pmi2
[...]

but of course the pmi2 plugin itself isn't installed yet.

This is because the vanilla "make install" installed the files:

[samuel@snowy-m ~]$ find /usr/local/slurm/latest/ -iname '*pmi2*'
/usr/local/slurm/latest/lib/slurm/mpi_pmi2.la
/usr/local/slurm/latest/lib/slurm/mpi_pmi2.a
/usr/local/slurm/latest/lib/slurm/mpi_pmi2.so

which is what srun looks for to know what to list.


That seems counter-intuitive, should those files be installed as a
result of the "make install" in the contribs/pi2 directory instead?


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