10 #ifndef SION_SION_OMPI_H 11 #define SION_SION_OMPI_H 25 #include "sion_const.h" 26 #include "sion_datatypes_mpi.h" sion_lowlevel_api
specifies a low-level API to use for file system access
void sion_ompi_options_set_endianness(sion_ompi_options *options, sion_endianness endianness)
Set the endianness for the contents of a container.
struct sion_ompi_options sion_ompi_options
Holds non-essential arguments for sion_paropen_ompi().
void sion_ompi_options_set_collective(sion_ompi_options *options)
Enable collective I/O.
void sion_ompi_options_set_keyval_mode(sion_ompi_options *options, sion_keyval_mode keyval_mode)
Set the key-value mode to use for a container.
void sion_ompi_options_set_fsblksize(sion_ompi_options *options, int32_t fsblksize)
Set the file system block size to assume.
void sion_ompi_options_set_chunksize(sion_ompi_options *options, int64_t chunksize)
Set the chunk size of a logical file in the container.
void sion_ompi_options_set_lowlevel_api(sion_ompi_options *options, sion_lowlevel_api lowlevel_api)
Set the low-level API to use for opening a container.
sion_ompi_options * sion_ompi_options_new()
Allocates and initializes an instance of sion_ompi_options
void sion_ompi_options_set_multifile_number(sion_ompi_options *options, int multifile_number)
Set the number of physical files to use.
void sion_ompi_options_set_multifile_communicator(sion_ompi_options *options, MPI_Comm multifile_communicator)
Create multiple physical files based on disjunct communicators.
void sion_ompi_options_set_collective_merge(sion_ompi_options *options)
Use collective merging.
void sion_ompi_options_set_buddy(sion_ompi_options *options)
Enable buddy checkpointing mechanism.
int sion_parclose_ompi(int sid)
closes a SIONlib file previously opened in OpenMP/MPI mode
sion_keyval_mode
specifies whether to use SIONlib's key-value mechanism for accessing file content and if so in what m...
void sion_ompi_options_delete(sion_ompi_options *options)
Delete an instance of sion_ompi_options
sion_endianness
declares the endianness of user data written to a file
sion_open_mode
specifies for what type of access to open a file
int sion_paropen_ompi(const char *filename, sion_open_mode mode, MPI_Comm communicator, const sion_ompi_options *options)
Open a SIONlib file from multiple OpenMP threads on multiple MPI processes in parallel.
void sion_ompi_options_set_collective_size(sion_ompi_options *options, int32_t size)
Enable collective I/O.
void sion_ompi_options_set_buddylevel(sion_ompi_options *options, int32_t buddylevel)
Enable buddy checkpointing mechanism.