-
Notifications
You must be signed in to change notification settings - Fork 132
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
PIO and hdf5 failures #932
Comments
Please disregard this - I was having a friday afternoon moment. This workaround doesn't work. I raised in the PIO repo: NCAR/ParallelIO#1985 |
This might be hard because even if the file format is determined, it may not be easy to figure out which formats are supported by the linked PIO/Netcdf libraries. (Although there is this header file in the pio clib with #defines for pnetcdf/netcdf4.) |
It turns out this has already been fixed, see addition of 'ierr == NC_ENOTBUILT' NCAR/ParallelIO@e437a94#diff-205cd9c480611213ad871801509790fd76b6068519d6ead92e2aeb7321d82974 I updated our PIO build to 2.6.2 and the issue went away. (I was using 2.5.10) |
This issue was resolved in PIO 2.6 - should we put a patch in for the older PIO versions still? @apcraig |
It makes sense to me to put a workaround in CICE for the time being. A number of folks might be using older versions of PIO. @anton-seaice, is there a clean and obvious fix that we can PR? I haven't looked closely myself. |
Closed with #966 improvements |
Updates to the CICE IO capabilities revealed an interesting bug. The problem is partly documented in #928.
To summarize, with PIO installed from spack, setting the restart_format to hdf5 when reading a (restart) file that is not hdf5 format results in an error,
(ice_pio_check)NetCDF: Attempt to use feature that was not turned on when netCDF was built., (ice_pio_init) ERROR: Failed to open file cice_model.res.nc
To avoid this issue, the restart read file open was hardwired to 'cdf1' format in #928 which allows restart files of any format to be read, including hdf5.
Some thoughts about how else we might proceed are to
The text was updated successfully, but these errors were encountered: