Opened 6 years ago

Closed 6 years ago

#797 closed defect (Fixed)

Restore NETCDF_LIBS to Linux-gfortran.mk — at Version 1

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 arango)

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

Change History (2)

by m.hadfield, 6 years ago

Attachment: Linux-gfortran.mk added

comment:1 by arango, 6 years ago

Description: modified (diff)
Resolution: Fixed
Status: newclosed

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.

Note: See TracTickets for help on using tickets.