The NetCDF 4.x library is even harder to build because it requires the HDF5 library (version 1.8 ). We are not planning to do more structural IO changes to ROMS in the future so the model can be compiled with both 3.x and 4.x NetCDF libraries. The parallel IO will be implemented using a CPP option. This will required opening the NetCDF file with different routine, NF_OPEN_PAR.
Now, the NetCDF Users' Guide has the following statement about compatibility:
In view of all reported problems buidling the NetCDF library, I am wondering if we should stored built NetCDF libraries for various architectures and compilers in the ROMS websiteWhen opening an existing netCDF file the netCDF library will transparently detect its format and adjust accordingly. However, netCDF library versions earlier that 3.6.0 cannot read 64-bit offset format files, and libary versions before 4.0 can't read netCDF-4/HDF5 files. NetCDF classic format files (even if created by version 3.6.0 or later) remain compatible with older versions of the netCDF library.
Any suggestions about how to do it This is my take:
Code: Select all
pgisoft/
netcdf3
netcdf4
PARPACK
MCT
EMSF