[Commits] [svn:einsteintoolkit] EOS_Omni/trunk/src/nuc_eos/ (Rev. 58)

knarf at cct.lsu.edu knarf at cct.lsu.edu
Mon Apr 16 12:39:54 CDT 2012


User: knarf
Date: 2012/04/16 12:39 PM

Modified:
 /trunk/src/nuc_eos/
  readtable.c

Log:
 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

File Changes:

Directory: /trunk/src/nuc_eos/
==============================

File [modified]: readtable.c
Delta lines: +2 -1
===================================================================
--- trunk/src/nuc_eos/readtable.c	2012-03-08 00:19:42 UTC (rev 57)
+++ trunk/src/nuc_eos/readtable.c	2012-04-16 17:39:54 UTC (rev 58)
@@ -1,5 +1,6 @@
 #include <stdlib.h>
 
+#define H5_USE_16_API 1
 #include "hdf5.h"
 
 #include "cctk.h"
@@ -61,7 +62,7 @@
 #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)



More information about the Commits mailing list