Hi,
I tried many times for installing netcdf C and fortran libraries as suggested on cmass forum (e.g. https://github.com/USEPA/CMAQ/blob/master/DOCS/Users_Guide/Tutorials/CMAQ_UG_tutorial_build_library_intel.md) but haven’t succeeded yet. Moreover, it seems not possible to install netcdf-fortran libraries by the method suggested ( -with disable-netcdf-4 -disable-dap does NOT work!).
I wonder if anyone ever was successful building these libraries by this method?
e.g. make chek on netcdf-fortran throws errors
…/fortran/.libs/libnetcdff.so: undefined reference to `nc_get_chunk_cache_ints’
…/fortran/.libs/libnetcdff.so: undefined reference to `nc_set_var_chunk_cache_ints’
…/fortran/.libs/libnetcdff.so: undefined reference to `nc_def_var_chunking_ints’
…/fortran/.libs/libnetcdff.so: undefined reference to `nc_set_chunk_cache_ints’
…/fortran/.libs/libnetcdff.so: undefined reference to `nc_get_var_chunk_cache_ints’
…/fortran/.libs/libnetcdff.so: undefined reference to `nc_inq_var_chunking_ints’
I inquired with unidata and they indicated it is NOT possible to install netcdf-fortran the way it is suggested (i.e using disable-netcdf-4 -disable-dap doesn’t allow install netcdf-fortran) and I was told to reconfigure netcdf-c with netcdf-4 enabled!
If you have any tricks to build netcdf-c classic only that will let install netcdf-fortran without errors, please let me know. Is it possible to use netcdf-4 enabled libraries with CMAQ?
Thank you.
Regards