[mpich-discuss] srun env passing

Pavan Balaji balaji at mcs.anl.gov
Mon Feb 4 11:21:21 CST 2013


On 02/04/2013 11:16 AM US Central Time, Dave Goodell wrote:
> Try rebuilding your MPICH omitting the "--with-pmi=slurm".  Instead,
> you can use hydra's built-in support for slurm.  Some information is
> available here:
> http://wiki.mpich.org/mpich/index.php/Using_the_Hydra_Process_Manager
>
>  I can't remember exactly what will be auto detected and what won't
> (Pavan, can you help me out here?).  You might need to set these
> environment variables:
> 
> HYDRA_LAUNCHER=slurm HYDRA_RMK=slurm
> 
> Then use "mpiexec" instead of "srun".

Everything is auto-detected for slurm.  You don't have to set anything.

 -- Pavan

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji



More information about the discuss mailing list