Hi Trey,

To use SLURM+PMI2 with MVAPICH2 you should configure it using "./configure
--with-pmi=pmi2 --with-pm=slurm" and run it like "srun --mpi=pmi2 -n 2
./a.out".

Thanks,
Sourav


On Mon, Apr 20, 2015 at 2:13 PM, Trey Dockendorf <[email protected]> wrote:

>  Just a heads up to anyone who uses MVAPICH2 with srun.  The 2.1 docs for
> MVAPICH2 have new configure flag values since 2.1 supports PMI-2 with
> SLURM.  If you build MVAPICH2 2.1 with SLURM support and then use srun with
> "--mpi=none" I've found things don't go well.  The steps to use srun with
> MVAPICH2 2.1 appear to be identical to that of OpenMPI.  We have set
> MpiDefault=pmi2 which will not "just work" for MVAPICH2 2.1.
>
> - Trey
>
> =============================
>
> Trey Dockendorf
> Systems Analyst I
> Texas A&M University
> Academy for Advanced Telecommunications and Learning Technologies
> Phone: (979)458-2396
> Email: [email protected]
> Jabber: [email protected]
>

Reply via email to