Changing how Config.pl looks for the HDF5 high-level fortran library. (#1934)
Changing how Config.pl looks for the HDF5 high-level fortran library.
TYPE: enhancement
KEYWORDS: HDF5, high-level, fortran, library
SOURCE: Timothy Brown (AWS)
DESCRIPTION OF CHANGES:
Problem:
Depending on the installation type (autotools or cmake) of HDF5 the high-level fortran library can be either `hdf5_hl_fortran` or `hdf5hl_fortran`.
Solution:
In `Config.pl` we now check the HDF5 library directory for the high-level fortran library.
ISSUE:
Fixes [manual WRF build with Spack](https://github.com/aws-samples/aws-hpc-tutorials/issues/452)
LIST OF MODIFIED FILES:
M arch/Config.pl
TESTS CONDUCTED:
1. Yes. I have configured and built WRF against installs of HDF5 where the high-level fortran library has been
a. hdf5_hl_fortran
b. hdf5hl_fortran
c. hdf5_hl_fortran and hdf5hl_fortran
2. Passed the Jenkins tests.
RELEASE NOTE: Config.pl now tests for the HDF5 high-level fortran library.