Hi Trevor,

Using PMI2 is recommended as it provides better  job startup performance
compared to PMI1.

To configure MVAPICH2 to use PMI2 and Slurm, use
./configure --with-pmi=pmi2 --with-pm=slurm

To run using PMI2, you should use something like
srun --mpi=pmi2 -N 2 -n 4 ./a.out

For more details, you can refer to the MVAPICH2 userguide.
http://mvapich.cse.ohio-state.edu/static/media/mvapich/mvapich2-2.1-userguide.html#x1-100004.3.2

Thanks,
Sourav


On Sat, Jun 27, 2015 at 8:01 PM, Trevor Gale <[email protected]> wrote:

>
> Hello all,
>
> I am currently working on installing MVAPICH2 to work with slurm on my
> test cluster. I noticed in the documentation your given the option to
> install with PMI1 or PMI2 support and wanted to ask to see if anyone has
> any recommendation as to which is better. I am new to MPI and would
> appreciate any tips!
>
> Thanks,
> Trevor
>

Reply via email to