4c558ed637
help messages so that users only see the message once instead of N times when their MPI app crashes. Note that there is a tradeoff here -- we now call malloc in this particular "show the error" code path. This shouldn't usually be a problem, because the errors typically displayed through this mechanism are MPI API argument problems (e.g., sending a negative count to MPI_SEND), and not memory errors. But such API argument errors could be a consequence of of a prior memory error, so there's a nonzero chance that the error failure will fail to print because malloc failed. In this case, the user can disable help message aggregation (via the orte_base_want_aggregate MCA parameter) and we'll fall back to the no-malloc code path (but without aggregation). Note that we won't aggregate before MPI_INIT or after MPI_FINALIZE. So if you call an MPI function before MPI_INIT / after MPI_FINALIZE, you'll still see the error message N times. Nothing we can do about that; we need ORTE to do the aggregation properly (which is obviously unavailable before MPI_INIT / after MPI_FINALIZE). This commit was SVN r19611.
36 строки
1.2 KiB
Plaintext
36 строки
1.2 KiB
Plaintext
# -*- text -*-
|
|
#
|
|
# Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
|
# University Research and Technology
|
|
# Corporation. All rights reserved.
|
|
# Copyright (c) 2004-2005 The University of Tennessee and The University
|
|
# of Tennessee Research Foundation. All rights
|
|
# reserved.
|
|
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
# University of Stuttgart. All rights reserved.
|
|
# Copyright (c) 2004-2005 The Regents of the University of California.
|
|
# All rights reserved.
|
|
# Copyright (c) 2008 Cisco Systems, Inc. All rights reserved.
|
|
# $COPYRIGHT$
|
|
#
|
|
# Additional copyrights may follow
|
|
#
|
|
# $HEADER$
|
|
#
|
|
# *** THESE MESSAGES ARE COORDINATED WITH FIXED STRINGS IN
|
|
# *** errhandler_predefined.c! Do not change these messages without also
|
|
# *** changing errhandler_predefined.c!
|
|
#
|
|
[mpi_errors_are_fatal]
|
|
%s *** An error occurred %s %s
|
|
%s *** on %s %s
|
|
%s *** %s
|
|
%s *** MPI_ERRORS_ARE_FATAL (your MPI job will now abort)
|
|
#
|
|
[mpi_errors_are_fatal unknown handle]
|
|
%s *** An error occurred %s %s
|
|
%s *** on a NULL %s
|
|
%s *** %s
|
|
%s *** MPI_ERRORS_ARE_FATAL (your MPI job will now abort)
|
|
#
|