summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth R. Johnson <johnsonsr@ornl.gov>2020-08-26 15:54:05 -0400
committerGitHub <noreply@github.com>2020-08-26 14:54:05 -0500
commit81bb372d75ddc81c3535b1e915c068037c6a0a43 (patch)
treef7a93f12b075a6b9f05039543b51833a53cdbabf
parent26bab9d4d629bf141602be53efb15925ab465a99 (diff)
downloadspack-81bb372d75ddc81c3535b1e915c068037c6a0a43.tar.gz
spack-81bb372d75ddc81c3535b1e915c068037c6a0a43.tar.bz2
spack-81bb372d75ddc81c3535b1e915c068037c6a0a43.tar.xz
spack-81bb372d75ddc81c3535b1e915c068037c6a0a43.zip
Trilinos: Require parallel HDF5 when +hdf5+mpi (#17606)
EpetraExt requires parallel IO. It does after all make sense to require the parallel version of HDF5 when building a parallel solver library.
-rw-r--r--var/spack/repos/builtin/packages/trilinos/package.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/trilinos/package.py b/var/spack/repos/builtin/packages/trilinos/package.py
index 2924fd7a38..e6cd299678 100644
--- a/var/spack/repos/builtin/packages/trilinos/package.py
+++ b/var/spack/repos/builtin/packages/trilinos/package.py
@@ -341,6 +341,7 @@ class Trilinos(CMakePackage):
# MPI related dependencies
depends_on('mpi', when='+mpi')
+ depends_on('hdf5+mpi', when="+hdf5+mpi")
depends_on('netcdf-c+mpi', when="+netcdf~pnetcdf+mpi")
depends_on('netcdf-c+mpi+parallel-netcdf', when="+netcdf+pnetcdf@master,12.12.1:")
depends_on('parallel-netcdf', when="+netcdf+pnetcdf@master,12.12.1:")