SIONlib  1.7.0
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-2016 **
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 /* SIONlib defines functions using FILE* parameter */
18 #include <stdio.h>
19 
20 /* ************************** */
21 /* Parallel Interface OpenMP */
22 /* ************************** */
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 int sion_paropen_omp( const char *fname,
28  const char *file_mode,
29  sion_int64 *chunksize,
30  sion_int32 *fsblksize,
31  int *globalrank,
32  FILE **fileptr,
33  char **newfname);
34 
35 int sion_parclose_omp( int sid );
36 #ifdef __cplusplus
37 }
38 #endif
39 
40 #endif