[mpich-discuss] mpirun not running in batch mode.

Lu, Huiwei huiweilu at mcs.anl.gov
Wed Jun 11 10:02:10 CDT 2014


You need to create a machinefile to run mpi program on multiple machines.

For example, if the machinefile is:

host1
host2
host3
host4

Using 'mpirun -n 4 -f machinefile ./rams60 …’ will create 4 rams60 processes on the above 4 hosts (host1, host2, host3 and host4) separately.

See http://www.mpich.org/static/downloads/3.1.1/mpich-3.1.1-userguide.pdf section 5.

—
Huiwei

On Jun 11, 2014, at 10:05 AM, Francisco Pastor <paco at ceam.es> wrote:

> The relevant part of the script (RAMS_operatiu.bash) is
> 
> $ruta_mpi/mpirun -n 40 ./rams60 -f /home/meteo/RAMS/RUN/RAMSIN.operatiu > $log-INITIAL-$hoy-$horasim
> cat $log-INITIAL-$hoy-$horasim >> $log




More information about the discuss mailing list