Error compiling cosmo_131108_5.00_clm6 – in #9: CCLM

in #9: CCLM

I use a Tyan machine with Debian 7 (Wheezy), mpich2, gfortran-4.7 and various netCDF-4 versions.

Fopts looks like:

PROGRAM = CLM _URB5

STDROOT = ${PWD}
SRCDIR = $( STDROOT )/src
OBJDIR = $( STDROOT )/obj
WORKDIR = $( STDROOT )/work

MPI _INC = /usr/include/mpich2
GRIB_INC = /home/zueger/CLM/dwd_grib_gf_par
NC_INC = /usr/include

LPATH = -L/usr/lib
LIBS = -lnetcdff

GRIB _LIB1 = /home/zueger/CLM/dwd_grib_gf_par/libgrib1.a
GRIB_LIB = -L/usr/lib -lgrib_api_f90 -lgrib_api
NETCDF = /usr/lib
NC_LIB = /usr/lib/libnetcdff.a
NC_MOD = -I/usr/include

#

  1. compiler
    F90 = /usr/bin/mpif90.mpich2_g -cpp -c
    F902 =${F90}
  2. linker
    LDPAR = /usr/bin/mpif90.mpich2_g -static
    LDSEQ = gfortran
#
  1. compile-flags
#
COMFLG = -O3 -I$( SRCDIR ) -I$( MPI _INC) -I$(NC_INC) -I$( GRIB _INC) \ - DNETCDF - DCLM -DGRIBDWD #
COMFLG2=$( COMFLG )
COMFLG3=$( COMFLG )
COMFLG4=$( COMFLG ) #
  1. link-flags
#
LDFLG = -O3 - DSGI -I$( SRCDIR ) -I$(NC_INC) \ -I${MPI_INC} #
LIB = ${LPATH} ${LIBS} ${GRIB_LIB} ${NC_LIB}

This is the version with standard netCDF package, but the problem is the same with every package I used.

Best, Johann

  @johannzüger in #895bca0

I use a Tyan machine with Debian 7 (Wheezy), mpich2, gfortran-4.7 and various netCDF-4 versions.

Fopts looks like:

PROGRAM = CLM _URB5

STDROOT = ${PWD}
SRCDIR = $( STDROOT )/src
OBJDIR = $( STDROOT )/obj
WORKDIR = $( STDROOT )/work

MPI _INC = /usr/include/mpich2
GRIB_INC = /home/zueger/CLM/dwd_grib_gf_par
NC_INC = /usr/include

LPATH = -L/usr/lib
LIBS = -lnetcdff

GRIB _LIB1 = /home/zueger/CLM/dwd_grib_gf_par/libgrib1.a
GRIB_LIB = -L/usr/lib -lgrib_api_f90 -lgrib_api
NETCDF = /usr/lib
NC_LIB = /usr/lib/libnetcdff.a
NC_MOD = -I/usr/include

#

  1. compiler
    F90 = /usr/bin/mpif90.mpich2_g -cpp -c
    F902 =${F90}
  2. linker
    LDPAR = /usr/bin/mpif90.mpich2_g -static
    LDSEQ = gfortran
#
  1. compile-flags
#
COMFLG = -O3 -I$( SRCDIR ) -I$( MPI _INC) -I$(NC_INC) -I$( GRIB _INC) \ - DNETCDF - DCLM -DGRIBDWD #
COMFLG2=$( COMFLG )
COMFLG3=$( COMFLG )
COMFLG4=$( COMFLG ) #
  1. link-flags
#
LDFLG = -O3 - DSGI -I$( SRCDIR ) -I$(NC_INC) \ -I${MPI_INC} #
LIB = ${LPATH} ${LIBS} ${GRIB_LIB} ${NC_LIB}

This is the version with standard netCDF package, but the problem is the same with every package I used.

Best, Johann

I use a Tyan machine with Debian 7 (Wheezy), mpich2, gfortran-4.7 and various netCDF-4 versions.

Fopts looks like:

PROGRAM = CLM _URB5

STDROOT = ${PWD}
SRCDIR = $( STDROOT )/src
OBJDIR = $( STDROOT )/obj
WORKDIR = $( STDROOT )/work

MPI _INC = /usr/include/mpich2
GRIB_INC = /home/zueger/CLM/dwd_grib_gf_par
NC_INC = /usr/include

LPATH = -L/usr/lib
LIBS = -lnetcdff

GRIB _LIB1 = /home/zueger/CLM/dwd_grib_gf_par/libgrib1.a
GRIB_LIB = -L/usr/lib -lgrib_api_f90 -lgrib_api
NETCDF = /usr/lib
NC_LIB = /usr/lib/libnetcdff.a
NC_MOD = -I/usr/include

#

  1. compiler
    F90 = /usr/bin/mpif90.mpich2_g -cpp -c
    F902 =${F90}
  2. linker
    LDPAR = /usr/bin/mpif90.mpich2_g -static
    LDSEQ = gfortran
#
  1. compile-flags
#
COMFLG = -O3 -I$( SRCDIR ) -I$( MPI _INC) -I$(NC_INC) -I$( GRIB _INC) \ - DNETCDF - DCLM -DGRIBDWD #
COMFLG2=$( COMFLG )
COMFLG3=$( COMFLG )
COMFLG4=$( COMFLG ) #
  1. link-flags
#
LDFLG = -O3 - DSGI -I$( SRCDIR ) -I$(NC_INC) \ -I${MPI_INC} #
LIB = ${LPATH} ${LIBS} ${GRIB_LIB} ${NC_LIB}

This is the version with standard netCDF package, but the problem is the same with every package I used.

Best, Johann