CICE-Consortium/CICE

Option lcdf64 = .false. do not dump restart file

TillRasmussen opened this issue · 2 comments

When running cice with lcdf64 = .false. netcdf files cannot exceed 2gb. I think that we should change the default to true and add a warning in case it is changed to false.
When the files are larger than 2gb it will not produce a warning. It will just not close the file probably and therefore it is not created

Hi Till!

 When the files are larger than 2gb it will not produce a warning. It will just not close the file probably and therefore it is not created

Yes, we encountered that bug recently when updating one of our system to CICE6. I tracked it down and fixed it with that commit: phil-blain@9bee171.

In short, we do not check the return code of the NetCDF subroutine. This is the case at multiple places in the code... I fixed a similar one in phil-blain@9aa116c but a complete audit would be required.

These commits are not yet PR'd, but I plan on doing so.