2
2
/*
3
3
* Copyright (c) 2016 Los Alamos National Security, LLC. All rights
4
4
* reserved.
5
+ * Copyright (c) 2016 Research Organization for Information Science
6
+ * and Technology (RIST). All rights reserved.
5
7
* $COPYRIGHT$
6
8
*
7
9
* Additional copyrights may follow
@@ -47,10 +49,12 @@ int ompi_cxx_errhandler_invoke_comm (MPI_Comm comm, int ret, const char *message
47
49
return OMPI_ERRHANDLER_INVOKE (comm , ret , message );
48
50
}
49
51
52
+ #if OMPI_PROVIDE_MPI_FILE_INTERFACE
50
53
int ompi_cxx_errhandler_invoke_file (MPI_File file , int ret , const char * message )
51
54
{
52
55
return OMPI_ERRHANDLER_INVOKE (file , ret , message );
53
56
}
57
+ #endif
54
58
55
59
int ompi_cxx_attr_create_keyval_comm (MPI_Comm_copy_attr_function * copy_fn ,
56
60
MPI_Comm_delete_attr_function * delete_fn , int * keyval , void * extra_state ,
@@ -110,6 +114,7 @@ MPI_Errhandler ompi_cxx_errhandler_create_win (void *fn)
110
114
return errhandler ;
111
115
}
112
116
117
+ #if OMPI_PROVIDE_MPI_FILE_INTERFACE
113
118
MPI_Errhandler ompi_cxx_errhandler_create_file (void * fn )
114
119
{
115
120
ompi_errhandler_t * errhandler ;
@@ -120,6 +125,7 @@ MPI_Errhandler ompi_cxx_errhandler_create_file (void *fn)
120
125
(ompi_errhandler_cxx_dispatch_fn_t * ) ompi_mpi_cxx_file_errhandler_invoke ;
121
126
return errhandler ;
122
127
}
128
+ #endif
123
129
124
130
ompi_cxx_intercept_file_extra_state_t
125
131
* ompi_cxx_new_intercept_state (void * read_fn_cxx , void * write_fn_cxx , void * extent_fn_cxx ,
0 commit comments