[mpich-discuss] mpiexec and -n option

Jain, Rohit Rohit_Jain at mentor.com
Tue Aug 16 14:48:46 CDT 2011


Hi Pavan,

Another question on running with host file. 
I want to run 3 processes on 3 different machines:

I run:
	mpiexec -f host_file a1.out : a2.out : a3.out

host_file:
mach1
mach2
mach3

or 

mach1:1
mach2:1
mach3:1

It starts 3 processes on all 3 machines:

#     Proxy information:
#     *********************
#       [1] proxy: mach1 (1 cores)
#       Exec list: a1.out (1 processes); a2.out (1 processes); a3.out (1 processes);
#
#       [2] proxy: mach2 (1 cores)
#       Exec list: a1.out (1 processes); a2.out (1 processes); a3.out (1 processes);
#
#       [3] proxy: mach3 (1 cores)
#       Exec list: a1.out (1 processes); a2.out (1 processes); a3.out (1 processes);

What am I doing wrong?

Regards,
Rohit





More information about the mpich-discuss mailing list