diff options
author | Tom Payerle <payerle@umd.edu> | 2024-01-29 03:41:51 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-29 09:41:51 +0100 |
commit | 6474d7ef00d934aafb817abdce1fa6f25f1fb2f4 (patch) | |
tree | d62f2074e85e6862569d6e2c23db5374e94a186c | |
parent | 0b23bbbbb03e3d06c872137b68f467cbc794d316 (diff) | |
download | spack-6474d7ef00d934aafb817abdce1fa6f25f1fb2f4.tar.gz spack-6474d7ef00d934aafb817abdce1fa6f25f1fb2f4.tar.bz2 spack-6474d7ef00d934aafb817abdce1fa6f25f1fb2f4.tar.xz spack-6474d7ef00d934aafb817abdce1fa6f25f1fb2f4.zip |
hdf5: Make +subfiling variant depend on +mpi (#42324)
Based on CMakeLists.txt, the subfiling VFD requires a parallel HDF5 build.
So make +subfiling variant depend on +mpi
Should resolve #42323
-rw-r--r-- | var/spack/repos/builtin/packages/hdf5/package.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/hdf5/package.py b/var/spack/repos/builtin/packages/hdf5/package.py index be49216e18..a7f267d810 100644 --- a/var/spack/repos/builtin/packages/hdf5/package.py +++ b/var/spack/repos/builtin/packages/hdf5/package.py @@ -88,7 +88,9 @@ class Hdf5(CMakePackage): variant("hl", default=False, description="Enable the high-level library") variant("cxx", default=False, description="Enable C++ support") variant("map", when="@1.14:", default=False, description="Enable MAP API support") - variant("subfiling", when="@1.14:", default=False, description="Enable Subfiling VFD support") + variant( + "subfiling", when="@1.14: +mpi", default=False, description="Enable Subfiling VFD support" + ) variant("fortran", default=False, description="Enable Fortran support") variant("java", when="@1.10:", default=False, description="Enable Java support") variant("threadsafe", default=False, description="Enable thread-safe capabilities") |