24 #include "ompi_config.h"
29 #include "ompi/mca/io/io.h"
34 #define OMPI_FILE_ISCLOSED 0x00000001
35 #define OMPI_FILE_HIDDEN 0x00000002
100 #define PREDEFINED_FILE_PAD (sizeof(void*) * 192)
104 char padding[PREDEFINED_FILE_PAD -
sizeof(
ompi_file_t)];
126 int ompi_file_init(
void);
165 int ompi_file_set_name(
ompi_file_t *file,
char *name);
188 int ompi_file_finalize(
void);
201 static inline bool ompi_file_invalid(
ompi_file_t *file)
203 return (NULL == file ||
204 &ompi_mpi_file_null.file == file ||
205 0 != (file->
f_flags & OMPI_FILE_ISCLOSED));
dynamic pointer array
Definition: opal_pointer_array.h:45
char * f_filename
Filename that this file was created with.
Definition: file.h:50
Back-end type for MPI_Errorhandler.
Definition: errhandler.h:108
mca_io_base_version_t f_io_version
Indicate what version of the IO component we're using (this indicates what member to look at in the u...
Definition: file.h:76
The opal_list_t interface is used to provide a generic doubly-linked list container for Open MPI...
struct ompi_info_t * f_info
MPI_Info that this file was created with.
Definition: file.h:57
int f_f_to_c_index
Index in Fortran <-> C translation array.
Definition: file.h:63
int f_amode
Amode that this file was created with.
Definition: file.h:53
struct mca_io_base_file_t * f_io_selected_data
Allow the selected module to cache data on the file.
Definition: file.h:88
mca_io_base_modules_t f_io_selected_module
The selected module (note that this is a union)
Definition: file.h:85
Back-end structure for MPI_File.
Definition: file.h:42
opal_object_t super
Base of OBJ_* interface.
Definition: file.h:44
struct ompi_communicator_t * f_comm
Communicator that this file was created with.
Definition: file.h:47
Base object.
Definition: opal_object.h:182
struct ompi_errhandler_t * error_handler
Error handler.
Definition: file.h:68
mca_io_base_components_t f_io_selected_component
The selected component (note that this is a union) – we need this to add and remove the component fr...
Definition: file.h:82
ompi_errhandler_type_t errhandler_type
Type of the error handler.
Definition: file.h:72
Mutual exclusion functions.
Definition: communicator.h:118
ompi_errhandler_type_t
Enum used to describe what kind MPI object an error handler is used for.
Definition: errhandler.h:84
int32_t f_flags
Bit flags.
Definition: file.h:60