[mpich-discuss] error running mpi program

Charles Sartori charles.sartori at gmail.com
Fri Oct 28 19:30:12 CDT 2011


Pavan, i guess mpiexec -f machinefile -n 10 /bin/hostname works fine

pexe-note at pexe-note:~$ mpiexec -f machinefile -n 10 /bin/hostname
> pexe-note
> pexe-note
> pexe-note
> pexe-note
> pexe-note
> pexe-pc
> pexe-pc
> pexe-pc
> pexe-pc
> pexe-pc
> pexe-note at pexe-note:~$
>

hellow exemple now is working fine too:

pexe-note at pexe-note:~$ mpiexec -f machinefile -n 10
./mpich2-1.4/examples/hellow
Hello world from process 0 of 10
Hello world from process 6 of 10
Hello world from process 8 of 10
Hello world from process 3 of 10
Hello world from process 9 of 10
Hello world from process 1 of 10
Hello world from process 5 of 10
Hello world from process 2 of 10
Hello world from process 4 of 10
Hello world from process 7 of 10
pexe-note at pexe-note:~$

machinefile in both examples:

pexe-pc
> pexe-note
>


but the problem with cpi example is the same (using pexe-note)...

2011/10/28 Pavan Balaji <balaji at mcs.anl.gov>

>
> Please keep mpich-discuss cc'ed.
>
> Apart from the fact that something is wrong with pexe-note, it's hard to
> guess anything else from the below error message.
>
> Does a non-MPI program such as /bin/hostname work correctly?
>
> % mpiexec -f machinefile -n 10 /bin/hostname
>
>  -- Pavan
>
>
-- 
*Charles Sartori
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20111028/c867ad93/attachment.htm>


More information about the mpich-discuss mailing list