Unidata / netcdf-fortran

Official GitHub repository for netCDF-Fortran libraries, which depend on the netCDF C library. Install the netCDF C library first.
Other
243 stars 98 forks source link

can not make correctly #298

Open RyosukeDTomita opened 3 years ago

RyosukeDTomita commented 3 years ago

I lookde this artcle →GMD to try to build netcdf-fortran-4.4.4. But It's not working.

./configure
make
sudo make check

make  all-recursive
make[1]: Entering directory '/home/tomita/Downloads/netcdf-fortran-4.4.5'
Making all in fortran
make[2]: Entering directory '/home/tomita/Downloads/netcdf-fortran-4.4.5/fortran'
gfortran -DHAVE_CONFIG_H -I. -I.. -I../libsrc     -g -O2 -c -o module_netcdf_nf_interfaces.o module_netcdf_nf_interfaces.F90
f951: Fatal Error: Reading module ‘netcdf_nf_data’ at line 1929 column 69: Unexpected EOF
compilation terminated.
make[2]: *** [Makefile:593: module_netcdf_nf_interfaces.o] Error 1
make[2]: Leaving directory '/home/tomita/Downloads/netcdf-fortran-4.4.5/fortran'
make[1]: *** [Makefile:544: all-recursive] Error 1
make[1]: Leaving directory '/home/tomita/Downloads/netcdf-fortran-4.4.5'
make: *** [Makefile:416: all] Error 2

How can I fix the error?

my environment

WardF commented 3 years ago

There have been several releases since v4.4.4, can you try building the latest version and let us know if the issue persists?

RyosukeDTomita commented 3 years ago

Hi! thank you for reply! I tried to v 4.4.5,4.4.1,and the newest version. But it's not work correctly. So, I tried to install with apt.

sudo apt install libnetcdff-dev

May be it's working.

xelmirage commented 2 years ago

same issue under

ubuntu18.04 netcdf-c-4.8.1 netcdf-fortran-4.5.4

gfortran 7.5.0

WardF commented 2 years ago

@xelmirage can you provide the config.log file generated when you ran configure?

xelmirage commented 2 years ago

@xelmirage can you provide the config.log file generated when you ran configure?

This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake.

It was created by netCDF-Fortran configure 4.5.4, which was generated by GNU Autoconf 2.71. Invocation command line was

$ ./configure CC=gcc FC=gfortran LD_LIBRARY_PATH=/home/yzm/installz/netcdf-install/lib: CPPFLAGS=-I/home/yzm/installz/netcdf-install/include LDFLAGS=-L/home/yzm/installz/netcdf-install/lib --prefix=/home/yzm/installz/netcdf-install/

---------

Platform.

---------

hostname = geowater-Precision-7920-Tower uname -m = x86_64 uname -r = 5.4.0-107-generic uname -s = Linux uname -v = #121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022

/usr/bin/uname -p = unknown /bin/uname -X = unknown

/bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown

PATH: /usr/local/sbin/ PATH: /usr/local/bin/ PATH: /usr/sbin/ PATH: /usr/bin/ PATH: /sbin/ PATH: /bin/ PATH: /usr/games/ PATH: /usr/local/games/ PATH: /snap/bin/

-----------

Core tests.

-----------

configure:2969: looking for aux files: ltmain.sh compile missing install-sh config.guess config.sub configure:2982: trying ./ configure:3011: ./ltmain.sh found configure:3011: ./compile found configure:3011: ./missing found configure:2993: ./install-sh found configure:3011: ./config.guess found configure:3011: ./config.sub found configure:3127: netCDF-Fortran 4.5.4 configure:3148: checking build system type configure:3163: result: x86_64-pc-linux-gnu configure:3183: checking host system type configure:3197: result: x86_64-pc-linux-gnu configure:3219: checking target system type configure:3233: result: x86_64-pc-linux-gnu configure:3278: checking for a BSD-compatible install configure:3351: result: /usr/bin/install -c configure:3362: checking whether build environment is sane configure:3417: result: yes configure:3576: checking for a race-free mkdir -p configure:3620: result: /bin/mkdir -p configure:3627: checking for gawk configure:3662: result: no configure:3627: checking for mawk configure:3648: found /usr/bin/mawk configure:3659: result: mawk configure:3670: checking whether make sets $(MAKE) configure:3693: result: yes configure:3723: checking whether make supports nested variables configure:3741: result: yes configure:3878: checking whether to enable maintainer-specific portions of Makefiles configure:3888: result: no configure:3902: checking user options configure:3918: checking whether make supports the include directive configure:3933: make -f confmf.GNU && cat confinc.out this is the am__doit target configure:3936: $? = 0 configure:3955: result: yes (GNU style) configure:4031: checking for gcc configure:4063: result: gcc configure:4416: checking for C compiler version configure:4425: gcc --version >&5 gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:4436: $? = 0 configure:4425: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) configure:4436: $? = 0 configure:4425: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:4436: $? = 1 configure:4425: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion'; did you mean '--version'? gcc: fatal error: no input files compilation terminated. configure:4436: $? = 1 configure:4425: gcc -version >&5 gcc: error: unrecognized command line option '-version' gcc: fatal error: no input files compilation terminated. configure:4436: $? = 1 configure:4456: checking whether the C compiler works configure:4478: gcc -I/home/yzm/installz/netcdf-install/include -L/home/yzm/installz/netcdf-install/lib conftest.c >&5 configure:4482: $? = 0 configure:4532: result: yes configure:4535: checking for C compiler default output file name configure:4537: result: a.out configure:4543: checking for suffix of executables configure:4550: gcc -o conftest -I/home/yzm/installz/netcdf-install/include -L/home/yzm/installz/netcdf-install/lib conftest.c >&5 configure:4554: $? = 0 configure:4577: result: configure:4599: checking whether we are cross compiling configure:4607: gcc -o conftest -I/home/yzm/installz/netcdf-install/include -L/home/yzm/installz/netcdf-install/lib conftest.c >&5 configure:4611: $? = 0 configure:4618: ./conftest configure:4622: $? = 0 configure:4637: result: no configure:4642: checking for suffix of object files configure:4665: gcc -c -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:4669: $? = 0 configure:4691: result: o configure:4695: checking whether the compiler supports GNU C configure:4715: gcc -c -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:4715: $? = 0 configure:4725: result: yes configure:4736: checking whether gcc accepts -g configure:4757: gcc -c -g -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:4757: $? = 0 configure:4801: result: yes configure:4821: checking for gcc option to enable C11 features configure:4836: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:4836: $? = 0 configure:4854: result: none needed configure:4970: checking whether gcc understands -c and -o together configure:4993: gcc -c conftest.c -o conftest2.o configure:4996: $? = 0 configure:4993: gcc -c conftest.c -o conftest2.o configure:4996: $? = 0 configure:5008: result: yes configure:5027: checking dependency style of gcc configure:5139: result: gcc3 configure:5170: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:5170: $? = 0 configure:5183: checking if netCDF was built with CDF5 configure:5200: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:5200: $? = 0 configure:5212: result: yes configure:5215: checking if netCDF was built with pnetcdf configure:5232: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 conftest.c: In function 'main': conftest.c:20:7: error: unknown type name 'choke' choke me ^~~~~ configure:5232: $? = 1 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "netCDF-Fortran" #define PACKAGE_TARNAME "netcdf-fortran" #define PACKAGE_VERSION "4.5.4" #define PACKAGE_STRING "netCDF-Fortran 4.5.4" #define PACKAGE_BUGREPORT "support-netcdf@unidata.ucar.edu" #define PACKAGE_URL "" #define PACKAGE "netcdf-fortran" #define VERSION "4.5.4" #define NF_RELAX_COORD_BOUND 1 #define ENABLE_CDF5 1 / end confdefs.h. /
int
main (void)
{
#include
#if !defined(NC_HAS_PNETCDF) NC_HAS_PNETCDF == 0
choke me
#endif
;
return 0;
}
configure:5244: result: no configure:5247: checking if netCDF was built with HDF5 parallel I/O features configure:5264: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 conftest.c: In function 'main': conftest.c:20:7: error: unknown type name 'choke' choke me ^~~~~ configure:5264: $? = 1 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "netCDF-Fortran" #define PACKAGE_TARNAME "netcdf-fortran" #define PACKAGE_VERSION "4.5.4" #define PACKAGE_STRING "netCDF-Fortran 4.5.4" #define PACKAGE_BUGREPORT "support-netcdf@unidata.ucar.edu" #define PACKAGE_URL "" #define PACKAGE "netcdf-fortran" #define VERSION "4.5.4" #define NF_RELAX_COORD_BOUND 1 #define ENABLE_CDF5 1 / end confdefs.h. /
int
main (void)
{
#include
#if !defined(NC_HAS_PARALLEL4) NC_HAS_PARALLEL4 == 0
choke me
#endif
;
return 0;
}
configure:5271: result: no configure:5274: checking if netCDF was built with any parallel I/O features configure:5291: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 conftest.c: In function 'main': conftest.c:20:7: error: unknown type name 'choke' choke me ^~~~~ configure:5291: $? = 1 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "netCDF-Fortran" #define PACKAGE_TARNAME "netcdf-fortran" #define PACKAGE_VERSION "4.5.4" #define PACKAGE_STRING "netCDF-Fortran 4.5.4" #define PACKAGE_BUGREPORT "support-netcdf@unidata.ucar.edu" #define PACKAGE_URL "" #define PACKAGE "netcdf-fortran" #define VERSION "4.5.4" #define NF_RELAX_COORD_BOUND 1 #define ENABLE_CDF5 1 / end confdefs.h. /
int
main (void)
{
#include
#if !defined(NC_HAS_PARALLEL) NC_HAS_PARALLEL == 0
choke me
#endif
;
return 0;
}

