Opened 5 years ago

Last modified 5 years ago

#797 closed defect

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

Reported by: m.hadfield Owned by:
Priority: minor Milestone: Release ROMS/TOMS 3.7
Component: Nonlinear Version: 3.7
Keywords: Cc:

Description

In 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 ticket 796.

I have attached a copy of Linux-gfortran in which NETCDF_LIBS is restored alongside all the 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 (1)

by m.hadfield, 5 years ago

Attachment: Linux-gfortran.mk added
Note: See TracTickets for help on using tickets.