CYCAMORE
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 }
const char * info_ver
int main(int argc, char **argv)