aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorknarf <knarf@8e189c6b-2ab8-4400-aa02-70a9cfce18b9>2012-04-16 17:39:54 +0000
committerknarf <knarf@8e189c6b-2ab8-4400-aa02-70a9cfce18b9>2012-04-16 17:39:54 +0000
commit8d3df818ac0161221d2a8208d81a615d82796920 (patch)
tree719ec0872a5eb2949d16fec78ddb0fa8da1c6675
parent6cbf58a21d102f26fdd7545727af1c7d3224a318 (diff)
use version 1.6 of the HDF5 API, since this is the only place within the ET which explicitely used the 1.8 API which just tripped one of my installations. It also doesn't need the 1.8 API, which is why it now explicitely requests version 1.6
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOS_Omni/trunk@58 8e189c6b-2ab8-4400-aa02-70a9cfce18b9
-rw-r--r--src/nuc_eos/readtable.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nuc_eos/readtable.c b/src/nuc_eos/readtable.c
index 786467b..f63c4d4 100644
--- a/src/nuc_eos/readtable.c
+++ b/src/nuc_eos/readtable.c
@@ -1,5 +1,6 @@
#include <stdlib.h>
+#define H5_USE_16_API 1
#include "hdf5.h"
#include "cctk.h"
@@ -61,7 +62,7 @@ void EOS_OMNI_ReadTable(CCTK_ARGUMENTS)
#define READ_EOS_HDF5(NAME,VAR,TYPE,MEM) \
do { \
hid_t dataset; \
- HDF5_ERROR(dataset = H5Dopen(file, NAME, H5P_DEFAULT)); \
+ HDF5_ERROR(dataset = H5Dopen(file, NAME)); \
HDF5_ERROR(H5Dread(dataset, TYPE, MEM, H5S_ALL, H5P_DEFAULT, VAR)); \
HDF5_ERROR(H5Dclose(dataset)); \
} while (0)