[mpich-discuss] Error with MPI - mpirun+MPICH mpiexec+MPICH2

Jayesh Krishna jayesh at mcs.anl.gov
Tue May 6 09:02:30 CDT 2008


Hi,
 As you mentioned in your email you should *right* job laucher (mpirun for
MPICH & mpiexec for MPICH2) to run MPI apps.
 
Regards,
Jayesh

  _____  

From: Ben Tay [mailto:zonexo at gmail.com] 
Sent: Tuesday, May 06, 2008 2:00 AM
To: Jayesh Krishna
Subject: Re: [mpich-discuss] Error with MPI - set PATH


Hi Jayesh,
 
I have installed both MPICH and MPICH2. When I compile using MPICH (with
PETSc), I can run my code successfully with 2 processes with mpirun:
 
Process            0  of            2  is alive
Enter the number of intervals: (0 quits)
 Process            1  of            2  is alive
 
However, if I use mpiexec from MPICH2, I will get the error:
 
Process            0  of            1  is alive
Enter the number of intervals: (0 quits)
 Process            0  of            1  is alive
Enter the number of intervals: (0 quits)
 
Similarly, if I compile using MPICH2 and execute using mpirun, I will get
the same error. 
 
Does it mean that I must use MPICH with mpirun and MPICH2 with mpiexec
strictly?
 
Or is there something wrong with my code/installation?
 
Thank you.
 
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20080506/481c8463/attachment.htm>


More information about the mpich-discuss mailing list