summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/CMakeLists.txt5
-rw-r--r--examples/Makefile.am7
2 files changed, 10 insertions, 2 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index 58454c7..90a3027 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -47,8 +47,11 @@ if (H5_HAVE_PARALLEL)
ph5example
ph5_filtered_writes
ph5_filtered_writes_no_sel
- ph5_subfiling
)
+
+ if (HDF5_ENABLE_SUBFILING_VFD)
+ list (APPEND parallel_examples ph5_subfiling)
+ endif ()
endif ()
foreach (example ${examples})
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 2a02838..0ffae7f 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -20,7 +20,12 @@
include $(top_srcdir)/config/commence.am
if BUILD_PARALLEL_CONDITIONAL
- EXAMPLE_PROG_PARA = ph5example ph5_filtered_writes ph5_filtered_writes_no_sel ph5_subfiling
+ EXAMPLE_PROG_PARA = ph5example ph5_filtered_writes ph5_filtered_writes_no_sel
+
+if SUBFILING_VFD_CONDITIONAL
+ EXAMPLE_PROG_PARA += ph5_subfiling
+endif
+
endif
INSTALL_SCRIPT_FILES = run-c-ex.sh