declarations for MPI I/O More...

Go to the source code of this file.
Macros | |
| #define | MPI_MAX_DATAREP_STRING 256 |
| #define | MPI_CONVERSION_FN_NULL NULL |
File modes | |
| #define | MPI_MODE_RDONLY 0x0001 |
| #define | MPI_MODE_RDWR 0x0002 |
| #define | MPI_MODE_WRONLY 0x0004 |
| #define | MPI_MODE_CREATE 0x0008 |
| #define | MPI_MODE_EXCL 0x0010 |
| #define | MPI_MODE_APPEND 0x0020 |
| #define | MPI_MODE_DELETE_ON_CLOSE 0x0100 |
| #define | MPI_MODE_UNIQUE_OPEN 0x0200 |
| #define | MPI_MODE_SEQUENTIAL 0x0400 |
File seek | |
| #define | MPI_SEEK_SET 0x0001 |
| #define | MPI_SEEK_CUR 0x0002 |
| #define | MPI_SEEK_END 0x0004 |
Typedefs | |
| typedef int | MPI_Datarep_extent_function(MPI_Datatype datatype, MPI_Aint *file_extent, void *extra_state) |
| typedef int | MPI_Datarep_conversion_function(void *userbuf, MPI_Datatype datatype, int count, void *filebuf, MPI_Offset position, void *extra_state) |
IO operations | |
| #define | MPI_FILE_NULL ((MPI_File)0) |
| #define | _NM_MPI_FILE_OFFSET 1 |
| typedef int | MPI_File |
| File handle. | |
| typedef int64_t | nm_mpi_offset_t |
| internal type for IO offsets | |
| typedef nm_mpi_offset_t | MPI_Offset |
| offsets for MPI-IO | |
| typedef void() | MPI_File_errhandler_function(MPI_File *, int *,...) |
| typedef MPI_File_errhandler_function | MPI_File_errhandler_fn |
| pre MPI-2.2 compatibility type | |
Detailed Description
declarations for MPI I/O
Definition in file nm_mpi_io.h.
Macro Definition Documentation
◆ _NM_MPI_FILE_OFFSET
| #define _NM_MPI_FILE_OFFSET 1 |
Definition at line 33 of file nm_mpi_io.h.
◆ MPI_CONVERSION_FN_NULL
| #define MPI_CONVERSION_FN_NULL NULL |
Definition at line 67 of file nm_mpi_io.h.
◆ MPI_FILE_NULL
| #define MPI_FILE_NULL ((MPI_File)0) |
Definition at line 32 of file nm_mpi_io.h.
◆ MPI_MAX_DATAREP_STRING
| #define MPI_MAX_DATAREP_STRING 256 |
Definition at line 62 of file nm_mpi_io.h.
◆ MPI_MODE_APPEND
| #define MPI_MODE_APPEND 0x0020 |
Definition at line 49 of file nm_mpi_io.h.
◆ MPI_MODE_CREATE
| #define MPI_MODE_CREATE 0x0008 |
Definition at line 47 of file nm_mpi_io.h.
◆ MPI_MODE_DELETE_ON_CLOSE
| #define MPI_MODE_DELETE_ON_CLOSE 0x0100 |
Definition at line 50 of file nm_mpi_io.h.
◆ MPI_MODE_EXCL
| #define MPI_MODE_EXCL 0x0010 |
Definition at line 48 of file nm_mpi_io.h.
◆ MPI_MODE_RDONLY
| #define MPI_MODE_RDONLY 0x0001 |
Definition at line 44 of file nm_mpi_io.h.
◆ MPI_MODE_RDWR
| #define MPI_MODE_RDWR 0x0002 |
Definition at line 45 of file nm_mpi_io.h.
◆ MPI_MODE_SEQUENTIAL
| #define MPI_MODE_SEQUENTIAL 0x0400 |
Definition at line 52 of file nm_mpi_io.h.
◆ MPI_MODE_UNIQUE_OPEN
| #define MPI_MODE_UNIQUE_OPEN 0x0200 |
Definition at line 51 of file nm_mpi_io.h.
◆ MPI_MODE_WRONLY
| #define MPI_MODE_WRONLY 0x0004 |
Definition at line 46 of file nm_mpi_io.h.
◆ MPI_SEEK_CUR
| #define MPI_SEEK_CUR 0x0002 |
Definition at line 58 of file nm_mpi_io.h.
◆ MPI_SEEK_END
| #define MPI_SEEK_END 0x0004 |
Definition at line 59 of file nm_mpi_io.h.
◆ MPI_SEEK_SET
| #define MPI_SEEK_SET 0x0001 |
Definition at line 57 of file nm_mpi_io.h.
Typedef Documentation
◆ MPI_Datarep_conversion_function
| typedef int MPI_Datarep_conversion_function(void *userbuf, MPI_Datatype datatype, int count, void *filebuf, MPI_Offset position, void *extra_state) |
Definition at line 64 of file nm_mpi_io.h.
◆ MPI_Datarep_extent_function
| typedef int MPI_Datarep_extent_function(MPI_Datatype datatype, MPI_Aint *file_extent, void *extra_state) |
Definition at line 63 of file nm_mpi_io.h.
◆ MPI_File
| typedef int MPI_File |
File handle.
Definition at line 31 of file nm_mpi_io.h.
◆ MPI_File_errhandler_fn
pre MPI-2.2 compatibility type
Definition at line 40 of file nm_mpi_io.h.
◆ MPI_File_errhandler_function
| typedef void() MPI_File_errhandler_function(MPI_File *, int *,...) |
Definition at line 39 of file nm_mpi_io.h.
◆ MPI_Offset
| typedef nm_mpi_offset_t MPI_Offset |
offsets for MPI-IO
Definition at line 38 of file nm_mpi_io.h.
◆ nm_mpi_offset_t
| typedef int64_t nm_mpi_offset_t |
internal type for IO offsets
Definition at line 36 of file nm_mpi_io.h.
Function Documentation
◆ MPI_File_c2f()
| MPI_Fint MPI_File_c2f | ( | MPI_File | file | ) |
◆ MPI_File_call_errhandler()
| int MPI_File_call_errhandler | ( | MPI_File | file, |
| int | errorcode | ||
| ) |
◆ MPI_File_close()
| int MPI_File_close | ( | MPI_File * | fh | ) |
◆ MPI_File_create_errhandler()
| int MPI_File_create_errhandler | ( | MPI_File_errhandler_fn * | function, |
| MPI_Errhandler * | errhandler | ||
| ) |
◆ MPI_File_delete()
| int MPI_File_delete | ( | const char * | filename, |
| MPI_Info | info | ||
| ) |
◆ MPI_File_f2c()
| MPI_File MPI_File_f2c | ( | MPI_Fint | file | ) |
◆ MPI_File_get_amode()
| int MPI_File_get_amode | ( | MPI_File | fh, |
| int * | amode | ||
| ) |
◆ MPI_File_get_atomicity()
| int MPI_File_get_atomicity | ( | MPI_File | fh, |
| int * | flag | ||
| ) |
◆ MPI_File_get_byte_offset()
| int MPI_File_get_byte_offset | ( | MPI_File | fh, |
| MPI_Offset | offset, | ||
| MPI_Offset * | disp | ||
| ) |
◆ MPI_File_get_errhandler()
| int MPI_File_get_errhandler | ( | MPI_File | file, |
| MPI_Errhandler * | errhandler | ||
| ) |
◆ MPI_File_get_group()
◆ MPI_File_get_info()
◆ MPI_File_get_position()
| int MPI_File_get_position | ( | MPI_File | fh, |
| MPI_Offset * | offset | ||
| ) |
◆ MPI_File_get_position_shared()
| int MPI_File_get_position_shared | ( | MPI_File | fh, |
| MPI_Offset * | offset | ||
| ) |
◆ MPI_File_get_size()
| int MPI_File_get_size | ( | MPI_File | fh, |
| MPI_Offset * | size | ||
| ) |
◆ MPI_File_get_type_extent()
| int MPI_File_get_type_extent | ( | MPI_File | fh, |
| MPI_Datatype | datatype, | ||
| MPI_Aint * | extent | ||
| ) |
◆ MPI_File_get_view()
| int MPI_File_get_view | ( | MPI_File | fh, |
| MPI_Offset * | disp, | ||
| MPI_Datatype * | etype, | ||
| MPI_Datatype * | filetype, | ||
| char * | datarep | ||
| ) |
◆ MPI_File_iread()
| int MPI_File_iread | ( | MPI_File | fh, |
| void * | buf, | ||
| int | count, | ||
| MPI_Datatype | datatype, | ||
| MPI_Request * | request | ||
| ) |
◆ MPI_File_iread_at()
| int MPI_File_iread_at | ( | MPI_File | fh, |
| MPI_Offset | offset, | ||
| void * | buf, | ||
| int | count, | ||
| MPI_Datatype | datatype, | ||
| MPI_Request * | request | ||
| ) |
◆ MPI_File_iread_shared()
| int MPI_File_iread_shared | ( | MPI_File | fh, |
| void * | buf, | ||
| int | count, | ||
| MPI_Datatype | datatype, | ||
| MPI_Request * | request | ||
| ) |
◆ MPI_File_iwrite()
| int MPI_File_iwrite | ( | MPI_File | fh, |
| const void * | buf, | ||
| int | count, | ||
| MPI_Datatype | datatype, | ||
| MPI_Request * | request | ||
| ) |
◆ MPI_File_iwrite_at()
| int MPI_File_iwrite_at | ( | MPI_File | fh, |
| MPI_Offset | offset, | ||
| const void * | buf, | ||
| int | count, | ||
| MPI_Datatype | datatype, | ||
| MPI_Request * | request | ||
| ) |
◆ MPI_File_iwrite_shared()
| int MPI_File_iwrite_shared | ( | MPI_File | fh, |
| const void * | buf, | ||
| int | count, | ||
| MPI_Datatype | datatype, | ||
| MPI_Request * | request | ||
| ) |
◆ MPI_File_open()
◆ MPI_File_preallocate()
| int MPI_File_preallocate | ( | MPI_File | fh, |
| MPI_Offset | size | ||
| ) |
◆ MPI_File_read()
| int MPI_File_read | ( | MPI_File | fh, |
| void * | buf, | ||
| int | count, | ||
| MPI_Datatype | datatype, | ||
| MPI_Status * | status | ||
| ) |
◆ MPI_File_read_all()
| int MPI_File_read_all | ( | MPI_File | fh, |
| void * | buf, | ||
| int | count, | ||
| MPI_Datatype | datatype, | ||
| MPI_Status * | status | ||
| ) |
◆ MPI_File_read_all_begin()
| int MPI_File_read_all_begin | ( | MPI_File | fh, |
| void * | buf, | ||
| int | count, | ||
| MPI_Datatype | datatype | ||
| ) |
◆ MPI_File_read_all_end()
| int MPI_File_read_all_end | ( | MPI_File | fh, |
| void * | buf, | ||
| MPI_Status * | status | ||
| ) |
◆ MPI_File_read_at()
| int MPI_File_read_at | ( | MPI_File | fh, |
| MPI_Offset | offset, | ||
| void * | buf, | ||
| int | count, | ||
| MPI_Datatype | datatype, | ||
| MPI_Status * | status | ||
| ) |
◆ MPI_File_read_at_all()
| int MPI_File_read_at_all | ( | MPI_File | fh, |
| MPI_Offset | offset, | ||
| void * | buf, | ||
| int | count, | ||
| MPI_Datatype | datatype, | ||
| MPI_Status * | status | ||
| ) |
◆ MPI_File_read_at_all_begin()
| int MPI_File_read_at_all_begin | ( | MPI_File | fh, |
| MPI_Offset | offset, | ||
| void * | buf, | ||
| int | count, | ||
| MPI_Datatype | datatype | ||
| ) |
◆ MPI_File_read_at_all_end()
| int MPI_File_read_at_all_end | ( | MPI_File | fh, |
| void * | buf, | ||
| MPI_Status * | status | ||
| ) |
◆ MPI_File_read_ordered()
| int MPI_File_read_ordered | ( | MPI_File | fh, |
| void * | buf, | ||
| int | count, | ||
| MPI_Datatype | datatype, | ||
| MPI_Status * | status | ||
| ) |
◆ MPI_File_read_ordered_begin()
| int MPI_File_read_ordered_begin | ( | MPI_File | fh, |
| void * | buf, | ||
| int | count, | ||
| MPI_Datatype | datatype | ||
| ) |
◆ MPI_File_read_ordered_end()
| int MPI_File_read_ordered_end | ( | MPI_File | fh, |
| void * | buf, | ||
| MPI_Status * | status | ||
| ) |
◆ MPI_File_read_shared()
| int MPI_File_read_shared | ( | MPI_File | fh, |
| void * | buf, | ||
| int | count, | ||
| MPI_Datatype | datatype, | ||
| MPI_Status * | status | ||
| ) |
◆ MPI_File_seek()
| int MPI_File_seek | ( | MPI_File | fh, |
| MPI_Offset | offset, | ||
| int | whence | ||
| ) |
◆ MPI_File_seek_shared()
| int MPI_File_seek_shared | ( | MPI_File | fh, |
| MPI_Offset | offset, | ||
| int | whence | ||
| ) |
◆ MPI_File_set_atomicity()
| int MPI_File_set_atomicity | ( | MPI_File | fh, |
| int | flag | ||
| ) |
◆ MPI_File_set_errhandler()
| int MPI_File_set_errhandler | ( | MPI_File | file, |
| MPI_Errhandler | errhandler | ||
| ) |
◆ MPI_File_set_info()
◆ MPI_File_set_size()
| int MPI_File_set_size | ( | MPI_File | fh, |
| MPI_Offset | size | ||
| ) |
◆ MPI_File_set_view()
| int MPI_File_set_view | ( | MPI_File | fh, |
| MPI_Offset | disp, | ||
| MPI_Datatype | etype, | ||
| MPI_Datatype | filetype, | ||
| const char * | datarep, | ||
| MPI_Info | info | ||
| ) |
◆ MPI_File_sync()
| int MPI_File_sync | ( | MPI_File | fh | ) |
◆ MPI_File_write()
| int MPI_File_write | ( | MPI_File | fh, |
| const void * | buf, | ||
| int | count, | ||
| MPI_Datatype | datatype, | ||
| MPI_Status * | status | ||
| ) |
◆ MPI_File_write_all()
| int MPI_File_write_all | ( | MPI_File | fh, |
| const void * | buf, | ||
| int | count, | ||
| MPI_Datatype | datatype, | ||
| MPI_Status * | status | ||
| ) |
◆ MPI_File_write_all_begin()
| int MPI_File_write_all_begin | ( | MPI_File | fh, |
| const void * | buf, | ||
| int | count, | ||
| MPI_Datatype | datatype | ||
| ) |
◆ MPI_File_write_all_end()
| int MPI_File_write_all_end | ( | MPI_File | fh, |
| const void * | buf, | ||
| MPI_Status * | status | ||
| ) |
◆ MPI_File_write_at()
| int MPI_File_write_at | ( | MPI_File | fh, |
| MPI_Offset | offset, | ||
| const void * | buf, | ||
| int | count, | ||
| MPI_Datatype | datatype, | ||
| MPI_Status * | status | ||
| ) |
◆ MPI_File_write_at_all()
| int MPI_File_write_at_all | ( | MPI_File | fh, |
| MPI_Offset | offset, | ||
| const void * | buf, | ||
| int | count, | ||
| MPI_Datatype | datatype, | ||
| MPI_Status * | status | ||
| ) |
◆ MPI_File_write_at_all_begin()
| int MPI_File_write_at_all_begin | ( | MPI_File | fh, |
| MPI_Offset | offset, | ||
| const void * | buf, | ||
| int | count, | ||
| MPI_Datatype | datatype | ||
| ) |
◆ MPI_File_write_at_all_end()
| int MPI_File_write_at_all_end | ( | MPI_File | fh, |
| const void * | buf, | ||
| MPI_Status * | status | ||
| ) |
◆ MPI_File_write_ordered()
| int MPI_File_write_ordered | ( | MPI_File | fh, |
| const void * | buf, | ||
| int | count, | ||
| MPI_Datatype | datatype, | ||
| MPI_Status * | status | ||
| ) |
◆ MPI_File_write_ordered_begin()
| int MPI_File_write_ordered_begin | ( | MPI_File | fh, |
| const void * | buf, | ||
| int | count, | ||
| MPI_Datatype | datatype | ||
| ) |
◆ MPI_File_write_ordered_end()
| int MPI_File_write_ordered_end | ( | MPI_File | fh, |
| const void * | buf, | ||
| MPI_Status * | status | ||
| ) |
◆ MPI_File_write_shared()
| int MPI_File_write_shared | ( | MPI_File | fh, |
| const void * | buf, | ||
| int | count, | ||
| MPI_Datatype | datatype, | ||
| MPI_Status * | status | ||
| ) |
◆ MPI_Register_datarep()
| int MPI_Register_datarep | ( | const char * | datarep, |
| MPI_Datarep_conversion_function * | read_conversion_fn, | ||
| MPI_Datarep_conversion_function * | write_conversion_fn, | ||
| MPI_Datarep_extent_function * | dtype_file_extent_fn, | ||
| void * | extra_state | ||
| ) |