SIONlib  1.7.7
Scalable I/O library for parallel access to task-local files
sion_omp.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_OMP_H
15 #define SION_SION_OMP_H
16 
17 #ifdef SION_OMP
18 /* SIONlib defines functions using FILE* parameter */
19 #include <stdio.h>
20 
21 #include "sion_const.h"
22 #include "sion_datatypes.h"
23 
24 /* ************************** */
25 /* Parallel Interface OpenMP */
26 /* ************************** */
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 int sion_paropen_omp( const char *fname,
32  const char *file_mode,
33  sion_int64 *chunksize,
34  sion_int32 *fsblksize,
35  int *globalrank,
36  FILE **fileptr,
37  char **newfname);
38 
39 int sion_parclose_omp( int sid );
40 #ifdef __cplusplus
41 }
42 #endif
43 
44 #endif
45 
46 #endif