[netcdfgroup] JULES v3.3 make BUILD results in errors on my Ubuntu machine

Dear,

I compiled and installed NetCDF 4.1.3 succesfully on my Ubuntu machine
(newer versions of NetCDF gave some errors). Then I tried to install the
land surface model JULES 3.3. This failed at running:
make BUILD=run COMPILER=gfortran

I got the following errors:
Error: Symbol 'nf90_netcdf4' referenced at (1) not found in module 'netcdf'
Error: Symbol 'nf90_mpiio' referenced at (1) not found in module 'netcdf'

I tried changing variables in the Makefile.comp.gfortran. With the settings
shown here beneath, a colleague was able to successfully install JULES on a
Mac, by I failed on my Ubuntu (3.5.0-32-generic #53~precise1-Ubuntu). I
have got no idea anymore what to do.
Thanks very much for any help!

Joost
University of Bristol

#########################################################################
## Compiler specific variables for gfortran (from gcc v1.2.1)          ##
##                                                                     ##
## FC       = Fortran compiler command                                 ##
## CC       = C compiler command                                       ##
## CPP      = C++ compiler command                                     ##
## FPP      = Flag for enabling pre-processor                          ##
## FPP_FDEF = Flag for defining pre-processor variables                ##
## FPP_INC  = Flag for adding pre-processor include search paths       ##
## FF_RUN   = Compiler flags for normal operation.                     ##
## FF_DBG   = Compiler flags for debugging.                            ##
## FF_FAST  = Compiler flags for optimised performance.                ##
## FF_CON   = Compiler flags for Condor.                               ##
## LIB_INC  = Flag for adding library search paths.                    ##
## LIB_PRE  = Flag for linking a specific library.                     ##
## LIB_FPRE = Prefix common to all library archive filenames.          ##
## LIB_FSUF = Suffix/extension common to all library archive filenames.##
## LINKER   = Fortran compiler command for the linking (loader) stage  ##
## MOD_INC  = Flag for adding Fortran 90 module search paths.          ##
## MOD_FSUF = Suffix/extension common to all Fortran 90 modules        ##
#########################################################################
FC=gfortran -fno-underscoring
CC=gcc
CPP=g++
FPP=
FPP_FDEF=-D
FPP_INC=-I
FF_RUN=-fbounds-check
FF_DBG=-g -pg -fbounds-check -Wall
FF_FAST=-O3
FF_CON=-O3
LIB_INC=-L
LIB_PRE=-l
LIB_FPRE=lib
LIB_FSUF=.a
LINKER=$(FC)
MOD_PUT=-J
MOD_INC=-I
MOD_FSUF=.mod
  • 2013 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: