summaryrefslogtreecommitdiffstats
path: root/examples/h5rados_example.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/h5rados_example.h')
-rw-r--r--examples/h5rados_example.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/h5rados_example.h b/examples/h5rados_example.h
index 4516b15..8da9487 100644
--- a/examples/h5rados_example.h
+++ b/examples/h5rados_example.h
@@ -3,7 +3,6 @@
#include <stdlib.h>
#include <mpi.h>
#include <hdf5.h>
-#include <rados/librados.h>
#include <H5VLrados_public.h>
/* Macros for printing standard messages and issuing errors */
@@ -12,3 +11,10 @@
#define ERROR do {FAILED(); AT(); goto error;} while(0)
#define PRINTF_ERROR(...) do {FAILED(); AT(); printf(" " __VA_ARGS__); printf("\n"); goto error;} while(0)
+/* Config file */
+#ifdef HDF5_USE_MOBJECT
+#define CEPH_CONFIG_FILE "/tmp/mobject-cluster-test.gid"
+#else
+#define CEPH_CONFIG_FILE "ceph.conf"
+#endif
+