diff --git a/var/spack/repos/builtin/packages/hdf5/package.py b/var/spack/repos/builtin/packages/hdf5/package.py index 4cc2ecbd65..d6c53c92a6 100644 --- a/var/spack/repos/builtin/packages/hdf5/package.py +++ b/var/spack/repos/builtin/packages/hdf5/package.py @@ -65,6 +65,7 @@ class Hdf5(AutotoolsPackage): description='Produce position-independent code (for shared libs)') depends_on('mpi', when='+mpi') + depends_on('numactl', when='+mpi+fortran') depends_on('szip', when='+szip') depends_on('zlib@1.1.2:')