[mpich-discuss] mpiexec and LSF

Pavan Balaji balaji at mcs.anl.gov
Fri Feb 18 09:58:18 CST 2011


On 02/18/2011 03:11 AM, Dr.Peer-Joachim Koch wrote:
> We are using LSF as batch system. Unfortunately the syntax of
> mpiexec has changed. The LSF wrapper script is creating a
> command line for mpiexec in the following form:
>
> mpiexec -n 1 -host foo master : -n 4 -host mysmp slave

You can use:

% mpiexec -n 1 ./master : -n 4 ./slave

> What would be the correct syntax for the new mpiexec ?
> -host ->  -hosts   thats clear, but how should the
>    master slave syntax correct using the new mpiexec ?
>
> Also I saw the option "-rmk lsf" - what is the advantage
> and how can I use it in the LSF context ?

Using the LSF RMK will allow mpiexec to automatically query for the 
allocated nodes. So you don't need to provide the hosts.

Btw, even if you don't provide -rmk lsf, mpiexec will try to auto-detect 
LSF anyway.

  -- Pavan

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


More information about the mpich-discuss mailing list