SIONlib
1.7.1
Scalable I/O library for parallel access to task-local files
src
parlib
sion_ompi.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
16
#ifndef SION_SION_OMPI
17
#define SION_SION_OMPI
18
19
#ifdef MPI_VERSION
20
#include "
sion_datatypes_mpi.h
"
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
26
int
sion_paropen_ompi(
const
char
*fname,
27
const
char
*file_mode,
28
int
*numFiles,
29
MPI_Comm gComm,
30
const
MPI_Comm *lComm,
31
sion_int64 *chunksize,
32
sion_int32 *fsblksize,
33
int
*globalrank,
34
FILE **fileptr,
35
char
**newfname);
36
37
int
sion_parclose_ompi(
int
sid );
38
39
#ifdef __cplusplus
40
}
41
#endif
42
43
#else
44
#define sion_paropen_ompi "sion_paropen_ompi not defined if mpi.h not included, please include mpi.h before including sion_mpi.h"
45
#endif
46
47
#endif
sion_datatypes_mpi.h
Generated by
1.8.15