Re: [mpich-discuss] return() or exit() from int main() (NOT MPICH SPECIFIC)
mpirun is not part of the MPI standard. This is something that you'll have to discuss with your MPI implementer at SGI. Best, Jeff On Thu, Apr 9, 2015 at 9:36 AM, Michael L. Stokes <[email protected]> wrote:
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 [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss
-- Jeff Hammond [email protected] http://jeffhammond.github.io/ _______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss
participants (1)
-
Jeff Hammond