1
1

these functions always have to return MPI_SUCCESS and not the error code passed to them.

This commit was SVN r5382.
Этот коммит содержится в:
Edgar Gabriel 2005-04-15 15:30:57 +00:00
родитель 1010fd3690
Коммит b1df79aedb
3 изменённых файлов: 12 добавлений и 3 удалений

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

@ -47,6 +47,9 @@ int MPI_Comm_call_errhandler(MPI_Comm comm, int errorcode)
/* Invoke the errhandler */
return OMPI_ERRHANDLER_INVOKE(comm, errorcode, FUNC_NAME);
OMPI_ERRHANDLER_INVOKE(comm, errorcode, FUNC_NAME);
/* See MPI-2 8.5 why this function has to return MPI_SUCCESS */
return MPI_SUCCESS;
}

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

@ -46,6 +46,9 @@ int MPI_File_call_errhandler(MPI_File fh, int errorcode)
}
/* Invoke the errhandler */
OMPI_ERRHANDLER_INVOKE(fh, errorcode, FUNC_NAME);
/* See MPI-2 8.5 why this function has to return MPI_SUCCESS */
return MPI_SUCCESS;
return OMPI_ERRHANDLER_INVOKE(fh, errorcode, FUNC_NAME);
}

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

@ -48,5 +48,8 @@ int MPI_Win_call_errhandler(MPI_Win win, int errorcode)
/* Invoke the errhandler */
return OMPI_ERRHANDLER_INVOKE(win, errorcode, FUNC_NAME);
OMPI_ERRHANDLER_INVOKE(win, errorcode, FUNC_NAME);
/* See MPI-2 8.5 why this function has to return MPI_SUCCESS */
return MPI_SUCCESS;
}