diff options
author | Greg Sjaardema <gsjaardema@gmail.com> | 2019-03-06 19:20:16 -0700 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2019-03-06 20:20:16 -0600 |
commit | c19df8be5ddb1be2d2acd353809e080ab4bb8ad6 (patch) | |
tree | 5c616dbab0fb6939e714998e06be9cb0f0c87fdb | |
parent | 35daaa440f3660c9ca45d4e13604dfff7521564b (diff) | |
download | spack-c19df8be5ddb1be2d2acd353809e080ab4bb8ad6.tar.gz spack-c19df8be5ddb1be2d2acd353809e080ab4bb8ad6.tar.bz2 spack-c19df8be5ddb1be2d2acd353809e080ab4bb8ad6.tar.xz spack-c19df8be5ddb1be2d2acd353809e080ab4bb8ad6.zip |
NetCDF package: update constraints on hdf5 mpi support (#10788)
Update NetCDF to require building hdf5 without mpi when NetCDF itself
is built without mpi support.
-rw-r--r-- | var/spack/repos/builtin/packages/netcdf/package.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/netcdf/package.py b/var/spack/repos/builtin/packages/netcdf/package.py index 58e8e276a9..d8e8abfef0 100644 --- a/var/spack/repos/builtin/packages/netcdf/package.py +++ b/var/spack/repos/builtin/packages/netcdf/package.py @@ -103,7 +103,8 @@ class Netcdf(AutotoolsPackage): # High-level API of HDF5 1.8.9 or later is required for netCDF-4 support: # http://www.unidata.ucar.edu/software/netcdf/docs/getting_and_building_netcdf.html - depends_on('hdf5@1.8.9:+hl') + depends_on('hdf5@1.8.9:+hl~mpi', when='~mpi') + depends_on('hdf5@1.8.9:+hl+mpi', when='+mpi') # Starting version 4.4.0, it became possible to disable parallel I/O even # if HDF5 supports it. For previous versions of the library we need |