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