configure:5298: result: no configure:5303: checking if netCDF-fortran should be built with HDF5 parallel I/O features configure:5313: result: no configure:5316: checking if netCDF was built with support for szip writes configure:5333: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:5333: $? = 0 configure:5340: result: yes configure:5372: checking for valgrind configure:5407: result: no configure:5812: checking whether parallel IO tests should be run configure:5821: result: no configure:5837: checking whether a user specified program to run mpi programs configure:5848: result: mpiexec configure:5856: checking whether netCDF documentation should be generated configure:5865: result: no configure:5901: checking for doxygen configure:5936: result: no configure:5945: WARNING: Doxygen not found - documentation will not be built configure:5955: checking for dot configure:5990: result: no configure:5999: WARNING: dot not found - will use simple charts in documentation configure:6018: finding C compiler configure:6074: checking for gcc configure:6106: result: gcc configure:6459: checking for C compiler version configure:6468: gcc --version >&5 gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:6479: $? = 0 configure:6468: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) configure:6479: $? = 0 configure:6468: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:6479: $? = 1 configure:6468: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion'; did you mean '--version'? gcc: fatal error: no input files compilation terminated. configure:6479: $? = 1 configure:6468: gcc -version >&5 gcc: error: unrecognized command line option '-version' gcc: fatal error: no input files compilation terminated. configure:6479: $? = 1 configure:6483: checking whether the compiler supports GNU C configure:6513: result: yes configure:6524: checking whether gcc accepts -g configure:6589: result: yes configure:6609: checking for gcc option to enable C11 features configure:6642: result: none needed configure:6758: checking whether gcc understands -c and -o together configure:6796: result: yes configure:6815: checking dependency style of gcc configure:6927: result: gcc3 configure:6943: checking for an ANSI C-conforming const configure:7010: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:7010: $? = 0 configure:7018: result: yes configure:7028: checking for a sed that does not truncate output configure:7098: result: /bin/sed configure:7120: finding Fortran compiler configure:7239: checking for Fortran compiler version configure:7248: gfortran --version >&5 GNU Fortran (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:7259: $? = 0 configure:7248: gfortran -v >&5 Using built-in specs. COLLECT_GCC=gfortran COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) configure:7259: $? = 0 configure:7248: gfortran -V >&5 gfortran: error: unrecognized command line option '-V' gfortran: fatal error: no input files compilation terminated. configure:7259: $? = 1 configure:7248: gfortran -qversion >&5 gfortran: error: unrecognized command line option '-qversion'; did you mean '--version'? gfortran: fatal error: no input files compilation terminated. configure:7259: $? = 1 configure:7268: checking whether the compiler supports GNU Fortran configure:7282: gfortran -c conftest.F >&5 configure:7282: $? = 0 configure:7292: result: yes configure:7300: checking whether gfortran accepts -g configure:7312: gfortran -c -g conftest.f >&5 configure:7312: $? = 0 configure:7321: result: yes configure:7408: checking for gfortran configure:7429: found /usr/bin/gfortran configure:7440: result: gfortran configure:7466: checking for Fortran 77 compiler version configure:7475: gfortran --version >&5 GNU Fortran (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:7486: $? = 0 configure:7475: gfortran -v >&5 Using built-in specs. COLLECT_GCC=gfortran COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) configure:7486: $? = 0 configure:7475: gfortran -V >&5 gfortran: error: unrecognized command line option '-V' gfortran: fatal error: no input files compilation terminated. configure:7486: $? = 1 configure:7475: gfortran -qversion >&5 gfortran: error: unrecognized command line option '-qversion'; did you mean '--version'? gfortran: fatal error: no input files compilation terminated. configure:7486: $? = 1 configure:7495: checking whether the compiler supports GNU Fortran 77 configure:7509: gfortran -c conftest.F >&5 configure:7509: $? = 0 configure:7519: result: yes configure:7527: checking whether gfortran accepts -g configure:7539: gfortran -c -g conftest.f >&5 configure:7539: $? = 0 configure:7548: result: yes configure:7605: checking whether Fortran compiler is checked for ISO_C_BINDING support configure:7614: result: yes configure:7634: checking for Fortran flag to compile .f90 files configure:7655: gfortran -c -g -O2 conftest.f90 >&5 configure:7655: $? = 0 configure:7665: result: none configure:7693: checking fortran 90 modules inclusion flag configure:7719: gfortran -c -g -O2 conftest.f90 >&5 configure:7719: $? = 0 configure:7737: gfortran -c -g -O2 -Itmpdir_0 conftest.f90 >&5 configure:7737: $? = 0 configure:7757: result: -I configure:7762: checking if Fortran compiler supports Fortran 2003 ISO_C_BINDING configure:7770: gfortran -c -g -O2 conftest.f90 configure:7773: $? = 0 configure:7779: result: yes configure:7782: checking if Fortran compiler supports Fortran 2008 ISO_FORTRAN_ENV additions configure:7790: gfortran -c -g -O2 conftest.f90 configure:7793: $? = 0 configure:7802: result: yes configure:7805: checking if Fortran compiler supports TS29113 standard extension configure:7813: gfortran -c -g -O2 conftest.f90 configure:7816: $? = 0 configure:7825: result: yes configure:7845: checking if Fortran compiler supports allow-mismatch flag configure:7853: gfortran -c -g -O2 -fallow-argument-mismatch conftest.f90 gfortran: error: unrecognized command line option '-fallow-argument-mismatch'; did you mean '-Wno-argument-mismatch'? configure:7856: $? = 1 configure:7864: result: no configure:7868: checking if Fortran compiler supports mismatch_all flag configure:7876: gfortran -c -g -O2 -mismatch_all conftest.f90 gfortran: error: unrecognized command line option '-mismatch_all' configure:7879: $? = 1 configure:7887: result: no configure:7908: checking whether fortran type sizes should be checked configure:7917: result: yes configure:7921: checking whether large file (> 2GB) tests should be run configure:7930: result: no configure:7947: checking whether benchmarks should be run configure:7956: result: yes configure:7970: checking where to put large temp files if large file tests are run configure:7980: result: . configure:8000: setting up libtool configure:8050: checking how to print strings configure:8077: result: printf configure:8098: checking for a sed that does not truncate output configure:8168: result: /bin/sed configure:8186: checking for grep that handles long lines and -e configure:8250: result: /bin/grep configure:8255: checking for egrep configure:8323: result: /bin/grep -E configure:8328: checking for fgrep configure:8396: result: /bin/grep -F configure:8432: checking for ld used by gcc configure:8500: result: /usr/bin/ld configure:8507: checking if the linker (/usr/bin/ld) is GNU ld configure:8523: result: yes configure:8535: checking for BSD- or MS-compatible name lister (nm) configure:8590: result: /usr/bin/nm -B configure:8730: checking the name lister (/usr/bin/nm -B) interface configure:8738: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:8741: /usr/bin/nm -B "conftest.o" configure:8744: output 0000000000000000 B some_variable configure:8751: result: BSD nm configure:8754: checking whether ln -s works configure:8758: result: yes configure:8766: checking the maximum length of command line arguments configure:8898: result: 1572864 configure:8946: checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format configure:8987: result: func_convert_file_noop configure:8994: checking how to convert x86_64-pc-linux-gnu file names to toolchain format configure:9015: result: func_convert_file_noop configure:9022: checking for /usr/bin/ld option to reload object files configure:9030: result: -r configure:9109: checking for objdump configure:9130: found /usr/bin/objdump configure:9141: result: objdump configure:9173: checking how to recognize dependent libraries configure:9374: result: pass_all configure:9464: checking for dlltool configure:9499: result: no configure:9529: checking how to associate runtime and link libraries configure:9557: result: printf %s\n configure:9622: checking for ar configure:9643: found /usr/bin/ar configure:9654: result: ar configure:9691: checking for archiver @FILE support configure:9709: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:9709: $? = 0 configure:9713: ar cru libconftest.a @conftest.lst >&5 ar: u' modifier ignored sinceD' is the default (see U') configure:9716: $? = 0 configure:9721: ar cru libconftest.a @conftest.lst >&5 ar:u' modifier ignored since D' is the default (seeU') ar: conftest.o: No such file or directory configure:9724: $? = 1 configure:9736: result: @ configure:9799: checking for strip configure:9820: found /usr/bin/strip configure:9831: result: strip configure:9908: checking for ranlib configure:9929: found /usr/bin/ranlib configure:9940: result: ranlib configure:10042: checking command to parse /usr/bin/nm -B output from gcc object configure:10196: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:10199: $? = 0 configure:10203: /usr/bin/nm -B conftest.o \ sed -n -e 's/^.[ ]([ABCDGIRSTW][ABCDGIRSTW])[ ][ ]([_A-Za-z][_A-Za-z0-9])$/\1 \2 \2/p' sed '/ __gnu_lto/d' > conftest.nm configure:10206: $? = 0 configure:10272: gcc -o conftest -g -O2 -I/home/yzm/installz/netcdf-install/include -L/home/yzm/installz/netcdf-install/lib conftest.c conftstm.o >&5 configure:10275: $? = 0 configure:10313: result: ok configure:10360: checking for sysroot configure:10391: result: no configure:10398: checking for a working dd configure:10442: result: /bin/dd configure:10446: checking how to truncate binary pipes configure:10462: result: /bin/dd bs=4096 count=1 configure:10599: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:10602: $? = 0 configure:10799: checking for mt configure:10820: found /bin/mt configure:10831: result: mt configure:10854: checking if mt is a manifest tool configure:10861: mt '-?' configure:10869: result: no configure:11594: checking for stdio.h configure:11594: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:11594: $? = 0 configure:11594: result: yes configure:11594: checking for stdlib.h configure:11594: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:11594: $? = 0 configure:11594: result: yes configure:11594: checking for string.h configure:11594: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:11594: $? = 0 configure:11594: result: yes configure:11594: checking for inttypes.h configure:11594: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:11594: $? = 0 configure:11594: result: yes configure:11594: checking for stdint.h configure:11594: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:11594: $? = 0 configure:11594: result: yes configure:11594: checking for strings.h configure:11594: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:11594: $? = 0 configure:11594: result: yes configure:11594: checking for sys/stat.h configure:11594: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:11594: $? = 0 configure:11594: result: yes configure:11594: checking for sys/types.h configure:11594: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:11594: $? = 0 configure:11594: result: yes configure:11594: checking for unistd.h configure:11594: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:11594: $? = 0 configure:11594: result: yes configure:11594: checking for sys/time.h configure:11594: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:11594: $? = 0 configure:11594: result: yes configure:11619: checking for dlfcn.h configure:11619: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:11619: $? = 0 configure:11619: result: yes configure:11889: checking for objdir configure:11905: result: .libs configure:12169: checking if gcc supports -fno-rtti -fno-exceptions configure:12188: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C configure:12192: $? = 0 configure:12205: result: no configure:12563: checking for gcc option to produce PIC configure:12571: result: -fPIC -DPIC configure:12579: checking if gcc PIC flag -fPIC -DPIC works configure:12598: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include -fPIC -DPIC -DPIC conftest.c >&5 configure:12602: $? = 0 configure:12615: result: yes configure:12644: checking if gcc static flag -static works configure:12673: result: yes configure:12688: checking if gcc supports -c -o file.o configure:12710: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include -o out/conftest2.o conftest.c >&5 configure:12714: $? = 0 configure:12736: result: yes configure:12744: checking if gcc supports -c -o file.o configure:12792: result: yes configure:12825: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:14091: result: yes configure:14128: checking whether -lc should be explicitly linked in configure:14137: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:14140: $? = 0 configure:14155: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2>\&1 \ /bin/grep -lc >/dev/null 2>\&1 configure:14158: $? = 0 configure:14172: result: no configure:14332: checking dynamic linker characteristics configure:14914: gcc -o conftest -g -O2 -I/home/yzm/installz/netcdf-install/include -L/home/yzm/installz/netcdf-install/lib -Wl,-rpath -Wl,/foo conftest.c >&5 configure:14914: $? = 0 configure:15153: result: GNU/Linux ld.so configure:15275: checking how to hardcode library paths into programs configure:15300: result: immediate configure:15852: checking whether stripping libraries is possible configure:15857: result: yes configure:15892: checking if libtool supports shared libraries configure:15894: result: yes configure:15897: checking whether to build shared libraries configure:15922: result: yes configure:15925: checking whether to build static libraries configure:15929: result: yes configure:16046: checking if libtool supports shared libraries configure:16048: result: yes configure:16051: checking whether to build shared libraries configure:16075: result: yes configure:16078: checking whether to build static libraries configure:16082: result: yes configure:16434: checking for gfortran option to produce PIC configure:16442: result: -fPIC configure:16450: checking if gfortran PIC flag -fPIC works configure:16469: gfortran -c -g -O2 -fPIC conftest.f >&5 configure:16473: $? = 0 configure:16486: result: yes configure:16509: checking if gfortran static flag -static works configure:16538: result: yes configure:16550: checking if gfortran supports -c -o file.o configure:16572: gfortran -c -g -O2 -o out/conftest2.o conftest.f >&5 configure:16576: $? = 0 configure:16598: result: yes configure:16603: checking if gfortran supports -c -o file.o configure:16651: result: yes configure:16681: checking whether the gfortran linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:17896: result: yes configure:18038: checking dynamic linker characteristics configure:18780: result: GNU/Linux ld.so configure:18845: checking how to hardcode library paths into programs configure:18870: result: immediate configure:19007: checking if libtool supports shared libraries configure:19009: result: yes configure:19012: checking whether to build shared libraries configure:19036: result: yes configure:19039: checking whether to build static libraries configure:19043: result: yes configure:19077: gfortran -c -g -O2 conftest.f90 >&5 configure:19080: $? = 0 configure:19558: checking for gfortran option to produce PIC configure:19566: result: -fPIC configure:19574: checking if gfortran PIC flag -fPIC works configure:19593: gfortran -c -g -O2 -fPIC conftest.f90 >&5 configure:19597: $? = 0 configure:19610: result: yes configure:19633: checking if gfortran static flag -static works configure:19662: result: yes configure:19674: checking if gfortran supports -c -o file.o configure:19696: gfortran -c -g -O2 -o out/conftest2.o conftest.f90 >&5 configure:19700: $? = 0 configure:19722: result: yes configure:19727: checking if gfortran supports -c -o file.o configure:19775: result: yes configure:19805: checking whether the gfortran linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:21020: result: yes configure:21162: checking dynamic linker characteristics configure:21904: result: GNU/Linux ld.so configure:21969: checking how to hardcode library paths into programs configure:21994: result: immediate configure:22045: finding other utilities configure:22051: trying to set fortran flags for this platform configure:22053: checking what FC is set to configure:22055: result: gfortran configure:22067: checking for special C compiler options needed for large files configure:22115: result: no configure:22121: checking for _FILE_OFFSETBITS value needed for large files configure:22147: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:22147: $? = 0 configure:22181: result: no configure:22320: checking for /usr/bin/nm configure:22352: result: /usr/bin/nm -B configure:22365: checking nm flags configure:22370: result: configure:22382: checking for C-equivalent to Fortran routine "SUB" configure:22389: gfortran -c -g -O2 conftest.f configure:22392: $? = 0 configure:22402: result: sub configure:22422: checking for Fortran "byte" configure:22430: gfortran -c -g -O2 conftest.f configure:22433: $? = 0 configure:22435: result: yes configure:22451: checking for Fortran "integer2" configure:22459: gfortran -c -g -O2 conftest.f configure:22462: $? = 0 configure:22464: result: yes configure:22480: checking for Fortran "integer8" configure:22488: gfortran -c -g -O2 conftest.f configure:22491: $? = 0 configure:22493: result: yes configure:22518: checking if Fortran "byte" is C "signed char" configure:22529: gcc -c -I/home/yzm/installz/netcdf-install/include -g -O2 conftest.c configure:22532: $? = 0 configure:22535: gfortran -g -O2 -c conftestf.f configure:22538: $? = 0 configure:22541: gfortran -o conftest -g -O2 -L/home/yzm/installz/netcdf-install/lib conftestf.o conftest.o
configure:22544: $? = 0 configure:22547: ./conftest configure:22550: $? = 0 configure:22552: result: yes configure:22584: checking if Fortran "byte" is C "short" configure:22595: gcc -c -I/home/yzm/installz/netcdf-install/include -g -O2 conftest.c configure:22598: $? = 0 configure:22601: gfortran -g -O2 -c conftestf.f configure:22604: $? = 0 configure:22607: gfortran -o conftest -g -O2 -L/home/yzm/installz/netcdf-install/lib conftestf.o conftest.o
configure:22610: $? = 0 configure:22613: ./conftest configure:22616: $? = 1 configure:22627: result: no configure:22650: checking if Fortran "byte" is C "int" configure:22661: gcc -c -I/home/yzm/installz/netcdf-install/include -g -O2 conftest.c configure:22664: $? = 0 configure:22667: gfortran -g -O2 -c conftestf.f configure:22670: $? = 0 configure:22673: gfortran -o conftest -g -O2 -L/home/yzm/installz/netcdf-install/lib conftestf.o conftest.o
configure:22676: $? = 0 configure:22679: ./conftest configure:22682: $? = 1 configure:22693: result: no configure:22716: checking if Fortran "byte" is C "long" configure:22727: gcc -c -I/home/yzm/installz/netcdf-install/include -g -O2 conftest.c configure:22730: $? = 0 configure:22733: gfortran -g -O2 -c conftestf.f configure:22736: $? = 0 configure:22739: gfortran -o conftest -g -O2 -L/home/yzm/installz/netcdf-install/lib conftestf.o conftest.o
configure:22742: $? = 0 configure:22745: ./conftest configure:22748: $? = 1 configure:22759: result: no configure:22786: checking if Fortran "integer2" is C "short" configure:22797: gcc -c -I/home/yzm/installz/netcdf-install/include -g -O2 conftest.c configure:22800: $? = 0 configure:22803: gfortran -g -O2 -c conftestf.f configure:22806: $? = 0 configure:22809: gfortran -o conftest -g -O2 -L/home/yzm/installz/netcdf-install/lib conftestf.o conftest.o
configure:22812: $? = 0 configure:22815: ./conftest configure:22818: $? = 0 configure:22820: result: yes configure:22852: checking if Fortran "integer
2" is C "int" configure:22863: gcc -c -I/home/yzm/installz/netcdf-install/include -g -O2 conftest.c configure:22866: $? = 0 configure:22869: gfortran -g -O2 -c conftestf.f configure:22872: $? = 0 configure:22875: gfortran -o conftest -g -O2 -L/home/yzm/installz/netcdf-install/lib conftestf.o conftest.o
configure:22878: $? = 0 configure:22881: ./conftest configure:22884: $? = 1 configure:22895: result: no configure:22918: checking if Fortran "integer2" is C "long" configure:22929: gcc -c -I/home/yzm/installz/netcdf-install/include -g -O2 conftest.c configure:22932: $? = 0 configure:22935: gfortran -g -O2 -c conftestf.f configure:22938: $? = 0 configure:22941: gfortran -o conftest -g -O2 -L/home/yzm/installz/netcdf-install/lib conftestf.o conftest.o
configure:22944: $? = 0 configure:22947: ./conftest configure:22950: $? = 1 configure:22961: result: no configure:22988: checking if Fortran "integer
8" is C "short" configure:22999: gcc -c -I/home/yzm/installz/netcdf-install/include -g -O2 conftest.c configure:23002: $? = 0 configure:23005: gfortran -g -O2 -c conftestf.f configure:23008: $? = 0 configure:23011: gfortran -o conftest -g -O2 -L/home/yzm/installz/netcdf-install/lib conftestf.o conftest.o
configure:23014: $? = 0 configure:23017: ./conftest configure:23020: $? = 1 configure:23031: result: no configure:23054: checking if Fortran "integer8" is C "int" configure:23065: gcc -c -I/home/yzm/installz/netcdf-install/include -g -O2 conftest.c configure:23068: $? = 0 configure:23071: gfortran -g -O2 -c conftestf.f configure:23074: $? = 0 configure:23077: gfortran -o conftest -g -O2 -L/home/yzm/installz/netcdf-install/lib conftestf.o conftest.o
configure:23080: $? = 0 configure:23083: ./conftest configure:23086: $? = 1 configure:23097: result: no configure:23120: checking if Fortran "integer
8" is C "long long" configure:23131: gcc -c -I/home/yzm/installz/netcdf-install/include -g -O2 conftest.c configure:23134: $? = 0 configure:23137: gfortran -g -O2 -c conftestf.f configure:23140: $? = 0 configure:23143: gfortran -o conftest -g -O2 -L/home/yzm/installz/netcdf-install/lib conftestf.o conftest.o
configure:23146: $? = 0 configure:23149: ./conftest configure:23152: $? = 0 configure:23154: result: yes configure:23188: checking if Fortran "integer" is C "int" configure:23199: gcc -c -I/home/yzm/installz/netcdf-install/include -g -O2 conftest.c configure:23202: $? = 0 configure:23205: gfortran -g -O2 -c conftestf.f configure:23208: $? = 0 configure:23211: gfortran -o conftest -g -O2 -L/home/yzm/installz/netcdf-install/lib conftestf.o conftest.o
configure:23214: $? = 0 configure:23217: ./conftest configure:23220: $? = 0 configure:23222: result: yes configure:23254: checking if Fortran "real" is C "float" configure:23265: gcc -c -I/home/yzm/installz/netcdf-install/include -g -O2 conftest.c configure:23268: $? = 0 configure:23271: gfortran -g -O2 -c conftestf.f configure:23274: $? = 0 configure:23277: gfortran -o conftest -g -O2 -L/home/yzm/installz/netcdf-install/lib conftestf.o conftest.o
configure:23280: $? = 0 configure:23283: ./conftest configure:23286: $? = 0 configure:23288: result: yes configure:23320: checking if Fortran "doubleprecision" is C "double" configure:23331: gcc -c -I/home/yzm/installz/netcdf-install/include -g -O2 conftest.c configure:23334: $? = 0 configure:23337: gfortran -g -O2 -c conftestf.f configure:23340: $? = 0 configure:23343: gfortran -o conftest -g -O2 -L/home/yzm/installz/netcdf-install/lib conftestf.o conftest.o
configure:23346: $? = 0 configure:23349: ./conftest configure:23352: $? = 0 configure:23354: result: yes configure:23380: checking for Fortran-equivalent to netCDF "byte" configure:23388: gfortran -c -g -O2 conftest.f configure:23391: $? = 0 configure:23400: result: byte configure:23406: checking for Fortran-equivalent to netCDF "short" configure:23414: gfortran -c -g -O2 conftest.f configure:23417: $? = 0 configure:23426: result: integer*2 configure:23470: checking types, headers, and functions configure:23483: checking for floor in -lm configure:23506: gcc -o conftest -g -O2 -I/home/yzm/installz/netcdf-install/include -L/home/yzm/installz/netcdf-install/lib conftest.c -lm >&5 conftest.c:44:6: warning: conflicting types for built-in function 'floor' [-Wbuiltin-declaration-mismatch] char floor (); ^~~~~ configure:23506: $? = 0 configure:23516: result: yes configure:23526: checking for library containing dlopen configure:23556: gcc -o conftest -g -O2 -I/home/yzm/installz/netcdf-install/include -L/home/yzm/installz/netcdf-install/lib conftest.c -lm >&5 /tmp/ccJJvBCp.o: In function main': /home/yzm/installz/netcdf-fortran-4.5.4/conftest.c:49: undefined reference todlopen' collect2: error: ld returned 1 exit status configure:23556: $? = 1 configure: failed program was:
/ confdefs.h / #define PACKAGE_NAME "netCDF-Fortran" #define PACKAGE_TARNAME "netcdf-fortran" #define PACKAGE_VERSION "4.5.4" #define PACKAGE_STRING "netCDF-Fortran 4.5.4" #define PACKAGE_BUGREPORT "support-netcdf@unidata.ucar.edu" #define PACKAGE_URL "" #define PACKAGE "netcdf-fortran" #define VERSION "4.5.4" #define NF_RELAX_COORD_BOUND 1 #define ENABLE_CDF5 1 #define HAVE_F2008 1 #define HAVE_TS29113_SUPPORT 1 #define TEMP_LARGE "." #define HAVE_STDIO_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_STRINGS_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_UNISTD_H 1 #define HAVE_SYS_TIME_H 1 #define STDC_HEADERS 1 #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define NF_INT1_T byte #define NF_INT2_T integer*2 #define NF_INT8_T integer*8 #define NF_INT1_IS_C_SIGNED_CHAR 1 #define NF_INT2_IS_C_SHORT 1 #define NF_INT8_IS_C_LONG_LONG 1 #define NF_INT_IS_C_INT 1 #define NF_REAL_IS_C_FLOAT 1 #define NF_DOUBLEPRECISION_IS_C_DOUBLE 1 #define NCBYTE_T byte #define NCSHORT_T integer*2 #define HAVE_LIBM 1 / end confdefs.h. /
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
char dlopen ();
int
main (void)
{
return dlopen ();
;
return 0;
}
configure:23556: gcc -o conftest -g -O2 -I/home/yzm/installz/netcdf-install/include -L/home/yzm/installz/netcdf-install/lib conftest.c -ldl -lm >&5 configure:23556: $? = 0 configure:23576: result: -ldl configure:23607: checking for netcdf.h configure:23607: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:23607: $? = 0 configure:23607: result: yes configure:23617: checking for library containing nc_open configure:23647: gcc -o conftest -g -O2 -I/home/yzm/installz/netcdf-install/include -L/home/yzm/installz/netcdf-install/lib conftest.c -ldl -lm >&5 /tmp/ccJFZU6G.o: In function main': /home/yzm/installz/netcdf-fortran-4.5.4/conftest.c:50: undefined reference tonc_open' collect2: error: ld returned 1 exit status configure:23647: $? = 1 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "netCDF-Fortran" #define PACKAGE_TARNAME "netcdf-fortran" #define PACKAGE_VERSION "4.5.4" #define PACKAGE_STRING "netCDF-Fortran 4.5.4" #define PACKAGE_BUGREPORT "support-netcdf@unidata.ucar.edu" #define PACKAGE_URL "" #define PACKAGE "netcdf-fortran" #define VERSION "4.5.4" #define NF_RELAX_COORD_BOUND 1 #define ENABLE_CDF5 1 #define HAVE_F2008 1 #define HAVE_TS29113_SUPPORT 1 #define TEMP_LARGE "." #define HAVE_STDIO_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_STRINGS_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_UNISTD_H 1 #define HAVE_SYS_TIME_H 1 #define STDC_HEADERS 1 #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define NF_INT1_T byte #define NF_INT2_T integer*2 #define NF_INT8_T integer*8 #define NF_INT1_IS_C_SIGNED_CHAR 1 #define NF_INT2_IS_C_SHORT 1 #define NF_INT8_IS_C_LONG_LONG 1 #define NF_INT_IS_C_INT 1 #define NF_REAL_IS_C_FLOAT 1 #define NF_DOUBLEPRECISION_IS_C_DOUBLE 1 #define NCBYTE_T byte #define NCSHORT_T integer*2 #define HAVE_LIBM 1 #define HAVE_NETCDF_H 1 / end confdefs.h. /
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
char nc_open ();
int
main (void)
{
return nc_open ();
;
return 0;
}
configure:23647: gcc -o conftest -g -O2 -I/home/yzm/installz/netcdf-install/include -L/home/yzm/installz/netcdf-install/lib conftest.c -lnetcdf -ldl -lm >&5 configure:23647: $? = 0 configure:23667: result: -lnetcdf configure:23680: checking for nc_def_opaque configure:23680: gcc -o conftest -g -O2 -I/home/yzm/installz/netcdf-install/include -L/home/yzm/installz/netcdf-install/lib conftest.c -lnetcdf -ldl -lm >&5 configure:23680: $? = 0 configure:23680: result: yes configure:23686: checking for nccreate configure:23686: gcc -o conftest -g -O2 -I/home/yzm/installz/netcdf-install/include -L/home/yzm/installz/netcdf-install/lib conftest.c -lnetcdf -ldl -lm >&5 configure:23686: $? = 0 configure:23686: result: yes configure:23692: checking for nc_set_log_level configure:23692: gcc -o conftest -g -O2 -I/home/yzm/installz/netcdf-install/include -L/home/yzm/installz/netcdf-install/lib conftest.c -lnetcdf -ldl -lm >&5 configure:23692: $? = 0 configure:23692: result: yes configure:23698: checking for oc_open configure:23698: gcc -o conftest -g -O2 -I/home/yzm/installz/netcdf-install/include -L/home/yzm/installz/netcdf-install/lib conftest.c -lnetcdf -ldl -lm >&5 /tmp/cc0SSYY7.o: In function main': /home/yzm/installz/netcdf-fortran-4.5.4/conftest.c:72: undefined reference tooc_open' collect2: error: ld returned 1 exit status configure:23698: $? = 1 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "netCDF-Fortran" #define PACKAGE_TARNAME "netcdf-fortran" #define PACKAGE_VERSION "4.5.4" #define PACKAGE_STRING "netCDF-Fortran 4.5.4" #define PACKAGE_BUGREPORT "support-netcdf@unidata.ucar.edu" #define PACKAGE_URL "" #define PACKAGE "netcdf-fortran" #define VERSION "4.5.4" #define NF_RELAX_COORD_BOUND 1 #define ENABLE_CDF5 1 #define HAVE_F2008 1 #define HAVE_TS29113_SUPPORT 1 #define TEMP_LARGE "." #define HAVE_STDIO_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_STRINGS_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_UNISTD_H 1 #define HAVE_SYS_TIME_H 1 #define STDC_HEADERS 1 #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define NF_INT1_T byte #define NF_INT2_T integer*2 #define NF_INT8_T integer*8 #define NF_INT1_IS_C_SIGNED_CHAR 1 #define NF_INT2_IS_C_SHORT 1 #define NF_INT8_IS_C_LONG_LONG 1 #define NF_INT_IS_C_INT 1 #define NF_REAL_IS_C_FLOAT 1 #define NF_DOUBLEPRECISION_IS_C_DOUBLE 1 #define NCBYTE_T byte #define NCSHORT_T integer*2 #define HAVE_LIBM 1 #define HAVE_NETCDF_H 1 #define HAVE_NC_DEF_OPAQUE 1 #define HAVE_NCCREATE 1 #define HAVE_NC_SET_LOG_LEVEL 1 / end confdefs.h. / /* Define oc_open to an innocuous variant, in case declares oc_open. For example, HP-UX 11i declares gettimeofday. */ #define oc_open innocuous_oc_open
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char oc_open (); below. */
#include
#undef oc_open
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char oc_open ();
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined __stub_oc_open defined __stub___oc_open
choke me
#endif
int
main (void)
{
return oc_open ();
;
return 0;
}

configure:23698: result: no configure:23704: checking for nc_def_var_szip configure:23704: gcc -o conftest -g -O2 -I/home/yzm/installz/netcdf-install/include -L/home/yzm/installz/netcdf-install/lib conftest.c -lnetcdf -ldl -lm >&5 configure:23704: $? = 0 configure:23704: result: yes configure:23725: checking for nc_get_chunk_cache_ints configure:23725: gcc -o conftest -g -O2 -I/home/yzm/installz/netcdf-install/include -L/home/yzm/installz/netcdf-install/lib conftest.c -lnetcdf -ldl -lm >&5 configure:23725: $? = 0 configure:23725: result: yes configure:23750: checking netCDF logging present configure:23752: result: yes configure:23755: checking netCDF v2 API present configure:23757: result: yes configure:23759: checking netCDF-4 present configure:23761: result: yes configure:23764: checking whether to test the filter API configure:23773: result: no configure:23849: checking for stdlib.h configure:23849: result: yes configure:23859: checking for sys/types.h configure:23859: result: yes configure:23869: checking for sys/param.h configure:23869: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:23869: $? = 0 configure:23869: result: yes configure:23876: checking for locale.h configure:23876: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:23876: $? = 0 configure:23876: result: yes configure:23882: checking for stdio.h configure:23882: result: yes configure:23888: checking for stdarg.h configure:23888: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:23888: $? = 0 configure:23888: result: yes configure:23894: checking for errno.h configure:23894: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:23894: $? = 0 configure:23894: result: yes configure:23900: checking for ctype.h configure:23900: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:23900: $? = 0 configure:23900: result: yes configure:23906: checking for fcntl.h configure:23906: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:23906: $? = 0 configure:23906: result: yes configure:23912: checking for malloc.h configure:23912: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:23912: $? = 0 configure:23912: result: yes configure:23918: checking for stdlib.h configure:23918: result: yes configure:23924: checking for string.h configure:23924: result: yes configure:23930: checking for strings.h configure:23930: result: yes configure:23936: checking for unistd.h configure:23936: result: yes configure:23942: checking for sys/stat.h configure:23942: result: yes configure:23948: checking for getopt.h configure:23948: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:23948: $? = 0 configure:23948: result: yes configure:23954: checking for sys/time.h configure:23954: result: yes configure:23960: checking for sys/resource.h configure:23960: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:23960: $? = 0 configure:23960: result: yes configure:23970: checking for dirent.h that defines DIR configure:23990: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:23990: $? = 0 configure:23999: result: yes configure:24013: checking for library containing opendir configure:24043: gcc -o conftest -g -O2 -I/home/yzm/installz/netcdf-install/include -L/home/yzm/installz/netcdf-install/lib conftest.c -lnetcdf -ldl -lm >&5 configure:24043: $? = 0 configure:24063: result: none required configure:24137: checking for egrep configure:24205: result: /bin/grep -E configure:24211: checking for sys/wait.h that is POSIX.1 compatible configure:24238: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:24238: $? = 0 configure:24246: result: yes configure:24269: checking for vprintf configure:24269: gcc -o conftest -g -O2 -I/home/yzm/installz/netcdf-install/include -L/home/yzm/installz/netcdf-install/lib conftest.c -lnetcdf -ldl -lm >&5 conftest.c:84:6: warning: conflicting types for built-in function 'vprintf' [-Wbuiltin-declaration-mismatch] char vprintf (); ^~~ configure:24269: $? = 0 configure:24269: result: yes configure:24292: checking for _Bool configure:24292: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:24292: $? = 0 configure:24292: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 conftest.c: In function 'main': conftest.c:100:20: error: expected expression before ')' token if (sizeof ((_Bool))) ^ configure:24292: $? = 1 configure: failed program was: | / confdefs.h / | #define PACKAGE_NAME "netCDF-Fortran" | #define PACKAGE_TARNAME "netcdf-fortran" | #define PACKAGE_VERSION "4.5.4" | #define PACKAGE_STRING "netCDF-Fortran 4.5.4" | #define PACKAGE_BUGREPORT "support-netcdf@unidata.ucar.edu" | #define PACKAGE_URL "" | #define PACKAGE "netcdf-fortran" | #define VERSION "4.5.4" | #define NF_RELAX_COORD_BOUND 1 | #define ENABLE_CDF5 1 | #define HAVE_F2008 1 | #define HAVE_TS29113_SUPPORT 1 | #define TEMP_LARGE "." | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NF_INT1_T byte | #define NF_INT2_T integer2 | #define NF_INT8_T integer8 | #define NF_INT1_IS_C_SIGNED_CHAR 1 | #define NF_INT2_IS_C_SHORT 1 | #define NF_INT8_IS_C_LONG_LONG 1 | #define NF_INT_IS_C_INT 1 | #define NF_REAL_IS_C_FLOAT 1 | #define NF_DOUBLEPRECISION_IS_C_DOUBLE 1 | #define NCBYTE_T byte | #define NCSHORT_T integer2 | #define HAVE_LIBM 1 | #define HAVE_NETCDF_H 1 | #define HAVE_NC_DEF_OPAQUE 1 | #define HAVE_NCCREATE 1 | #define HAVE_NC_SET_LOG_LEVEL 1 | #define HAVE_NC_DEF_VAR_SZIP 1 | #define HAVE_NC_GET_CHUNK_CACHE_INTS 1 | #define USE_NETCDF4 1 | #define LOGGING 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_STDARG_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_VPRINTF 1 | / end confdefs.h. / | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | if (sizeof ((_Bool))) | return 0; | ; | return 0; | } configure:24292: result: yes configure:24301: checking for stdbool.h that conforms to C99 configure:24417: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:24417: $? = 0 configure:24425: result: yes configure:24436: checking for size_t configure:24436: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:24436: $? = 0 configure:24436: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 conftest.c: In function 'main': conftest.c:102:21: error: expected expression before ')' token if (sizeof ((size_t))) ^ configure:24436: $? = 1 configure: failed program was: | / confdefs.h / | #define PACKAGE_NAME "netCDF-Fortran" | #define PACKAGE_TARNAME "netcdf-fortran" | #define PACKAGE_VERSION "4.5.4" | #define PACKAGE_STRING "netCDF-Fortran 4.5.4" | #define PACKAGE_BUGREPORT "support-netcdf@unidata.ucar.edu" | #define PACKAGE_URL "" | #define PACKAGE "netcdf-fortran" | #define VERSION "4.5.4" | #define NF_RELAX_COORD_BOUND 1 | #define ENABLE_CDF5 1 | #define HAVE_F2008 1 | #define HAVE_TS29113_SUPPORT 1 | #define TEMP_LARGE "." | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NF_INT1_T byte | #define NF_INT2_T integer2 | #define NF_INT8_T integer8 | #define NF_INT1_IS_C_SIGNED_CHAR 1 | #define NF_INT2_IS_C_SHORT 1 | #define NF_INT8_IS_C_LONG_LONG 1 | #define NF_INT_IS_C_INT 1 | #define NF_REAL_IS_C_FLOAT 1 | #define NF_DOUBLEPRECISION_IS_C_DOUBLE 1 | #define NCBYTE_T byte | #define NCSHORT_T integer2 | #define HAVE_LIBM 1 | #define HAVE_NETCDF_H 1 | #define HAVE_NC_DEF_OPAQUE 1 | #define HAVE_NCCREATE 1 | #define HAVE_NC_SET_LOG_LEVEL 1 | #define HAVE_NC_DEF_VAR_SZIP 1 | #define HAVE_NC_GET_CHUNK_CACHE_INTS 1 | #define USE_NETCDF4 1 | #define LOGGING 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_STDARG_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_VPRINTF 1 | #define HAVEBOOL 1 | #define HAVE_STDBOOL_H 1 | / end confdefs.h. / | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | if (sizeof ((size_t))) | return 0; | ; | return 0; | } configure:24436: result: yes configure:24448: checking for working alloca.h configure:24466: gcc -o conftest -g -O2 -I/home/yzm/installz/netcdf-install/include -L/home/yzm/installz/netcdf-install/lib conftest.c -lnetcdf -ldl -lm >&5 configure:24466: $? = 0 configure:24475: result: yes configure:24483: checking for alloca configure:24528: result: yes configure:24595: checking for size_t configure:24595: result: yes configure:24605: checking for off_t configure:24605: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:24605: $? = 0 configure:24605: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 conftest.c: In function 'main': conftest.c:104:20: error: expected expression before ')' token if (sizeof ((off_t))) ^ configure:24605: $? = 1 configure: failed program was: | / confdefs.h / | #define PACKAGE_NAME "netCDF-Fortran" | #define PACKAGE_TARNAME "netcdf-fortran" | #define PACKAGE_VERSION "4.5.4" | #define PACKAGE_STRING "netCDF-Fortran 4.5.4" | #define PACKAGE_BUGREPORT "support-netcdf@unidata.ucar.edu" | #define PACKAGE_URL "" | #define PACKAGE "netcdf-fortran" | #define VERSION "4.5.4" | #define NF_RELAX_COORD_BOUND 1 | #define ENABLE_CDF5 1 | #define HAVE_F2008 1 | #define HAVE_TS29113_SUPPORT 1 | #define TEMP_LARGE "." | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NF_INT1_T byte | #define NF_INT2_T integer2 | #define NF_INT8_T integer8 | #define NF_INT1_IS_C_SIGNED_CHAR 1 | #define NF_INT2_IS_C_SHORT 1 | #define NF_INT8_IS_C_LONG_LONG 1 | #define NF_INT_IS_C_INT 1 | #define NF_REAL_IS_C_FLOAT 1 | #define NF_DOUBLEPRECISION_IS_C_DOUBLE 1 | #define NCBYTE_T byte | #define NCSHORT_T integer2 | #define HAVE_LIBM 1 | #define HAVE_NETCDF_H 1 | #define HAVE_NC_DEF_OPAQUE 1 | #define HAVE_NCCREATE 1 | #define HAVE_NC_SET_LOG_LEVEL 1 | #define HAVE_NC_DEF_VAR_SZIP 1 | #define HAVE_NC_GET_CHUNK_CACHE_INTS 1 | #define USE_NETCDF4 1 | #define LOGGING 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_STDARG_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_VPRINTF 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | / end confdefs.h. / | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | if (sizeof ((off_t))) | return 0; | ; | return 0; | } configure:24605: result: yes configure:24615: checking for ssize_t configure:24615: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:24615: $? = 0 configure:24615: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 conftest.c: In function 'main': conftest.c:104:22: error: expected expression before ')' token if (sizeof ((ssize_t))) ^ configure:24615: $? = 1 configure: failed program was: | / confdefs.h / | #define PACKAGE_NAME "netCDF-Fortran" | #define PACKAGE_TARNAME "netcdf-fortran" | #define PACKAGE_VERSION "4.5.4" | #define PACKAGE_STRING "netCDF-Fortran 4.5.4" | #define PACKAGE_BUGREPORT "support-netcdf@unidata.ucar.edu" | #define PACKAGE_URL "" | #define PACKAGE "netcdf-fortran" | #define VERSION "4.5.4" | #define NF_RELAX_COORD_BOUND 1 | #define ENABLE_CDF5 1 | #define HAVE_F2008 1 | #define HAVE_TS29113_SUPPORT 1 | #define TEMP_LARGE "." | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NF_INT1_T byte | #define NF_INT2_T integer2 | #define NF_INT8_T integer8 | #define NF_INT1_IS_C_SIGNED_CHAR 1 | #define NF_INT2_IS_C_SHORT 1 | #define NF_INT8_IS_C_LONG_LONG 1 | #define NF_INT_IS_C_INT 1 | #define NF_REAL_IS_C_FLOAT 1 | #define NF_DOUBLEPRECISION_IS_C_DOUBLE 1 | #define NCBYTE_T byte | #define NCSHORT_T integer2 | #define HAVE_LIBM 1 | #define HAVE_NETCDF_H 1 | #define HAVE_NC_DEF_OPAQUE 1 | #define HAVE_NCCREATE 1 | #define HAVE_NC_SET_LOG_LEVEL 1 | #define HAVE_NC_DEF_VAR_SZIP 1 | #define HAVE_NC_GET_CHUNK_CACHE_INTS 1 | #define USE_NETCDF4 1 | #define LOGGING 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_STDARG_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_VPRINTF 1 | #define HAVEBOOL 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | / end confdefs.h. / | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | if (sizeof ((ssize_t))) | return 0; | ; | return 0; | } configure:24615: result: yes configure:24623: checking for ptrdiff_t configure:24623: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:24623: $? = 0 configure:24623: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 conftest.c: In function 'main': conftest.c:105:24: error: expected expression before ')' token if (sizeof ((ptrdiff_t))) ^ configure:24623: $? = 1 configure: failed program was: | / confdefs.h / | #define PACKAGE_NAME "netCDF-Fortran" | #define PACKAGE_TARNAME "netcdf-fortran" | #define PACKAGE_VERSION "4.5.4" | #define PACKAGE_STRING "netCDF-Fortran 4.5.4" | #define PACKAGE_BUGREPORT "support-netcdf@unidata.ucar.edu" | #define PACKAGE_URL "" | #define PACKAGE "netcdf-fortran" | #define VERSION "4.5.4" | #define NF_RELAX_COORD_BOUND 1 | #define ENABLE_CDF5 1 | #define HAVE_F2008 1 | #define HAVE_TS29113_SUPPORT 1 | #define TEMP_LARGE "." | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NF_INT1_T byte | #define NF_INT2_T integer2 | #define NF_INT8_T integer8 | #define NF_INT1_IS_C_SIGNED_CHAR 1 | #define NF_INT2_IS_C_SHORT 1 | #define NF_INT8_IS_C_LONG_LONG 1 | #define NF_INT_IS_C_INT 1 | #define NF_REAL_IS_C_FLOAT 1 | #define NF_DOUBLEPRECISION_IS_C_DOUBLE 1 | #define NCBYTE_T byte | #define NCSHORT_T integer2 | #define HAVE_LIBM 1 | #define HAVE_NETCDF_H 1 | #define HAVE_NC_DEF_OPAQUE 1 | #define HAVE_NCCREATE 1 | #define HAVE_NC_SET_LOG_LEVEL 1 | #define HAVE_NC_DEF_VAR_SZIP 1 | #define HAVE_NC_GET_CHUNK_CACHE_INTS 1 | #define USE_NETCDF4 1 | #define LOGGING 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_STDARG_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_VPRINTF 1 | #define HAVE__BOOL 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_SSIZE_T 1 | / end confdefs.h. / | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | if (sizeof ((ptrdiff_t))) | return 0; | ; | return 0; | } configure:24623: result: yes configure:24631: checking for uchar configure:24631: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 conftest.c: In function 'main': conftest.c:106:13: error: 'uchar' undeclared (first use in this function); did you mean 'u_char'? if (sizeof (uchar)) ^~~~~ u_char conftest.c:106:13: note: each undeclared identifier is reported only once for each function it appears in configure:24631: $? = 1 configure: failed program was: | / confdefs.h / | #define PACKAGE_NAME "netCDF-Fortran" | #define PACKAGE_TARNAME "netcdf-fortran" | #define PACKAGE_VERSION "4.5.4" | #define PACKAGE_STRING "netCDF-Fortran 4.5.4" | #define PACKAGE_BUGREPORT "support-netcdf@unidata.ucar.edu" | #define PACKAGE_URL "" | #define PACKAGE "netcdf-fortran" | #define VERSION "4.5.4" | #define NF_RELAX_COORD_BOUND 1 | #define ENABLE_CDF5 1 | #define HAVE_F2008 1 | #define HAVE_TS29113_SUPPORT 1 | #define TEMP_LARGE "." | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NF_INT1_T byte | #define NF_INT2_T integer2 | #define NF_INT8_T integer8 | #define NF_INT1_IS_C_SIGNED_CHAR 1 | #define NF_INT2_IS_C_SHORT 1 | #define NF_INT8_IS_C_LONG_LONG 1 | #define NF_INT_IS_C_INT 1 | #define NF_REAL_IS_C_FLOAT 1 | #define NF_DOUBLEPRECISION_IS_C_DOUBLE 1 | #define NCBYTE_T byte | #define NCSHORT_T integer2 | #define HAVE_LIBM 1 | #define HAVE_NETCDF_H 1 | #define HAVE_NC_DEF_OPAQUE 1 | #define HAVE_NCCREATE 1 | #define HAVE_NC_SET_LOG_LEVEL 1 | #define HAVE_NC_DEF_VAR_SZIP 1 | #define HAVE_NC_GET_CHUNK_CACHE_INTS 1 | #define USE_NETCDF4 1 | #define LOGGING 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_STDARG_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_VPRINTF 1 | #define HAVEBOOL 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_SSIZE_T 1 | #define HAVE_PTRDIFF_T 1 | / end confdefs.h. / | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | if (sizeof (uchar)) | return 0; | ; | return 0; | } configure:24631: result: no configure:24639: checking for longlong configure:24639: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 conftest.c: In function 'main': conftest.c:106:13: error: 'longlong' undeclared (first use in this function); did you mean 'long int'? if (sizeof (longlong)) ^~~~ long int conftest.c:106:13: note: each undeclared identifier is reported only once for each function it appears in configure:24639: $? = 1 configure: failed program was: | / confdefs.h / | #define PACKAGE_NAME "netCDF-Fortran" | #define PACKAGE_TARNAME "netcdf-fortran" | #define PACKAGE_VERSION "4.5.4" | #define PACKAGE_STRING "netCDF-Fortran 4.5.4" | #define PACKAGE_BUGREPORT "support-netcdf@unidata.ucar.edu" | #define PACKAGE_URL "" | #define PACKAGE "netcdf-fortran" | #define VERSION "4.5.4" | #define NF_RELAX_COORD_BOUND 1 | #define ENABLE_CDF5 1 | #define HAVE_F2008 1 | #define HAVE_TS29113_SUPPORT 1 | #define TEMP_LARGE "." | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_TIME_H 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define NF_INT1_T byte | #define NF_INT2_T integer2 | #define NF_INT8_T integer8 | #define NF_INT1_IS_C_SIGNED_CHAR 1 | #define NF_INT2_IS_C_SHORT 1 | #define NF_INT8_IS_C_LONG_LONG 1 | #define NF_INT_IS_C_INT 1 | #define NF_REAL_IS_C_FLOAT 1 | #define NF_DOUBLEPRECISION_IS_C_DOUBLE 1 | #define NCBYTE_T byte | #define NCSHORT_T integer*2 | #define HAVE_LIBM 1 | #define HAVE_NETCDF_H 1 | #define HAVE_NC_DEF_OPAQUE 1 | #define HAVE_NCCREATE 1 | #define HAVE_NC_SET_LOG_LEVEL 1 | #define HAVE_NC_DEF_VAR_SZIP 1 | #define HAVE_NC_GET_CHUNK_CACHE_INTS 1 | #define USE_NETCDF4 1 | #define LOGGING 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_STDARG_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_DIRENT_H 1 | #define HAVE_SYS_WAIT_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_VPRINTF 1 | #define HAVEBOOL 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_SSIZE_T 1 | #define HAVE_PTRDIFF_T 1 | / end confdefs.h. / | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | if (sizeof (longlong)) | return 0; | ; | return 0; | } configure:24639: result: no configure:24648: checking whether char is unsigned configure:24668: gcc -c -g -O2 -I/home/yzm/installz/netcdf-install/include conftest.c >&5 configure:24668: $? = 0 configure:24676: result: no configure:24687: checking size of short configure:24693: gcc -o conftest -g -O2 -I/home/yzm/installz/netcdf-install/include -L/home/yzm/installz/netcdf-install/lib conftest.c -lnetcdf -ldl -lm >&5 configure:24693: $? = 0 configure:24693: ./conftest configure:24693: $? = 0 configure:24708: result: 2 configure:24720: checking size of int configure:24726: gcc -o conftest -g -O2 -I/home/yzm/installz/netcdf-install/include -L/home/yzm/installz/netcdf-install/lib conftest.c -lnetcdf -ldl -lm >&5 configure:24726: $? = 0 configure:24726: ./conftest configure:24726: $? = 0 configure:24741: result: 4 configure:24753: checking size of long configure:24759: gcc -o conftest -g -O2 -I/home/yzm/installz/netcdf-install/include -L/home/yzm/installz/netcdf-install/lib conftest.c -lnetcdf -ldl -lm >&5 configure:24759: $? = 0 configure:24759: ./conftest configure:24759: $? = 0 configure:24774: result: 8 configure:24786: checking size of float configure:24792: gcc -o conftest -g -O2 -I/home/yzm/installz/netcdf-install/include -L/home/yzm/installz/netcdf-install/lib conftest.c -lnetcdf -ldl -lm >&5 configure:24792: $? = 0 configure:24792: ./conftest configure:24792: $? = 0 configure:24807: result: 4 configure:24819: checking size of double configure:24825: gcc -o conftest -g -O2 -I/home/yzm/installz/netcdf-install/include -L/home/yzm/installz/netcdf-install/lib conftest.c -lnetcdf -ldl -lm >&5 configure:24825: $? = 0 configure:24825: ./conftest configure:24825: $? = 0 configure:24840: result: 8 configure:24852: checking size of off_t configure:24858: gcc -o conftest -g -O2 -I/home/yzm/installz/netcdf-install/include -L/home/yzm/installz/netcdf-install/lib conftest.c -lnetcdf -ldl -lm >&5 configure:24858: $? = 0 configure:24858: ./conftest configure:24858: $? = 0 configure:24873: result: 8 configure:24885: checking size of size_t configure:24891: gcc -o conftest -g -O2 -I/home/yzm/installz/netcdf-install/include -L/home/yzm/installz/netcdf-install/lib conftest.c -lnetcdf -ldl -lm >&5 configure:24891: $? = 0 configure:24891: ./conftest configure:24891: $? = 0 configure:24906: result: 8 configure:24918: checking size of ptrdiff_t configure:24924: gcc -o conftest -g -O2 -I/home/yzm/installz/netcdf-install/include -L/home/yzm/installz/netcdf-install/lib conftest.c -lnetcdf -ldl -lm >&5 configure:24924: $? = 0 configure:24924: ./conftest configure:24924: $? = 0 configure:24939: result: 8 configure:24947: gcc -o conftest -g -O2 -I/home/yzm/installz/netcdf-install/include -L/home/yzm/installz/netcdf-install/lib conftest.c -lnetcdf -ldl -lm >&5 configure:24947: $? = 0 configure:24947: ./conftest configure:24947: $? = 0 configure:25023: generating header files and makefiles configure:25174: checking that generated files are newer than configure configure:25180: result: done configure:25279: creating ./config.status

----------------------

Running config.status.

----------------------

This file was extended by netCDF-Fortran config.status 4.5.4, which was generated by GNU Autoconf 2.71. Invocation command line was

CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status

on geowater-Precision-7920-Tower

config.status:1314: creating Makefile config.status:1314: creating nf-config config.status:1314: creating netcdf-fortran.pc config.status:1314: creating libnetcdff.settings config.status:1314: creating docs/Makefile config.status:1314: creating fortran/Makefile config.status:1314: creating nf_test/Makefile config.status:1314: creating nf_test4/Makefile config.status:1314: creating nf03_test/Makefile config.status:1314: creating nf03_test4/Makefile config.status:1314: creating CMakeExtras/Makefile config.status:1314: creating libsrc/Makefile config.status:1314: creating examples/Makefile config.status:1314: creating examples/F90/Makefile config.status:1314: creating examples/F77/Makefile config.status:1498: linking nf_test/ref_fills.nc to nf_test/fills.nc config.status:1517: executing depfiles commands config.status:1594: cd fortran && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles make: Nothing to be done for 'am--depfiles'. config.status:1599: $? = 0 config.status:1594: cd nf_test && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles make: Nothing to be done for 'am--depfiles'. config.status:1599: $? = 0 config.status:1517: executing libtool commands

----------------

Cache variables.

----------------

ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_char_unsigned=no ac_cv_c_compiler_gnu=yes ac_cv_c_const=yes ac_cv_env_CC_set=set ac_cv_env_CC_value=gcc ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value=-I/home/yzm/installz/netcdf-install/include ac_cv_env_F77_set= ac_cv_env_F77_value= ac_cv_env_FCFLAGS_set= ac_cv_env_FCFLAGS_value= ac_cv_env_FC_set=set ac_cv_env_FC_value=gfortran ac_cv_env_FFLAGS_set= ac_cv_env_FFLAGS_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value=-L/home/yzm/installz/netcdf-install/lib ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_LT_SYS_LIBRARY_PATH_set= ac_cv_env_LT_SYS_LIBRARY_PATH_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_f77_compiler_gnu=yes ac_cv_fc_compiler_gnu=yes ac_cv_fc_srcext_f90=none ac_cv_func_alloca_works=yes ac_cv_func_nc_def_opaque=yes ac_cv_func_nc_def_var_szip=yes ac_cv_func_nc_get_chunk_cache_ints=yes ac_cv_func_nc_set_log_level=yes ac_cv_func_nccreate=yes ac_cv_func_oc_open=no ac_cv_func_vprintf=yes ac_cv_header_ctype_h=yes ac_cv_header_dirent_dirent_h=yes ac_cv_header_dlfcn_h=yes ac_cv_header_errno_h=yes ac_cv_header_fcntl_h=yes ac_cv_header_getopt_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_locale_h=yes ac_cv_header_malloc_h=yes ac_cv_header_netcdf_h=yes ac_cv_header_stdarg_h=yes ac_cv_header_stdbool_h=yes ac_cv_header_stdint_h=yes ac_cv_header_stdio_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_param_h=yes ac_cv_header_sys_resource_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_time_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_sys_wait_h=yes ac_cv_header_unistd_h=yes ac_cv_host=x86_64-pc-linux-gnu ac_cv_lib_m_floor=yes ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_FGREP='/bin/grep -F' ac_cv_path_GREP=/bin/grep ac_cv_path_SED=/bin/sed ac_cv_path_install='/usr/bin/install -c' ac_cv_path_lt_DD=/bin/dd ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=mawk ac_cv_prog_NM='/usr/bin/nm -B' ac_cv_prog_ac_ct_AR=ar ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_F77=gfortran ac_cv_prog_ac_ct_MANIFEST_TOOL=mt ac_cv_prog_ac_ct_OBJDUMP=objdump ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_c11= ac_cv_prog_cc_g=yes ac_cv_prog_cc_stdc= ac_cv_prog_f77_g=yes ac_cv_prog_fc_g=yes ac_cv_prog_make_make_set=yes ac_cv_search_dlopen=-ldl ac_cv_search_nc_open=-lnetcdf ac_cv_search_opendir='none required' ac_cv_sizeof_double=8 ac_cv_sizeof_float=4 ac_cv_sizeof_int=4 ac_cv_sizeof_long=8 ac_cv_sizeof_off_t=8 ac_cv_sizeof_ptrdiff_t=8 ac_cv_sizeof_short=2 ac_cv_sizeof_size_t=8 ac_cv_sys_file_offset_bits=no ac_cv_sys_largefile_CC=no ac_cv_target=x86_64-pc-linux-gnu ac_cv_type__Bool=yes ac_cv_type_longlong=no ac_cv_type_off_t=yes ac_cv_type_ptrdiff_t=yes ac_cv_type_size_t=yes ac_cv_type_ssize_t=yes ac_cv_type_uchar=no ac_cv_working_alloca_h=yes am_cv_CC_dependencies_compiler_type=gcc3 am_cv_make_support_nested_variables=yes am_cv_prog_cc_c_o=yes ax_cv_f90_modflag=-I lt_cv_ar_at_file=@ lt_cv_archive_cmds_need_lc=no lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs lt_cv_path_LD=/usr/bin/ld lt_cv_path_NM='/usr/bin/nm -B' lt_cv_path_mainfest_tool=no lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_c_o_F77=yes lt_cv_prog_compiler_c_o_FC=yes lt_cv_prog_compiler_pic='-fPIC -DPIC' lt_cv_prog_compiler_pic_F77=-fPIC lt_cv_prog_compiler_pic_FC=-fPIC lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_pic_works_F77=yes lt_cv_prog_compiler_pic_works_FC=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=yes lt_cv_prog_compiler_static_works_F77=yes lt_cv_prog_compiler_static_works_FC=yes lt_cv_prog_gnu_ld=yes lt_cv_sharedlib_from_linklib_cmd='printf %s\n' lt_cv_shlibpath_overrides_runpath=yes lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.[ ]([ABCDGIRSTW][ABCDGIRSTW])[ ][ ]([_A-Za-z][_A-Za-z0-9])$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\''' lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: (.) .$/ {"\1", (void ) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW] . (.)$/ {"\1", (void ) \&\1},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: (.) .$/ {"\1", (void ) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW] . (lib.)$/ {"\1", (void ) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW] . (.)$/ {"lib\1", (void ) \&\1},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T . (.)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW] . (.*)$/extern char \1;/p'\''' lt_cv_sys_global_symbol_to_import= lt_cv_sys_max_cmd_len=1572864 lt_cv_to_host_file_cmd=func_convert_file_noop lt_cv_to_tool_file_cmd=func_convert_file_noop lt_cv_truncate_bin='/bin/dd bs=4096 count=1'

-----------------

Output variables.

-----------------

    $(foreach tool, $(valgrind_enabled_tools), check-valgrind-$(tool))
    LOG_COMPILER="$$(VALGRIND_LOG_COMPILER)" \
    LOG_FLAGS="$$(valgrind_$(1)_flags)" \
    TESTS_ENVIRONMENT="$$(VALGRIND_TESTS_ENVIRONMENT)" \
    TEST_SUITE_LOG=test-suite-$(1).log
$$(valgrind_v_use)$$(MAKE) check-TESTS \
$(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -k \
$(TESTS_ENVIRONMENT) \
$(VALGRIND) $(VALGRIND_SUPPRESSIONS) --error-exitcode=1 $(VALGRIND_FLAGS)
$(valgrind_lt) \
@echo "Need to reconfigure with --enable-valgrind"
@echo "Need to reconfigure with --enable-valgrind"
@echo "Need to reconfigure with --enable-valgrind-$(1)"
G_DEBUG=fatal-warnings,fatal-criticals,gc-friendly
G_SLICE=always-malloc,debug-blocks \
env VALGRIND=$(VALGRIND) \

#

(Default: --num-callers=30)

files to load. (Default: empty)

memcheck, helgrind, drd, sgcheck). (Default: various)

- VALGRIND_$toolname_FLAGS: Flags to pass to Valgrind $toolname (one of:

- VALGRIND_FLAGS: General flags to pass to all Valgrind tools.

- VALGRIND_SUPPRESSIONS_FILES: Space-separated list of Valgrind suppressions

Internal use

Optional variables

Optional:

Support running with and without libtool.

Use recursive makes in order to ignore errors during check

Valgrind check

Valgrind running

$(foreach tool,$(valgrind_tools),$(eval $(call valgrind_tool_rule,$(tool)))) ' .PHONY: check-valgrind $(add-prefix check-valgrind-,$(valgrind_tools)) ACLOCAL='${SHELL} '\''/home/yzm/installz/netcdf-fortran-4.5.4/missing'\'' aclocal-1.16' ALLOCA='' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' AM_DISTCHECK_CONFIGURE_FLAGS += --disable-valgrind AM_DISTCHECK_CONFIGURE_FLAGS ?= AM_V='$(V)' AR='ar' AUTOCONF='${SHELL} '\''/home/yzm/installz/netcdf-fortran-4.5.4/missing'\'' autoconf' AUTOHEADER='${SHELL} '\''/home/yzm/installz/netcdf-fortran-4.5.4/missing'\'' autoheader' AUTOMAKE='${SHELL} '\''/home/yzm/installz/netcdf-fortran-4.5.4/missing'\'' automake-1.16' AWK='mawk' BUILD_BENCHMARKS_FALSE='#' BUILD_BENCHMARKS_TRUE='' BUILD_DAP_FALSE='' BUILD_DAP_TRUE='#' BUILD_DOCS_FALSE='' BUILD_DOCS_TRUE='#' BUILD_INTERNAL_DOCS='no' BUILD_PARALLEL4_FALSE='' BUILD_PARALLEL4_TRUE='#' BUILD_PARALLEL_FALSE='' BUILD_PARALLEL_TRUE='#' BUILD_PNETCDF_FALSE='' BUILD_PNETCDF_TRUE='#' BUILD_V2_FALSE='#' BUILD_V2_TRUE='' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-g -O2 -DLONGLONG_IS_LONG' CONFIG_DATE='Wed Apr 6 20:35:44 CST 2022' CPPFLAGS='-I/home/yzm/installz/netcdf-install/include' CSCOPE='cscope' CTAGS='ctags' CYGPATH_W='echo' DEFS='-DPACKAGE_NAME=\"netCDF-Fortran\" -DPACKAGE_TARNAME=\"netcdf-fortran\" -DPACKAGE_VERSION=\"4.5.4\" -DPACKAGE_STRING=\"netCDF-Fortran\ 4.5.4\" -DPACKAGE_BUGREPORT=\"support-netcdf@unidata.ucar.edu\" -DPACKAGE_URL=\"\" -DPACKAGE=\"netcdf-fortran\" -DVERSION=\"4.5.4\" -DNF_RELAX_COORD_BOUND=1 -DENABLE_CDF5=1 -DHAVE_F2008=1 -DHAVE_TS29113_SUPPORT=1 -DTEMP_LARGE=\".\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DNF_INT1_T=byte -DNF_INT2_T=integer*2 -DNF_INT8_T=integer*8 -DNF_INT1_IS_C_SIGNED_CHAR=1 -DNF_INT2_IS_C_SHORT=1 -DNF_INT8_IS_C_LONG_LONG=1 -DNF_INT_IS_C_INT=1 -DNF_REAL_IS_C_FLOAT=1 -DNF_DOUBLEPRECISION_IS_C_DOUBLE=1 -DNCBYTE_T=byte -DNCSHORT_T=integer*2 -DHAVE_LIBM=1 -DHAVE_NETCDF_H=1 -DHAVE_NC_DEF_OPAQUE=1 -DHAVE_NCCREATE=1 -DHAVE_NC_SET_LOG_LEVEL=1 -DHAVE_NC_DEF_VAR_SZIP=1 -DHAVE_NC_GET_CHUNK_CACHE_INTS=1 -DUSE_NETCDF4=1 -DLOGGING=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_LOCALE_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDARG_H=1 -DHAVE_ERRNO_H=1 -DHAVE_CTYPE_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_VPRINTF=1 -DHAVEBOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_SSIZE_T=1 -DHAVE_PTRDIFF_T=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=8 -DSIZEOF_FLOAT=4 -DSIZEOF_DOUBLE=8 -DSIZEOF_OFF_T=8 -DSIZEOF_SIZE_T=8 -DSIZEOF_PTRDIFF_T=8' DEPDIR='.deps' DLLTOOL='false' DOT='' DOXYGEN='' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' ENABLE_VALGRIND_FALSE='' ENABLE_VALGRIND_TRUE='#' ENABLE_VALGRIND_drd='no' ENABLE_VALGRIND_helgrind='no' ENABLE_VALGRIND_memcheck='no' ENABLE_VALGRIND_sgcheck='no' ETAGS='etags' EXEEXT='' F77='gfortran' FC='gfortran' FCFLAGS='-g -O2' FCFLAGS_f90='' FC_VERSION='/usr/bin/gfortran' FFLAGS='-g -O2' FGREP='/bin/grep -F' GREP='/bin/grep' HAS_CDF5='yes' HAS_DAP='no' HAS_F03='yes' HAS_F90='' HAS_LOGGING='yes' HAS_LOGGING_FALSE='#' HAS_LOGGING_TRUE='' HAS_NC2='yes' HAS_NC4='yes' HAS_NC4_PARALLEL='no' HAS_PARALLEL='no' HAS_PNETCDF='no' HAS_SZIP_WRITE='yes' HAVE_DOT='NO' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LARGE_FILE_TESTS_FALSE='' LARGE_FILE_TESTS_TRUE='#' LD='/usr/bin/ld -m elf_x86_64' LDFLAGS='-L/home/yzm/installz/netcdf-install/lib' LIBOBJS='' LIBS='-lnetcdf -ldl -lm ' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' LT_SYS_LIBRARY_PATH='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} '\''/home/yzm/installz/netcdf-fortran-4.5.4/missing'\'' makeinfo' MANIFEST_TOOL=':' MKDIR_P='/bin/mkdir -p' MOD_FLAG='-I' MOSTLYCLEANFILES += $(valgrind_log_files) MOSTLYCLEANFILES ?= MPIEXEC='mpiexec' NC_FLIBS='-lnetcdff -L/home/yzm/installz/netcdf-install/lib -lnetcdf -lnetcdf -ldl -lm ' NC_LIBS='-L/home/yzm/installz/netcdf-install/lib -lnetcdf -lnetcdf -ldl -lm ' NM='/usr/bin/nm -B' NMEDIT='' NMFLAGS='' OBJDUMP='objdump' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='netcdf-fortran' PACKAGE_BUGREPORT='support-netcdf@unidata.ucar.edu' PACKAGE_NAME='netCDF-Fortran' PACKAGE_STRING='netCDF-Fortran 4.5.4' PACKAGE_TARNAME='netcdf-fortran' PACKAGE_URL='' PACKAGE_VERSION='4.5.4' PATH_SEPARATOR=':' RANLIB='ranlib' SED='/bin/sed' SET_MAKE='' SHELL='/bin/bash' STRIP='strip' TEST_FILTERS_FALSE='' TEST_FILTERS_TRUE='#' TEST_PARALLEL_FALSE='' TEST_PARALLEL_TRUE='#' TEST_SZIP_WRITE_FALSE='#' TEST_SZIP_WRITE_TRUE='' USE_LOGGING_FALSE='#' USE_LOGGING_TRUE='' USE_NETCDF4_FALSE='#' USE_NETCDF4_TRUE='' USE_SED_FALSE='#' USE_SED_TRUE='' VALGRIND='' VALGRIND_CHECK_RULES=' VALGRIND_ENABLED='no' VALGRIND_ENABLED_FALSE='' VALGRIND_ENABLED_TRUE='#' VALGRIND_FLAGS ?= --num-callers=30 VALGRIND_LOG_COMPILER = \ VALGRIND_SUPPRESSIONS ?= $(addprefix --suppressions=,$(VALGRIND_SUPPRESSIONS_FILES)) VALGRIND_TESTS_ENVIRONMENT = \ VALGRIND_drd_FLAGS ?= VALGRIND_helgrind_FLAGS ?= --history-level=approx VALGRIND_memcheck_FLAGS ?= --leak-check=full --show-reachable=no VALGRIND_sgcheck_FLAGS ?= VERSION='4.5.4' ac_ct_AR='ar' ac_ct_CC='gcc' ac_ct_DUMPBIN='' ac_ct_F77='gfortran' ac_ct_FC='' amEXEEXT_FALSE='' amEXEEXT_TRUE='#' am__fastdepCC_FALSE='#' amfastdepCC_TRUE='' aminclude='include' amisrc='' amleading_dot='.' am__nodep='_no' amquote='' amtar='$${TAR-tar} chof - "$$tardir"' amuntar='$${TAR-tar} xf -' bindir='${exec_prefix}/bin' build='x86_64-pc-linux-gnu' build_alias='' build_cpu='x86_64' build_os='linux-gnu' build_vendor='pc' check-valgrind-$(1)-am: check-valgrind-am: datadir='${datarootdir}' datarootdir='${prefix}/share' define valgrind_tool_rule docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' else else else else ifeq ($$(VALGRIND_ENABLED),yes) enable_shared='yes' enable_static='yes' endef endif endif endif endif exec_prefix='${prefix}' fmoddir='${includedir}' host='x86_64-pc-linux-gnu' host_alias='' host_cpu='x86_64' host_os='linux-gnu' host_vendor='pc' htmldir='${docdir}' ifeq ($$(VALGRIND_ENABLED)-$$(ENABLEVALGRIND$(1)),yes-yes) ifeq ($(VALGRIND_ENABLED),yes) ifneq ($$(TESTS),) ifneq ($(LIBTOOL),) includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/yzm/installz/netcdf-fortran-4.5.4/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/home/yzm/installz/netcdf-install' program_transform_name='s,x,x,' psdir='${docdir}' runstatedir='${localstatedir}/run' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target='x86_64-pc-linux-gnu' target_alias='' target_cpu='x86_64' target_os='linux-gnu' target_vendor='pc' valgrind_drd_flags = --tool=drd $(VALGRIND_drd_FLAGS) valgrind_enabled_tools='' valgrind_helgrind_flags = --tool=helgrind $(VALGRIND_helgrind_FLAGS) valgrind_log_files = $(addprefix test-suite-,$(addsuffix .log,$(valgrind_tools))) valgrind_lt = valgrind_lt = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=execute valgrind_memcheck_flags = --tool=memcheck $(VALGRIND_memcheck_FLAGS) valgrind_quiet = $(valgrindquiet$(V)) valgrindquiet = $(valgrindquiet$(AM_DEFAULT_VERBOSITY)) valgrind_quiet_0 = --quiet valgrind_sgcheck_flags = --tool=exp-sgcheck $(VALGRIND_sgcheck_FLAGS) valgrind_tools='memcheck helgrind drd sgcheck' valgrind_v_use = $(valgrind_vuse$(V)) valgrind_vuse = $(valgrind_vuse$(AM_DEFAULT_VERBOSITY)) valgrind_v_use_0 = @echo " USE " $(patsubst check-valgrind-%-am,%,$@):;

-----------

confdefs.h.

-----------

/ confdefs.h /

define PACKAGE_NAME "netCDF-Fortran"

define PACKAGE_TARNAME "netcdf-fortran"

define PACKAGE_VERSION "4.5.4"

define PACKAGE_STRING "netCDF-Fortran 4.5.4"

define PACKAGE_BUGREPORT "support-netcdf@unidata.ucar.edu"

define PACKAGE_URL ""

define PACKAGE "netcdf-fortran"

define VERSION "4.5.4"

define NF_RELAX_COORD_BOUND 1

define ENABLE_CDF5 1

define HAVE_F2008 1

define HAVE_TS29113_SUPPORT 1

define TEMP_LARGE "."

define HAVE_STDIO_H 1

define HAVE_STDLIB_H 1

define HAVE_STRING_H 1

define HAVE_INTTYPES_H 1

define HAVE_STDINT_H 1

define HAVE_STRINGS_H 1

define HAVE_SYS_STAT_H 1

define HAVE_SYS_TYPES_H 1

define HAVE_UNISTD_H 1

define HAVE_SYS_TIME_H 1

define STDC_HEADERS 1

define HAVE_DLFCN_H 1

define LT_OBJDIR ".libs/"

define NF_INT1_T byte

define NF_INT2_T integer*2

define NF_INT8_T integer*8

define NF_INT1_IS_C_SIGNED_CHAR 1

define NF_INT2_IS_C_SHORT 1

define NF_INT8_IS_C_LONG_LONG 1

define NF_INT_IS_C_INT 1

define NF_REAL_IS_C_FLOAT 1

define NF_DOUBLEPRECISION_IS_C_DOUBLE 1

define NCBYTE_T byte

define NCSHORT_T integer*2

define HAVE_LIBM 1

define HAVE_NETCDF_H 1

define HAVE_NC_DEF_OPAQUE 1

define HAVE_NCCREATE 1

define HAVE_NC_SET_LOG_LEVEL 1

define HAVE_NC_DEF_VAR_SZIP 1

define HAVE_NC_GET_CHUNK_CACHE_INTS 1

define USE_NETCDF4 1

define LOGGING 1

define HAVE_SYS_PARAM_H 1

define HAVE_LOCALE_H 1

define HAVE_STDIO_H 1

define HAVE_STDARG_H 1

define HAVE_ERRNO_H 1

define HAVE_CTYPE_H 1

define HAVE_FCNTL_H 1

define HAVE_MALLOC_H 1

define HAVE_STDLIB_H 1

define HAVE_STRING_H 1

define HAVE_STRINGS_H 1

define HAVE_UNISTD_H 1

define HAVE_SYS_STAT_H 1

define HAVE_GETOPT_H 1

define HAVE_SYS_TIME_H 1

define HAVE_SYS_RESOURCE_H 1

define HAVE_DIRENT_H 1

define HAVE_SYS_WAIT_H 1

define TIME_WITH_SYS_TIME 1

define HAVE_VPRINTF 1

define HAVE__BOOL 1

define HAVE_STDBOOL_H 1

define HAVE_ALLOCA_H 1

define HAVE_ALLOCA 1

define HAVE_SSIZE_T 1

define HAVE_PTRDIFF_T 1

define SIZEOF_SHORT 2

define SIZEOF_INT 4

define SIZEOF_LONG 8

define SIZEOF_FLOAT 4

define SIZEOF_DOUBLE 8

define SIZEOF_OFF_T 8

define SIZEOF_SIZE_T 8

define SIZEOF_PTRDIFF_T 8

configure: exit 0