[netcdfgroup] Error to build netcdf-fortran 4.4.0

Hi,

I was trying to build netcdf-fortran 4.4.0. But, I encountered the
following error:

gfortran  -g -O2 -c -o netcdf.o  netcdf.f90

netcdf_overloads.f90:13.52:

    Included at netcdf.f90:48:

    nf90_def_var_fill_FourByteReal, &1

    Error: Procedure 'nf90_def_var_fill_eightbytereal' in generic interface
'nf90_def_var_fill' at (1) is neither function nor subroutine

    netcdf_overloads.f90:22.52:

    Included at netcdf.f90:48:

    nf90_inq_var_fill_FourByteReal, &1    Error: Procedure
'nf90_inq_var_fill_eightbytereal' in generic interface 'nf90_inq_var_fill'
at (1) is neither function nor subroutine

    netcdf_text_variables.f90:60.93:    Included at netcdf.f90:56:

    numDims  ) = (/ 1, (product(localCount(:counter)), counter = 1, numDims
- 1) /)

    1Warning: DO loop at (1) will be executed zero time


My config flag is:

CC=gcc FC=gfortran CXX=c++ FC=gfortran
CPPFLAGS=-I/home/limin/help_tools/netcdf-4.3.2/install/include
LDFLAGS=-L/home/limin/help_tools/netcdf-4.3.2/install/lib ./configure
--prefix=$PWD/install --disable-fortran-type-check && make -j8

I was using GCC 4.8.2. The netcdf-c is installed successfully.

Does anyone encounter the same error before?


Regards,

Mingzhe
  • 2014 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: