From 81bb372d75ddc81c3535b1e915c068037c6a0a43 Mon Sep 17 00:00:00 2001 From: "Seth R. Johnson" Date: Wed, 26 Aug 2020 15:54:05 -0400 Subject: [PATCH] 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. --- var/spack/repos/builtin/packages/trilinos/package.py | 1 + 1 file changed, 1 insertion(+) 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:")