CYCAMORE
CMakeFiles
hdf5
cmake_hdf5_test.c
Go to the documentation of this file.
1
#include <hdf5.h>
2
#include <hdf5_hl.h>
3
const
char
*
info_ver
=
"INFO"
":"
H5_VERSION;
4
#ifdef H5_HAVE_PARALLEL
5
const
char
* info_parallel =
"INFO"
":"
"PARALLEL"
;
6
#endif
7
int
main
(
int
argc,
char
**argv) {
8
int
require = 0;
9
require +=
info_ver
[argc];
10
#ifdef H5_HAVE_PARALLEL
11
require += info_parallel[argc];
12
#endif
13
hid_t fid;
14
fid = H5Fcreate(
"foo.h5"
,H5F_ACC_TRUNC,H5P_DEFAULT,H5P_DEFAULT);
15
return
0;
16
}
info_ver
const char * info_ver
Definition:
cmake_hdf5_test.c:3
main
int main(int argc, char **argv)
Definition:
cmake_hdf5_test.c:7
Generated by
1.8.13