[mpich-discuss] return() or exit() from int main() (NOT MPICH SPECIFIC)

Michael L. Stokes Michael.Stokes at uah.edu
Thu Apr 9 11:36:44 CDT 2015


This question is not MPICH specific, but I'm sure the expertise is here 
to answer this question.

While running tests on spirit.afrl.hpc.mil (SGI ICE X) using the 
MPT/2.11 stack, I noticed that mpirun returns 0 to the shell regardless 
of the exit value ( <stdlib.h> exit(int) ), or the return value 
(return(int)) from the main.

Would this behavior be regarded as an error?  What are the issues?

--Mike
_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list