Opened 7 years ago
Closed 7 years ago
#797 closed defect (Fixed)
Restore NETCDF_LIBS to Linux-gfortran.mk
| Reported by: | m.hadfield | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | Release ROMS/TOMS 3.7 |
| Component: | Nonlinear | Version: | 3.7 |
| Keywords: | Cc: |
Description (last modified by )
In src:ticket:762 I submitted several makefiles in which a new variable, NETCDF_LIBS, was defined to allow overriding of the default netCDF linker switch, -lnetcdf. (Specifically, this is needed on CentOS 7 systems, where the netCDF-Fortran installation is broken.) The change was overridden in the recent makefile overhaul in src:ticket:796.
I have attached a copy of Linux-gfortran.mk in which NETCDF_LIBS is restored alongside all the src:ticket:796 changes. I have also added a corresponding variable, HDF5_LIBS, to help with linking the HDF5 libraries.
I will check the Cray Linux-ftn-[gnu/intel/cray] make files in due course
Attachments (1)
Change History (2)
by , 7 years ago
| Attachment: | Linux-gfortran.mk added |
|---|
comment:1 by , 7 years ago
| Description: | modified (diff) |
|---|---|
| Resolution: | → Fixed |
| Status: | new → closed |

Thank you, Mark. It is weird that you have to do this on CentOS. Anyway, it is a different style that will not affect other configurations. I have to do it in all the ones that I use to avoid erasing it again in the future. I don't have access to all those operating systems and compiler.