aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configuration.ccl4
-rw-r--r--src/patch/patch_system.cc6
2 files changed, 7 insertions, 3 deletions
diff --git a/configuration.ccl b/configuration.ccl
index ef770a1..b0986dc 100644
--- a/configuration.ccl
+++ b/configuration.ccl
@@ -1 +1,5 @@
REQUIRES THORNS: SpaceMask
+
+OPTIONAL HDF5
+{
+}
diff --git a/src/patch/patch_system.cc b/src/patch/patch_system.cc
index 8059453..3e6296b 100644
--- a/src/patch/patch_system.cc
+++ b/src/patch/patch_system.cc
@@ -80,7 +80,7 @@
#include "../jtutil/linear_map.hh"
using jtutil::error_exit;
-#ifdef CCTK_HDF5
+#ifdef HAVE_CAPABILITY_HDF5
// Some macros to fix compatibility issues as long as 1.8.0 is in beta
// phase
# define H5_USE_16_API 1
@@ -2539,7 +2539,7 @@ fclose(input_fp);
//******************************************************************************
-#ifdef CCTK_HDF5
+#ifdef HAVE_CAPABILITY_HDF5
static void WriteAttribute (const hid_t dataset, const char* name, char value);
static void WriteAttribute (const hid_t dataset, const char* name, const char* values);
@@ -2616,7 +2616,7 @@ if (want_ghost_zones && output_xyz_flag && !radius_is_ghosted_flag)
unknown_gfn,
unknown_radius_gfn); /*NOTREACHED*/
-#ifdef CCTK_HDF5
+#ifdef HAVE_CAPABILITY_HDF5
using std::ostringstream;
using std::string;