LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Scott Morton (morton_at_[hidden])
Date: 2003-06-25 09:23:22


I have a question about the return code of the mpirun command.

While there isn't anything on return code in the lam-6.5.9 man page
for mpirun, in the mail archives there is a two-year old exchange
on the suject "mpirun return code" which said:

   mpirun returns the return code from the first process in the
   job that died with a non-zero exit status. In the case that
   all processes died with a zero exit status, mpirun returns 0.

Is this a supported feature of mpirun, i.e., can we count on this?
Or did this feature not reach the supported status because of
complications? For example, I would assume this behavior wouldn't
hold if the -nw flag is used:^)

Also does lamexec have the same feature?

Scott Morton