Print the string name of the return code
This commit was SVN r7789.
Этот коммит содержится в:
родитель
026a884468
Коммит
a459659a33
@ -25,7 +25,7 @@ additional information (which may only be relevant to an Open MPI
|
||||
developer):
|
||||
|
||||
%s
|
||||
--> Returned value %d instead of OMPI_SUCCESS
|
||||
--> Returned "%s" (%d) instead of "Success" (0)
|
||||
[mpi-param-check-enabled-but-compiled-out]
|
||||
WARNING: The MCA parameter mpi_param_check has been set to true, but
|
||||
parameter checking has been compiled out of Open MPI. The
|
||||
|
@ -492,9 +492,10 @@ int ompi_mpi_init(int argc, char **argv, int requested, int *provided)
|
||||
|
||||
error:
|
||||
if (ret != OMPI_SUCCESS) {
|
||||
const char *err_msg = opal_strerror(ret);
|
||||
opal_show_help("help-mpi-runtime",
|
||||
"mpi_init:startup:internal-failure", true,
|
||||
"MPI_INIT", "MPI_INIT", error, ret);
|
||||
"MPI_INIT", "MPI_INIT", error, err_msg, ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user