-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hdf5 1.14.3 errors when compiled with FPE trapping flag #1452
Comments
@rem1776 - do we have a unit test we can use to target this particular file directly to see if there is some attribute or data element in the file that it is complaining about? |
@bensonr I know the test So far I tried a very simple test, using a program with just |
Looks like the problem here is the hdf5 update, after talking to Marshall he referred me to this issue: HDFGroup/hdf5#3831 It's specific to hdf5 1.14.3 and should be fixed in the next release, scheduled for the end of march. I'm gonna transfer this and edit the original message since this is more of a FMS problem, just happened to come up here. |
once the next version of hdf5 is released, we'll update and test |
Closed since #1455 added a check in configure for this. This bug is also fixed for newer versions of hdf5 (tested with 1.14.4-3) |
This first came up in the coupler's null model build (see below) but applies to FMS in general.
When using the latest hdf5 (1.14.3) FPE's occur during netcdf open calls if you compile with the floating point exception trapping flag (ie.
-ftrapuv
which is in our debug flags for mkmf). This is due to changes in hdf5 and is specific to version 1.14.3. There is a fix in hdf5's dev branch and the next scheduled release is for end of march.**old issue**
While updating the CI container, I found that the null model test was failing with a runtime error when compiled with the latest hdf5 version (1.14.3) and netcdf version (4.9.2) with gcc 13.
I reproduced the error on the AMD dev box with both gcc 13 and the latest oneapi (2024.0), so it doesn't seem compiler-specific.
It happens when trying to open the grid_spec.nc as part of
fms_init
, usingopen_file
from fms2_io.The text was updated successfully, but these errors were encountered: