NOAA-GFDL / FMS

GFDL's Flexible Modeling System
Other
87 stars 128 forks source link

configure fails on gaea #1492

Closed uramirez8707 closed 2 months ago

uramirez8707 commented 2 months ago

Describe the bug Configure fails on gaea with the following message: configure: error: The HDF5 version used to build netcdf is incompatible with the set FCFLAGS. NetCDF must be built with a HDF5 version other than 1.14.3 to support floating point exception traps.

Even though I don't have the floating point exception traps flag on

To Reproduce

module load intel-classic/2022.2.1
module load cray-hdf5/1.12.2.3
module load cray-netcdf/4.9.0.3

autoreconf 
mkdir build
cd build
../configure FC=ftn CC=cc FCFLAGS="-O0 -g" LDFLAGS="-O0 -g"

Expected behavior Configure should work

System Environment GAEA with the environment above

Additional context I think the test program should have nc_create instead of nc_open: https://github.com/NOAA-GFDL/FMS/blob/main/configure.ac#L268