1
1

Print the string name of the return code

This commit was SVN r7789.
Этот коммит содержится в:
Jeff Squyres 2005-10-17 20:47:44 +00:00
родитель 026a884468
Коммит a459659a33
2 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -25,7 +25,7 @@ additional information (which may only be relevant to an Open MPI
developer): developer):
%s %s
--> Returned value %d instead of OMPI_SUCCESS --> Returned "%s" (%d) instead of "Success" (0)
[mpi-param-check-enabled-but-compiled-out] [mpi-param-check-enabled-but-compiled-out]
WARNING: The MCA parameter mpi_param_check has been set to true, but WARNING: The MCA parameter mpi_param_check has been set to true, but
parameter checking has been compiled out of Open MPI. The 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: error:
if (ret != OMPI_SUCCESS) { if (ret != OMPI_SUCCESS) {
const char *err_msg = opal_strerror(ret);
opal_show_help("help-mpi-runtime", opal_show_help("help-mpi-runtime",
"mpi_init:startup:internal-failure", true, "mpi_init:startup:internal-failure", true,
"MPI_INIT", "MPI_INIT", error, ret); "MPI_INIT", "MPI_INIT", error, err_msg, ret);
return ret; return ret;
} }