1
1
There is a reason that we use the internal type (ompi_file_errhandler_fn) instead of the MPI typedef. When building without MPI-IO support (--disable-mpi-io), the MPI type is not defined, but the internal type IS defined in order to try to keep binary compatibility for apps that don't use MPI-IO.

This commit was SVN r16136.

The following SVN revision numbers were found above:
  r16130 --> open-mpi/ompi@cf5a38af5e
Этот коммит содержится в:
Tim Prins 2007-09-15 11:19:13 +00:00
родитель 02d8e721be
Коммит a194896ae8
2 изменённых файлов: 2 добавлений и 2 удалений

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

@ -203,7 +203,7 @@ ompi_errhandler_t *ompi_errhandler_create(ompi_errhandler_type_t object_type,
new_errhandler->eh_comm_fn = (MPI_Comm_errhandler_fn *)func;
break;
case (OMPI_ERRHANDLER_TYPE_FILE):
new_errhandler->eh_file_fn = (MPI_File_errhandler_fn *)func;
new_errhandler->eh_file_fn = (ompi_file_errhandler_fn *)func;
break;
case (OMPI_ERRHANDLER_TYPE_WIN):
new_errhandler->eh_win_fn = (MPI_Win_errhandler_fn *)func;

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

@ -83,7 +83,7 @@ struct ompi_errhandler_t {
/* Function pointers */
MPI_Comm_errhandler_fn *eh_comm_fn;
MPI_File_errhandler_fn *eh_file_fn;
ompi_file_errhandler_fn *eh_file_fn;
MPI_Win_errhandler_fn *eh_win_fn;
ompi_errhandler_fortran_handler_fn_t *eh_fort_fn;