I get the following error message at the very end of the
"make" run:
[..]
gfortran -frepack-arrays -O3 -ffast-math Build/master.o Build/ocean_control.o Build/ocean_coupler.o Build/propagator.o -o Executable/oceanS Build/libNLM.a Build/libANA.a Build/libICE.a Build/libUTIL.a Build/libMODS.a -L/usr/local/lib -lnetcdf
Build/libNLM.a(output.o)(.text+0x340): In function `output_':
output.f90: undefined reference to `__netcdf__nf90_close'
Build/libNLM.a(output.o)(.text+0x466):output.f90: undefined reference to `__netcdf__nf90_close'
Build/libNLM.a(output.o)(.text+0x538):output.f90: undefined reference to `__netcdf__nf90_close'
Build/libUTIL.a(close_io.o)(.text+0x56): In function `close_io_':
.....
and then this continues for another hundred of lines or so.
Has anyone encountered a similar problem and knows how to resolve it?
Thank you.