[petsc-dev] [mpich-discuss] turning off MPI abort messages

Jim Dinan james.dinan at gmail.com
Thu Feb 20 15:19:02 CST 2014


If you can find a way to call MPI_Finalize instead, you will portably
eliminate these messages.

A lesser solution would be to provide an error code of 0 (or MPI_SUCCESS)
to MPI_Abort, e.g. MPI_Comm_abort(MPI_COMM_WORLD, MPI_SUCCESS).  This would
eliminate the error message that you are getting from the job launcher.
 MPICH could be modified to be quiet about the abort when the application
aborts with an error code of MPI_SUCCESS.

 ~Jim.


On Thu, Feb 20, 2014 at 12:33 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:

>
>    Is there any way to turn off MPICH (and others) printing messages about
> MPI_Abort?  We have already prepared and presented useful error messages to
> the user about the situation and would like to avoid having these
> additional messages printed (that often make the situation look worse than
> it is)
>
>     Thanks
>
>    Barry
>
> application called MPI_Abort(MPI_COMM_WORLD, 56) - process 0
> [cli_0]: aborting job:
> application called MPI_Abort(MPI_COMM_WORLD, 56) - process 0
>
> ==================================================================mailto:
> discuss at mpich.org=================
> =   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
> =   EXIT CODE: 56
> =   CLEANING UP REMAINING PROCESSES
> =   YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
>
> ===================================================================================
>
>
>
>
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20140220/1b574d8a/attachment.html>


More information about the petsc-dev mailing list