Unidata / netcdf-fortran

Official GitHub repository for netCDF-Fortran libraries, which depend on the netCDF C library. Install the netCDF C library first.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

netcdf-fortran ./configure error

oceandiff opened this issue · comments

Hi all,
I'm triing to install netcdf-fortran on a linux machine with ifort compiler. when I try to configure I've this messages:
checking size of off_t... configure: error: in /lib/netcdf-fortran-4.5.3':
configure: error: cannot compute sizeof (off_t)
See config.log' for more details

the log:

``configure:4627: result: no
configure:4630: checking if netCDF was built with HDF5 parallel I/O features
configure:4647: icc -c -g -O2 conftest.c >&5
conftest.c(20): error: identifier "choke" is undefined
choke me
^

compilation aborted for conftest.c (code 2)
configure:4647: $? = 2
configure: failed program was:
| /* confdefs.h /
| #define PACKAGE_NAME "netCDF-Fortran"
| #define PACKAGE_TARNAME "netcdf-fortran"
| #define PACKAGE_VERSION "4.5.3"
| #define PACKAGE_STRING "netCDF-Fortran 4.5.3"
| #define PACKAGE_BUGREPORT "support-netcdf@unidata.ucar.edu"
| #define PACKAGE_URL ""
| #define PACKAGE "netcdf-fortran"
| #define VERSION "4.5.3"
| #define NF_RELAX_COORD_BOUND 1
| #define ENABLE_CDF5 1
| /
end confdefs.h. */``

Thanks for yours help...

Is this the latest version of netcdf-c and netcdf-fortran?

Can you please include the entire output of configure and make check? Also the config.log file...