<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16608" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=468420014-06052008>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=468420014-06052008> As you mentioned in your email you should *right*
job laucher (mpirun for MPICH & mpiexec for MPICH2) to run MPI
apps.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=468420014-06052008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=468420014-06052008>Regards,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=468420014-06052008>Jayesh</SPAN></FONT></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Ben Tay [mailto:zonexo@gmail.com]
<BR><B>Sent:</B> Tuesday, May 06, 2008 2:00 AM<BR><B>To:</B> Jayesh
Krishna<BR><B>Subject:</B> Re: [mpich-discuss] Error with MPI - set
PATH<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Hi Jayesh,</DIV>
<DIV> </DIV>
<DIV>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:</DIV>
<DIV> </DIV>
<DIV>Process
0 of
2 is alive<BR>Enter the number of intervals: (0
quits)<BR> Process 1
of 2
is alive</DIV>
<DIV> </DIV>
<DIV>However, if I use mpiexec from MPICH2, I will get the error:</DIV>
<DIV> </DIV>
<DIV>Process
0 of
1 is alive<BR>Enter the number of intervals: (0
quits)<BR> Process
0 of
1 is alive<BR>Enter the number of intervals: (0 quits)</DIV>
<DIV> </DIV>
<DIV>Similarly, if I compile using MPICH2 and execute using mpirun, I will get
the same error. </DIV>
<DIV> </DIV>
<DIV>Does it mean that I must use MPICH with mpirun and MPICH2 with mpiexec
strictly?</DIV>
<DIV> </DIV>
<DIV>Or is there something wrong with my code/installation?</DIV>
<DIV> </DIV>
<DIV>Thank you.</DIV>
<DIV> </DIV>
<DIV>Regards</DIV></BODY></HTML>