[mpich-discuss] mpiexec returns 0

Jayesh Krishna jayesh at mcs.anl.gov
Tue Sep 2 09:52:03 CDT 2008


Hmmm... not really. mpiexec provided with MPICH2 on windows returns the
last non-zero exit code (has nothing to do wether MPI_Finalize() was
called or not) returned from an MPI process associated with the job.
mpiexec also returns an error code if there is any error within mpiexec.
So if there is an error (in mpiexec OR in any MPI process) in the MPI job
you should be able to determine that by a non-zero return code from
mpiexec.
 
-Jayesh

  _____  

From: owner-mpich-discuss at mcs.anl.gov
[mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of Calin Iaru
Sent: Tuesday, September 02, 2008 3:23 AM
To: mpich-discuss at mcs.anl.gov
Subject: [mpich-discuss] mpiexec returns 0


I would like to have a confirmation that mpiexec would return 0 if all
processes called MPI_Finalize(). Based on return value, some test scripts
can be stopped instead of having the output parsed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20080902/6067b885/attachment.htm>


More information about the mpich-discuss mailing list