- fix in comm_spawn_multiple: we cannot check for the errorcodes array
being null, if the constant MPI_ERRCODES_IGNORE is defined as (void *) NULL; - the communicator in file open has to be an intra-communicator. This commit was SVN r9893.
Этот коммит содержится в:
родитель
80dfe7e39b
Коммит
7e99dc4301
@ -63,10 +63,6 @@ int MPI_Comm_spawn_multiple(int count, char **array_of_commands, char ***array_o
|
||||
return OMPI_ERRHANDLER_INVOKE(comm, MPI_ERR_ARG,
|
||||
FUNC_NAME);
|
||||
}
|
||||
if ( NULL == array_of_errcodes ) {
|
||||
return OMPI_ERRHANDLER_INVOKE(comm, MPI_ERR_ARG,
|
||||
FUNC_NAME);
|
||||
}
|
||||
if (NULL == array_of_info) {
|
||||
return OMPI_ERRHANDLER_INVOKE(MPI_COMM_WORLD, MPI_ERR_INFO,
|
||||
FUNC_NAME);
|
||||
|
@ -49,6 +49,11 @@ int MPI_File_open(MPI_Comm comm, char *filename, int amode,
|
||||
return OMPI_ERRHANDLER_INVOKE(MPI_COMM_WORLD, MPI_ERR_COMM,
|
||||
FUNC_NAME);
|
||||
}
|
||||
if (OMPI_COMM_IS_INTER(comm)) {
|
||||
return OMPI_ERRHANDLER_INVOKE (comm, MPI_ERR_COMM,
|
||||
FUNC_NAME);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* Note that MPI-2:9.7 (p265) says that errors in MPI_FILE_OPEN
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user