SIONlib  1.7.7
Scalable I/O library for parallel access to task-local files
sion_generic_collective.h
Go to the documentation of this file.
1 /****************************************************************************
2 ** SIONLIB http://www.fz-juelich.de/jsc/sionlib **
3 *****************************************************************************
4 ** Copyright (c) 2008-2019 **
5 ** Forschungszentrum Juelich, Juelich Supercomputing Centre **
6 ** **
7 ** See the file COPYRIGHT in the package base directory for details **
8 ****************************************************************************/
9 
14 #ifndef SION_SION_GENERIC_COLL_H
15 #define SION_SION_GENERIC_COLL_H
16 
17 #include <stddef.h>
18 
19 #include "sion_const.h"
20 #include "sion_filedesc.h"
21 
22 /* collective I/O */
23 size_t sion_coll_fwrite(const void *data, size_t size, size_t nitems, int sid);
24 size_t sion_coll_fread(void *data, size_t size, size_t nitems, int sid);
25 
26 size_t _sion_coll_fwrite_merge(const void *data, size_t size, size_t nitems, int sid);
27 int _sion_coll_check_env(_sion_filedesc *sion_filedesc);
28 
29 /* callback functions */
30 int _sion_generic_collective_process_write( const void *data, sion_int64 *spec, int sid );
31 int _sion_generic_collective_process_read( void *data, sion_int64 *spec, int sid );
32 
33 #endif
Sion File Descriptor Structure.
Definition: sion_filedesc.h:79