[mvapich-discuss] Readme mpiexec example is not working

Jonathan Perkins perkinjo at cse.ohio-state.edu
Mon Jun 6 13:15:04 EDT 2011


Bright:
I'm not sure why you're experiencing a problem using this syntax.  Are
you sure that the mpiexec that is in your path corresponds to
mvapich2-1.7a2?

You can use `which mpiexec' to verify the path.  Here is an example of
mpiexec usage from one of my installations.

[perkinjo at head examples]$ ../install/bin/mpiexec -f 2_8hosts -n 16 ./cpi
Process 9 of 16 is on node140.cluster
Process 1 of 16 is on node139.cluster
Process 11 of 16 is on node140.cluster
Process 3 of 16 is on node139.cluster
Process 12 of 16 is on node140.cluster
Process 4 of 16 is on node139.cluster
Process 13 of 16 is on node140.cluster
Process 5 of 16 is on node139.cluster
Process 14 of 16 is on node140.cluster
Process 6 of 16 is on node139.cluster
Process 15 of 16 is on node140.cluster
Process 7 of 16 is on node139.cluster
Process 8 of 16 is on node140.cluster
Process 0 of 16 is on node139.cluster
Process 10 of 16 is on node140.cluster
pi is approximately 3.1415926544231274, Error is 0.0000000008333343
wall clock time = 0.000078
Process 2 of 16 is on node139.cluster
[perkinjo at head examples]$ ../install/bin/mpiname -a
MVAPICH2 1.7a2 Fri Jun  3 17:23:24 EDT 2011 ch3:mrail

Compilation
CC: gcc    -DNDEBUG -DNVALGRIND -O2
CXX: c++   -DNDEBUG -DNVALGRIND -O2
F77: gfortran   -DNDEBUG -DNVALGRIND -O2
FC: f95   -DNDEBUG -DNVALGRIND -O2

Configuration
--prefix=/home/perkinjo/mvapich2-1.7a2/install

[perkinjo at head examples]$


On Mon, Jun 6, 2011 at 12:03 PM,  <bright.yang at vaisala.com> wrote:
> Hi,
>
>
>
>   I’m running the example of the latest Mvapich217 a2 release. The example
> in the readme file mpiexec -f machinefile -n <number> ./examples/cpi
>
>
>
> Is not working. It got error message like this –
>
> # mpiexec -f 2_12hosts -n 24 ./wrf.exe
>
> -file (-f) arg must appear alone
>
>
>
> Here is what’s in my hostfile 2_12hosts:
>
> compute-0-0:12
>
> compute-0-1:12
>
>
>
> Thanks!
>
>
>
> Bright Yang
>
> _______________________________________________
> mvapich-discuss mailing list
> mvapich-discuss at cse.ohio-state.edu
> http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
>
>



-- 
Jonathan Perkins
http://www.cse.ohio-state.edu/~perkinjo



More information about the mvapich-discuss mailing list