If you are using a recent (as in v16.05 or greater) version of SLURM, then you can also build it with the PMIx support and use that for OpenMPI - it will launch faster
> On Jul 21, 2017, at 7:12 AM, Paul Edmon <[email protected]> wrote: > > > I would build MPI using the pmi libraries and slurm with pmi support. Then > you can launch any version of MPI using the same srun command and leveraging > pmi. > > -Paul Edmon- > > > On 07/21/2017 10:03 AM, Manuel RodrÃguez Pascual wrote: >> Hi all, >> >> I'm trying to provide support to users demanding different versions of >> MPI, namely mvapich2 and OpenMPI. In particular, I'd like to support >> "srun -n X ./my_parallel_app", maybe with "--with-mpi=X" flag. >> >> >> Has anybody got any suggestion on how to do that? I'm am kind of new >> to cluster administration, so probably there is some obvious solution >> that I am not aware of. >> >> Cheers, >> >> >> Manuel
