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

Jeff Hammond jeff.science at gmail.com
Thu Apr 9 12:26:23 CDT 2015


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
<Michael.Stokes at uah.edu> 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     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss



-- 
Jeff Hammond
jeff.science at gmail.com
http://jeffhammond.github.io/
_______________________________________________
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