[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #KDV-286604]: Failure building netcdf fortran-4.4.0



Hi James,

> I have a new Mac running OSX 10.9.4
> 
> I successfully built the netcdf C libraries in the standard location 
> (/usr/local). I don’t have the HDF library, so I used
> 
> ./configure —disable-netcdf-4
> 
> For the netcdf-fortran-4.4.0 build, I used
> 
> ./configure (no options)
> 
> which successfully completed (config.log attached).
> 
> make check produced the errors listed below. Where have I erred? Do I need to 
> use an earlier version because I disabled netcdf-4 in the C libs?

Yes, unfortunately the netcdf-fortran-4.4.0 wasn't tested using a netCDF C 
library
built with --disable-netcdf-4, so the build fails, as you have reported.  The 
last
commit that built and passed "make check" was the GitHub commit 33548ef... 
on June 17, 2014.

You can build from that developers snapshot, or wait until we have a release 
that
fixes the bug.  The current github developers snapshot still has the problem you
reported.

--Russ

> Making check in fortran
> ifort  -g -c -o netcdf.o  netcdf.f90
> netcdf_overloads.f90(9): error #7950: Procedure name in MODULE PROCEDURE 
> statement must be the name of accessible module procedure.   
> [NF90_DEF_VAR_FILL_ONEBYTEINT]
> module procedure nf90_def_var_fill_OneByteInt,   &
> ---------------------^
> netcdf_overloads.f90(10): error #7950: Procedure name in MODULE PROCEDURE 
> statement must be the name of accessible module procedure.   
> [NF90_DEF_VAR_FILL_TWOBYTEINT]
> nf90_def_var_fill_TwoByteInt,   &
> ---------------------^
> netcdf_overloads.f90(11): error #7950: Procedure name in MODULE PROCEDURE 
> statement must be the name of accessible module procedure.   
> [NF90_DEF_VAR_FILL_FOURBYTEINT]
> nf90_def_var_fill_FourByteInt,  &
> ---------------------^
> netcdf_overloads.f90(12): error #7950: Procedure name in MODULE PROCEDURE 
> statement must be the name of accessible module procedure.   
> [NF90_DEF_VAR_FILL_EIGHTBYTEINT]
> nf90_def_var_fill_EightByteInt, &
> ---------------------^
> netcdf_overloads.f90(13): error #7950: Procedure name in MODULE PROCEDURE 
> statement must be the name of accessible module procedure.   
> [NF90_DEF_VAR_FILL_FOURBYTEREAL]
> nf90_def_var_fill_FourByteReal, &
> ---------------------^
> netcdf_overloads.f90(14): error #7950: Procedure name in MODULE PROCEDURE 
> statement must be the name of accessible module procedure.   
> [NF90_DEF_VAR_FILL_EIGHTBYTEREAL]
> nf90_def_var_fill_EightByteReal
> ---------------------^
> netcdf_overloads.f90(18): error #7950: Procedure name in MODULE PROCEDURE 
> statement must be the name of accessible module procedure.   
> [NF90_INQ_VAR_FILL_ONEBYTEINT]
> module procedure nf90_inq_var_fill_OneByteInt,   &
> ---------------------^
> netcdf_overloads.f90(19): error #7950: Procedure name in MODULE PROCEDURE 
> statement must be the name of accessible module procedure.   
> [NF90_INQ_VAR_FILL_TWOBYTEINT]
> nf90_inq_var_fill_TwoByteInt,   &
> ---------------------^
> netcdf_overloads.f90(20): error #7950: Procedure name in MODULE PROCEDURE 
> statement must be the name of accessible module procedure.   
> [NF90_INQ_VAR_FILL_FOURBYTEINT]
> nf90_inq_var_fill_FourByteInt,  &
> ---------------------^
> netcdf_overloads.f90(21): error #7950: Procedure name in MODULE PROCEDURE 
> statement must be the name of accessible module procedure.   
> [NF90_INQ_VAR_FILL_EIGHTBYTEINT]
> nf90_inq_var_fill_EightByteInt, &
> ---------------------^
> netcdf_overloads.f90(22): error #7950: Procedure name in MODULE PROCEDURE 
> statement must be the name of accessible module procedure.   
> [NF90_INQ_VAR_FILL_FOURBYTEREAL]
> nf90_inq_var_fill_FourByteReal, &
> ---------------------^
> netcdf_overloads.f90(23): error #7950: Procedure name in MODULE PROCEDURE 
> statement must be the name of accessible module procedure.   
> [NF90_INQ_VAR_FILL_EIGHTBYTEREAL]
> nf90_inq_var_fill_EightByteReal
> ---------------------^
> netcdf_overloads.f90(9): error #7407: Unresolved MODULE PROCEDURE 
> specification name.   [NF90_DEF_VAR_FILL_ONEBYTEINT]
> module procedure nf90_def_var_fill_OneByteInt,   &
> ---------------------^
> netcdf_overloads.f90(10): error #7407: Unresolved MODULE PROCEDURE 
> specification name.   [NF90_DEF_VAR_FILL_TWOBYTEINT]
> nf90_def_var_fill_TwoByteInt,   &
> ---------------------^
> netcdf_overloads.f90(11): error #7407: Unresolved MODULE PROCEDURE 
> specification name.   [NF90_DEF_VAR_FILL_FOURBYTEINT]
> nf90_def_var_fill_FourByteInt,  &
> ---------------------^
> netcdf_overloads.f90(12): error #7407: Unresolved MODULE PROCEDURE 
> specification name.   [NF90_DEF_VAR_FILL_EIGHTBYTEINT]
> nf90_def_var_fill_EightByteInt, &
> ---------------------^
> netcdf_overloads.f90(13): error #7407: Unresolved MODULE PROCEDURE 
> specification name.   [NF90_DEF_VAR_FILL_FOURBYTEREAL]
> nf90_def_var_fill_FourByteReal, &
> ---------------------^
> netcdf_overloads.f90(14): error #7407: Unresolved MODULE PROCEDURE 
> specification name.   [NF90_DEF_VAR_FILL_EIGHTBYTEREAL]
> nf90_def_var_fill_EightByteReal
> ---------------------^
> netcdf_overloads.f90(18): error #7407: Unresolved MODULE PROCEDURE 
> specification name.   [NF90_INQ_VAR_FILL_ONEBYTEINT]
> module procedure nf90_inq_var_fill_OneByteInt,   &
> ---------------------^
> netcdf_overloads.f90(19): error #7407: Unresolved MODULE PROCEDURE 
> specification name.   [NF90_INQ_VAR_FILL_TWOBYTEINT]
> nf90_inq_var_fill_TwoByteInt,   &
> ---------------------^
> netcdf_overloads.f90(20): error #7407: Unresolved MODULE PROCEDURE 
> specification name.   [NF90_INQ_VAR_FILL_FOURBYTEINT]
> nf90_inq_var_fill_FourByteInt,  &
> ---------------------^
> netcdf_overloads.f90(21): error #7407: Unresolved MODULE PROCEDURE 
> specification name.   [NF90_INQ_VAR_FILL_EIGHTBYTEINT]
> nf90_inq_var_fill_EightByteInt, &
> ---------------------^
> netcdf_overloads.f90(22): error #7407: Unresolved MODULE PROCEDURE 
> specification name.   [NF90_INQ_VAR_FILL_FOURBYTEREAL]
> nf90_inq_var_fill_FourByteReal, &
> ---------------------^
> netcdf_overloads.f90(23): error #7407: Unresolved MODULE PROCEDURE 
> specification name.   [NF90_INQ_VAR_FILL_EIGHTBYTEREAL]
> nf90_inq_var_fill_EightByteReal
> ---------------------^
> compilation aborted for netcdf.f90 (code 1)
> make[1]: *** [netcdf.o] Error 1
> make: *** [check-recursive] Error 1
> 
> 
> 
> 
Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: KDV-286604
Department: Support netCDF
Priority: Normal
Status: Closed