MPI standard state that MPI_Win_f2c should return MPI_WIN_NULL if no windows correspond to the Fortran value.
As we dont have windows right now, I still raise the error but I return MPI_WIN_NULL. This commit was SVN r3590.
Этот коммит содержится в:
родитель
9c85e6be5f
Коммит
9690904dea
@ -31,5 +31,6 @@ MPI_Win MPI_Win_f2c(MPI_Fint win)
|
||||
|
||||
/* This function is not yet implemented */
|
||||
|
||||
return (MPI_Win) OMPI_ERRHANDLER_INVOKE(MPI_COMM_WORLD, MPI_ERR_OTHER, FUNC_NAME);
|
||||
(void)OMPI_ERRHANDLER_INVOKE(MPI_COMM_WORLD, MPI_ERR_OTHER, FUNC_NAME);
|
||||
return MPI_WIN_NULL;
|
||||
}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user