[mvapich-discuss] mpiexec problem

Matthew Koop koop at cse.ohio-state.edu
Tue Jun 27 10:43:08 EDT 2006


Norm,

I don't see anything wrong with what you are doing. Do you see this
behavior when you run the examples/cpi program? It will print out the
current hostname (as well as a calculation of pi).

[koop at e10-oib mv2]$ ./bin/mpdtrace
e10-oib
e11-oib
[koop at e10-oib mv2]$ ./bin/mpiexec -np 2 hostname
e10-oib
e11-oib
[koop at e10-oib mv2]$ ./bin/mpiexec -np 2 examples/cpi
Process 1 of 2 is on e11-oib
Process 0 of 2 is on e10-oib
pi is approximately 3.1415926544231318, Error is 0.0000000008333387
wall clock time = 0.000216

Please let us know if the issue occurs here or not.

Thanks,
Matt

-
Network-Based Computing Laboratory
Ohio State University



On Tue, 27 Jun 2006, Taylor, Norm R. wrote:

> Hi,
>   I am running MVAPICH2-0.9.3, and am having some problems with
> 'mpiexec'.
>
> I start an mpd on 2 nodes using 'mpdboot -n 2'. I verify correct startup
> using 'mpdtrace', and it prints out 2 lines: 'mpi13' and 'mpi10', which
> are the names of the 2 nodes in the daemon ring. I can then type
> 'mpiexec -n 2 hostname', and it prints out the correct 2 node names
> again, mpi13 and mpi10. Now I use 'mpiexec' to run a small C program
> that simply gets and prints the node name on which it's running. The
> command is 'mpiexec -n 2 /home/nrt/bin/chkpp'. In this case it prints
> 'mpi13' twice, so both instances of the program were started on 'mpi13',
> where it should have been 1 on mpi13 and 1 on mpi10. Am I doing
> something wrong here?
>
> thanks,
>   NT
>
>
> Norm Taylor
> Zeta Associates Inc.
> taylor-norm at zai.com
>
> _______________________________________________
> mvapich-discuss mailing list
> mvapich-discuss at cse.ohio-state.edu
> http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
>





More information about the mvapich-discuss mailing list