I'm trying to install on a Laptop running Windows, using VMWare and Ubuntu Linux. We have run into a problem and are a bit stuck. The error we get is:
jars@jars-desktop:~/trunk$ make
makefile:226: INCLUDING FILE Build/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
gfortran -frepack-arrays -O3 -ffast-math Build/master.o Build/ocean_control.o Build/ocean_coupler.o Build/propagator.o -o oceanS Build/libNLM.a Build/libANA.a Build/libICE.a Build/libUTIL.a Build/libMODS.a -L/usr/lib -lnetcdf
Build/libNLM.a(output.o): In function `output_':
output.f90:(.text+0x343): undefined reference to `__netcdf__nf90_close'
output.f90:(.text+0x477): undefined reference to `__netcdf__nf90_close'
output.f90:(.text+0x559): undefined reference to `__netcdf__nf90_close'
Build/libUTIL.a(close_io.o): In function `close_io_':
close_io.f90:(.text+0x65): undefined reference to `__netcdf__nf90_close'
close_io.f90:(.text+0x98): undefined reference to `__netcdf__nf90_close'
and on and on and on.....
The compile file was changed to point netCDF to where we think it should be.
NETCDF_INCDIR ?= /home/jars/netCDF/include
NETCDF_LIBDIR ?= /home/jars/netCDF/lib
We pulled down an install from the Unidata site as well as through synaptic and pointed to both places but have the same errors.
Any advice to what we're doing wrong? THANKS
Linux laptop install
I have a very similar setup, although I am using Intel Fortran Compiler.
Not sure if I had the same errors, but compiling NetCDF library from scratch solved them (see here: http://www.unidata.ucar.edu/software/ne ... -Unix.html).
hope it helps.
Not sure if I had the same errors, but compiling NetCDF library from scratch solved them (see here: http://www.unidata.ucar.edu/software/ne ... -Unix.html).
hope it helps.