diff options
author | Kai Germaschewski <kai.germaschewski@unh.edu> | 2020-03-19 12:42:19 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-19 11:42:19 -0500 |
commit | b583b0e112b538530360cb7137f4776999c9b49c (patch) | |
tree | ea2727fd79c7f45d510017eb5295e68aad94cf94 /var/spack/repos/builtin/packages/petsc/package.py | |
parent | ef68d1f5dff07a7b80b72f73df3764c869effc3b (diff) | |
download | spack-b583b0e112b538530360cb7137f4776999c9b49c.tar.gz spack-b583b0e112b538530360cb7137f4776999c9b49c.tar.bz2 spack-b583b0e112b538530360cb7137f4776999c9b49c.tar.xz spack-b583b0e112b538530360cb7137f4776999c9b49c.zip |
petsc fix hdf5 (#15572)
* petsc: add checksum for 3.12.4
* petsc: constrain hdf5 to <= 1.10.x
Current petsc will error when being build with hdf5 1.12, so this ensures that
a compatible hdf5 will be used. Fix suggested by @balay.
Diffstat (limited to 'var/spack/repos/builtin/packages/petsc/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/petsc/package.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/petsc/package.py b/var/spack/repos/builtin/packages/petsc/package.py index b58fa0c3c8..577f53a163 100644 --- a/var/spack/repos/builtin/packages/petsc/package.py +++ b/var/spack/repos/builtin/packages/petsc/package.py @@ -24,6 +24,7 @@ class Petsc(Package): version('develop', branch='master') version('xsdk-0.2.0', tag='xsdk-0.2.0') + version('3.12.4', sha256='56a941130da93bbacb3cfa74dcacea1e3cd8e36a0341f9ced09977b1457084c3') version('3.12.3', sha256='91f77d7b0f54056f085b9e27938922db3d9bb1734a2e2a6d26f43d3e6c0cf631') version('3.12.2', sha256='d874b2e198c4cb73551c2eca1d2c5d27da710be4d00517adb8f9eb3d6d0375e8') version('3.12.1', sha256='b72d895d0f4a79acb13ebc782b47b26d10d4e5706d399f533afcd5b3dba13737') @@ -145,7 +146,7 @@ class Petsc(Package): depends_on('metis@5:~int64', when='@3.8:+metis~int64') depends_on('metis@5:+int64', when='@3.8:+metis+int64') - depends_on('hdf5+mpi+hl+fortran', when='+hdf5+mpi') + depends_on('hdf5@:1.10.99+mpi+hl+fortran', when='+hdf5+mpi') depends_on('zlib', when='+hdf5') depends_on('parmetis', when='+metis+mpi') depends_on('valgrind', when='+valgrind') |