CYCAMORE
Loading...
Searching...
No Matches
cmake_hdf5_test.c
Go to the documentation of this file.
1#include <hdf5.h>
2const char* info_ver = "INFO" ":" H5_VERSION;
3#ifdef H5_HAVE_PARALLEL
4const char* info_parallel = "INFO" ":" "PARALLEL";
5#endif
6int 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}
int main(int argc, char **argv)
const char * info_ver