10 #ifndef SION_SION_OMP_H
11 #define SION_SION_OMP_H
22 #include "sion_const.h"
sion_open_mode
specifies for what type of access to open a file
sion_lowlevel_api
specifies a low-level API to use for file system access
sion_endianness
declares the endianness of user data written to a file
sion_keyval_mode
specifies whether to use SIONlib's key-value mechanism for accessing file content and if so in what m...
void sion_omp_options_set_collective_merge(sion_omp_options *options)
Use collective merging.
void sion_omp_options_set_fsblksize(sion_omp_options *options, int32_t fsblksize)
Set the file system block size to assume.
void sion_omp_options_set_endianness(sion_omp_options *options, sion_endianness endianness)
Set the endianness for the contents of a container.
void sion_omp_options_set_chunksize(sion_omp_options *options, int64_t chunksize)
Set the chunk size of a logical file in the container.
sion_omp_options * sion_omp_options_new()
Allocates and initializes an instance of sion_omp_options
void sion_omp_options_set_lowlevel_api(sion_omp_options *options, sion_lowlevel_api lowlevel_api)
Set the low-level API to use for opening a container.
struct sion_omp_options sion_omp_options
Holds non-essential arguments for sion_paropen_omp().
int sion_parclose_omp(int sid)
closes a SIONlib file previously opened in OpenMP mode
void sion_omp_options_set_collective_size(sion_omp_options *options, int32_t size)
Enable collective I/O.
void sion_omp_options_set_keyval_mode(sion_omp_options *options, sion_keyval_mode keyval_mode)
Set the key-value mode to use for a container.
int sion_paropen_omp(const char *filename, sion_open_mode mode, const sion_omp_options *options)
Open a SIONlib file from multiple OpenMP threads.
void sion_omp_options_set_collective(sion_omp_options *options)
Enable collective I/O.
void sion_omp_options_delete(sion_omp_options *options)
Delete an instance of sion_omp_options