From 436ff3c818b6a209e3e9460bd783bd7719d30030 Mon Sep 17 00:00:00 2001 From: Doug Jacobsen Date: Thu, 13 Mar 2025 11:47:37 -0600 Subject: [PATCH] wrf: Remove fortran variant from hdf5 (#49286) This commit removes the +fortran variant when building HDF5 for WRF. This seems unnecessary, and prevents building WRF with some versions of Intel MPI, as HDF5 doesn't appear to build with Fortran support and Intel MPI. --- var/spack/repos/builtin/packages/wrf/package.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/wrf/package.py b/var/spack/repos/builtin/packages/wrf/package.py index fd956774dfa..90ca3b1c437 100644 --- a/var/spack/repos/builtin/packages/wrf/package.py +++ b/var/spack/repos/builtin/packages/wrf/package.py @@ -256,8 +256,7 @@ class Wrf(Package): depends_on("zlib-api") depends_on("perl") depends_on("jemalloc", when="%aocc") - # not sure if +fortran is required, but seems like a good idea - depends_on("hdf5+fortran+hl+mpi") + depends_on("hdf5+hl+mpi") # build script use csh depends_on("tcsh", type=("build")) # time is not installed on all systems b/c bash provides it