Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29276 Discussions

environment variable don't work for netcdf building?

green_tea
Beginner
2,701 Views
Hi,
I successufully intalled intel F90 and C++, then netcdf 3.6.3. But I failed the compilation of my model.

The erros are:

/home/yujingmei/Model/CESM/jm-test/model_jm-1.9x2.5/cesm1_0_3/models/utils/pio/pio_types.F90(11): error #7013: This module file was not generated by any release of this compiler. [NETCDF]
use netcdf ! _EXTERNAL
---------^
/home/yujingmei/Model/CESM/jm-test/model_jm-1.9x2.5/cesm1_0_3/models/utils/pio/pio_types.F90(291): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [NF90_GLOBAL]
integer, public, parameter :: PIO_global = nf90_global
----------------------------------------------^

As I use intel fortran compiler by the option "-fc ifort" and "-fc_type intel" to compile CESM model, I suppose that the probleme is caused by the type of the fortran compile is different from the one that netcdf is builed. While I remark that in the configure output file(configure.log.yu), the checking of ifort is "no", and in the make output file(make.log.yu), there is "gfortran compile".
But in the .bashrc file, I've added the environmental variables:
# fortran compiler
source /opt/intel/bin/ifortvars.sh ia32
# c compiler
source /opt/intel/bin/iccvars.sh ia32
# netcdf
export CC=icc
export CXX=icpc
export CFLAGS='-O3 -xT -ip -no-prec-div -static'
export CXXFLAGS='-O3 -xT -ip -no-prec-div -static'
export F77=ifort
export FC=ifort
export F90=ifort
export FFLAGS='-O3 -xT -ip -no-prec-div -static'
export CPP='icc -E'
export CXXCPP='icpc -E'
export NETCDF=/usr/local
export INC_NETCDF=$NETCDF/include
export LIB_NETCDF=$NETCDF/lib
# PATH
export PATH=$PATH:/usr/local

and source ~/.bashrc before configure netcdf.
What's wrong?
Thank you very much!
Jingmei
0 Kudos
9 Replies
green_tea
Beginner
2,701 Views
=============================
configure output(configure.log.yu)
=============================
configure: netCDF 3.6.3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: checking user options
checking whether CXX is set to ''... no
checking whether FC is set to ''... no
checking whether F90 is set to ''... no
checking whether this is a netCDF-4.x build... no
checking whether netCDF extra tests should be run (developers only)... no
checking whether documentation is to be installed... no
checking whether Fortran compiler(s) should be tested during configure... yes
checking whether configure should try to set compiler flags... yes
checking whether FFIO will be used... no
checking whether to skip C++, F77, or F90 APIs if compiler is broken... yes
checking whether only the C library is desired... no
checking whether examples should be built... yes
checking whether F77 API is desired... yes
checking whether F90 API is desired... yes
checking whether fortran type sizes should be checked... yes
checking whether C API is desired... yes
checking where to get netCDF C-only library for separate fortran libraries...
checking whether CXX API is desired... yes
checking whether v2 netCDF API should be built... yes
checking whether the ncgen/ncdump should be built... yes
checking whether large file (> 2GB) tests should be run... no
checking whether benchmaks should be run (experimental)... no
checking whether extreme numbers should be used in tests... yes
checking where to put large temp files if large file tests are run... .
checking whether a win32 DLL is desired... no
checking whether separate fortran libs are desired... no
configure: finding C compiler
checking for xlc... no
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking whether cc understands -c and -o together... yes
checking for an ANSI C-conforming const... yes
configure: finding Fortran compiler (will not be used if Fortran API is not desired)
checking for xlf90... no
checking for fort... no
checking for xlf95... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... gfortran
checking whether we are using the GNU Fortran compiler... yes
checking whether gfortran accepts -g... yes
checking for xlf... no
checking for fort... no
checking for xlf95... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf77... no
checking for lf95... no
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
configure: setting up Fortran 90
checking for Fortran flag to compile .f90 files... none
checking fortran 90 modules inclusion flag... -I
checking if Fortran compiler can handle Fortran-90... yes
configure: finding C++ compiler (will not be used if C++ API is not desired)
checking for cl... no
checking for KCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for xlC... no
checking for aCC... no
checking for c++... c++
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
configure: setting up libtool
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking dependency style of c++... (cached) gcc3
checking how to run the C++ preprocessor... c++ -E
checking whether we are using the GNU Fortran 77 compiler... (cached) yes
checking whether gfortran accepts -g... (cached) yes
checking whether we are using the GNU Fortran compiler... (cached) yes
checking whether gfortran accepts -g... (cached) yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC -DPIC
checking if c++ PIC flag -fPIC -DPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran static flag -static works... yes
checking if gfortran supports -c -o file.o... yes
checking if gfortran supports -c -o file.o... (cached) yes
checking whether the gfortran linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran static flag -static works... yes
checking if gfortran supports -c -o file.o... yes
checking if gfortran supports -c -o file.o... (cached) yes
checking whether the gfortran linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
configure: finding other utilities
checking for a BSD-compatible install... /usr/bin/install -c
configure: trying to set fortran flags for this platform
configure: trying to set flags for this platform
checking if _HPUX_SOURCE should be set... no
checking if Solaris -Xa option is needed... CFLAGS=-g -O2
configure: trying to set fortran 90 flags for this platform
checking if we need to add to FFLAGS for ifort compiler... FFLAGS=-g -O2
checking if we need to set _LARGE_FILES despite results of previous tests... _LARGE_FILES=
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
configure: displaying some results
checking CPPFLAGS...
checking CC CFLAGS... cc -g -O2
checking type cc... cc is /usr/bin/cc
checking CXX... c++
checking CXXFLAGS... -g -O2
checking type c++... c++ is /usr/bin/c++
checking FC... gfortran
checking FFLAGS... -g -O2
checking type gfortran... gfortran is /usr/bin/gfortran
checking F90... gfortran
checking F90FLAGS...
checking type gfortran... gfortran is /usr/bin/gfortran
checking AR... ar
checking AR_FLAGS... cru
checking type ar... ar is /usr/bin/ar
checking NM... /usr/bin/nm -B
checking NMFLAGS...
checking for /usr/bin/nm... /usr/bin/nm -B
checking nm flags...
checking for C-equivalent to Fortran routine "SUB"... sub_
checking for Fortran "byte"... yes
checking for Fortran "integer*2"... yes
checking if Fortran "byte" is C "signed char"... yes
checking if Fortran "byte" is C "short"... no
checking if Fortran "byte" is C "int"... no
checking if Fortran "byte" is C "long"... no
checking if Fortran "integer*2" is C "short"... yes
checking if Fortran "integer*2" is C "int"... no
checking if Fortran "integer*2" is C "long"... no
checking if Fortran "integer" is C "int"... yes
checking if Fortran "real" is C "float"... yes
checking if Fortran "doubleprecision" is C "double"... yes
checking for Fortran-equivalent to netCDF "byte"... byte
checking for Fortran-equivalent to netCDF "short"... integer*2
checking if Fortran 90 compiler capitalizes .mod filenames... no
configure: checking types, headers, and functions
checking for stdlib.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for strlcat... no
checking for strerror... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether isnan is declared... yes
checking whether isinf is declared... yes
checking whether isfinite is declared... yes
checking whether signbit is declared... yes
checking for struct stat.st_blksize... yes
checking for IEEE floating point format... yes
checking for size_t... yes
checking for off_t... yes
checking for ssize_t... yes
checking for ptrdiff_t... yes
checking for uchar... no
checking whether char is unsigned... no
checking whether byte ordering is bigendian... no
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking size of float... 4
checking size of double... 8
checking size of off_t... 8
checking size of size_t... 4
checking for manual-page index command...
checking what to call the output of the ftpbin target... binary-netcdf-3.6.3_nc3_gfortran_gfortran_c++.tar gfortran c++
checking binary distribution directory... /home/ftp/pub/binary/dummy_system
checking for gawk... (cached) gawk
checking for flex... no
checking for lex... no
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
configure: generating header files and makefiles
configure: creating ./config.status
config.status: creating Makefile
config.status: creating man/Makefile
config.status: creating man4/Makefile
config.status: creating fortran/Makefile
config.status: creating libsrc/Makefile
config.status: creating libsrc4/Makefile
config.status: creating nctest/Makefile
config.status: creating nc_test4/Makefile
config.status: creating nc_test/Makefile
config.status: creating ncdump/Makefile
config.status: creating ncgen/Makefile
config.status: creating nf_test/Makefile
config.status: creating cxx/Makefile
config.status: creating cxx4/Makefile
config.status: creating f90/Makefile
config.status: creating examples/Makefile
config.status: creating examples/C/Makefile
config.status: creating examples/CDL/Makefile
config.status: creating examples/CXX/Makefile
config.status: creating examples/CXX4/Makefile
config.status: creating examples/F90/Makefile
config.status: creating examples/F77/Makefile
config.status: creating win32/Makefile
config.status: creating win32/NET/Makefile
config.status: creating win32/NET/libsrc/Makefile
config.status: creating win32/NET/ncdump/Makefile
config.status: creating win32/NET/ncgen/Makefile
config.status: creating win32/NET/examples/Makefile
config.status: creating win32/NET/nctest/Makefile
config.status: creating win32/NET/nc_test/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: creating fortran/nfconfig1.inc
config.status: executing depfiles commands
config.status: executing libtool commands
0 Kudos
green_tea
Beginner
2,701 Views
===================
make output(make.log.yu)
====================
make all-recursive
make[1]: `/home/yujingmei/software/netcdf/netcdf-3.6.3'
Making all in f90
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/f90'
/bin/bash ../libtool --mode=compile gfortran -I../libsrc -I. -g -O2 -c -o typeSizes.lo typeSizes.f90
libtool: compile: gfortran -I../libsrc -I. -g -O2 -c typeSizes.f90 -o typeSizes.o
/bin/bash ../libtool --mode=compile gfortran -I../libsrc -I. -g -O2 -c -o netcdf.lo netcdf.f90
libtool: compile: gfortran -I../libsrc -I. -g -O2 -c netcdf.f90 -o netcdf.o
/bin/bash ../libtool --mode=link gfortran -I../libsrc -I. -g -O2 -o libnetcdff90.la typeSizes.lo netcdf.lo
libtool: link: ar cru .libs/libnetcdff90.a typeSizes.o netcdf.o
libtool: link: ranlib .libs/libnetcdff90.a
libtool: link: ( cd ".libs" && rm -f "libnetcdff90.la" && ln -s "../libnetcdff90.la" "libnetcdff90.la" )
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/f90'
Making all in fortran
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/fortran'
echo '! NetCDF-3.' > netcdf.inc
cat ../fortran/netcdf3.inc >> netcdf.inc
echo >> netcdf.inc
echo '! NetCDF-2.' >> netcdf.inc
cat ../fortran/netcdf2.inc >> netcdf.inc
make all-am
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/fortran'
depbase=`echo fort-attio.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../libsrc -g -O2 -MT fort-attio.lo -MD -MP -MF $depbase.Tpo -c -o fort-attio.lo fort-attio.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../libsrc -g -O2 -MT fort-attio.lo -MD -MP -MF .deps/fort-attio.Tpo -c fort-attio.c -o fort-attio.o
depbase=`echo fort-control.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../libsrc -g -O2 -MT fort-control.lo -MD -MP -MF $depbase.Tpo -c -o fort-control.lo fort-control.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../libsrc -g -O2 -MT fort-control.lo -MD -MP -MF .deps/fort-control.Tpo -c fort-control.c -o fort-control.o
depbase=`echo fort-dim.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../libsrc -g -O2 -MT fort-dim.lo -MD -MP -MF $depbase.Tpo -c -o fort-dim.lo fort-dim.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../libsrc -g -O2 -MT fort-dim.lo -MD -MP -MF .deps/fort-dim.Tpo -c fort-dim.c -o fort-dim.o
depbase=`echo fort-genatt.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../libsrc -g -O2 -MT fort-genatt.lo -MD -MP -MF $depbase.Tpo -c -o fort-genatt.lo fort-genatt.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../libsrc -g -O2 -MT fort-genatt.lo -MD -MP -MF .deps/fort-genatt.Tpo -c fort-genatt.c -o fort-genatt.o
depbase=`echo fort-geninq.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../libsrc -g -O2 -MT fort-geninq.lo -MD -MP -MF $depbase.Tpo -c -o fort-geninq.lo fort-geninq.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../libsrc -g -O2 -MT fort-geninq.lo -MD -MP -MF .deps/fort-geninq.Tpo -c fort-geninq.c -o fort-geninq.o
depbase=`echo fort-genvar.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../libsrc -g -O2 -MT fort-genvar.lo -MD -MP -MF $depbase.Tpo -c -o fort-genvar.lo fort-genvar.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../libsrc -g -O2 -MT fort-genvar.lo -MD -MP -MF .deps/fort-genvar.Tpo -c fort-genvar.c -o fort-genvar.o
depbase=`echo fort-lib.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../libsrc -g -O2 -MT fort-lib.lo -MD -MP -MF $depbase.Tpo -c -o fort-lib.lo fort-lib.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../libsrc -g -O2 -MT fort-lib.lo -MD -MP -MF .deps/fort-lib.Tpo -c fort-lib.c -o fort-lib.o
depbase=`echo fort-misc.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../libsrc -g -O2 -MT fort-misc.lo -MD -MP -MF $depbase.Tpo -c -o fort-misc.lo fort-misc.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../libsrc -g -O2 -MT fort-misc.lo -MD -MP -MF .deps/fort-misc.Tpo -c fort-misc.c -o fort-misc.o
depbase=`echo fort-v2compat.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../libsrc -g -O2 -MT fort-v2compat.lo -MD -MP -MF $depbase.Tpo -c -o fort-v2compat.lo fort-v2compat.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../libsrc -g -O2 -MT fort-v2compat.lo -MD -MP -MF .deps/fort-v2compat.Tpo -c fort-v2compat.c -o fort-v2compat.o
depbase=`echo fort-vario.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../libsrc -g -O2 -MT fort-vario.lo -MD -MP -MF $depbase.Tpo -c -o fort-vario.lo fort-vario.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../libsrc -g -O2 -MT fort-vario.lo -MD -MP -MF .deps/fort-vario.Tpo -c fort-vario.c -o fort-vario.o
depbase=`echo fort-var1io.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../libsrc -g -O2 -MT fort-var1io.lo -MD -MP -MF $depbase.Tpo -c -o fort-var1io.lo fort-var1io.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../libsrc -g -O2 -MT fort-var1io.lo -MD -MP -MF .deps/fort-var1io.Tpo -c fort-var1io.c -o fort-var1io.o
depbase=`echo fort-varaio.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../libsrc -g -O2 -MT fort-varaio.lo -MD -MP -MF $depbase.Tpo -c -o fort-varaio.lo fort-varaio.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../libsrc -g -O2 -MT fort-varaio.lo -MD -MP -MF .deps/fort-varaio.Tpo -c fort-varaio.c -o fort-varaio.o
depbase=`echo fort-varmio.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../libsrc -g -O2 -MT fort-varmio.lo -MD -MP -MF $depbase.Tpo -c -o fort-varmio.lo fort-varmio.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../libsrc -g -O2 -MT fort-varmio.lo -MD -MP -MF .deps/fort-varmio.Tpo -c fort-varmio.c -o fort-varmio.o
depbase=`echo fort-varsio.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../libsrc -g -O2 -MT fort-varsio.lo -MD -MP -MF $depbase.Tpo -c -o fort-varsio.lo fort-varsio.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../libsrc -g -O2 -MT fort-varsio.lo -MD -MP -MF .deps/fort-varsio.Tpo -c fort-varsio.c -o fort-varsio.o
/bin/bash ../libtool --tag=CC --mode=link cc -g -O2 -o libnetcdff.la fort-attio.lo fort-control.lo fort-dim.lo fort-genatt.lo fort-geninq.lo fort-genvar.lo fort-lib.lo fort-misc.lo fort-v2compat.lo fort-vario.lo fort-var1io.lo fort-varaio.lo fort-varmio.lo fort-varsio.lo ../f90/libnetcdff90.la
libtool: link: (cd .libs/libnetcdff.lax/libnetcdff90.a && ar x "/home/yujingmei/software/netcdf/netcdf-3.6.3/fortran/../f90/.libs/libnetcdff90.a")
libtool: link: ar cru .libs/libnetcdff.a fort-attio.o fort-control.o fort-dim.o fort-genatt.o fort-geninq.o fort-genvar.o fort-lib.o fort-misc.o fort-v2compat.o fort-vario.o fort-var1io.o fort-varaio.o fort-varmio.o fort-varsio.o .libs/libnetcdff.lax/libnetcdff90.a/netcdf.o .libs/libnetcdff.lax/libnetcdff90.a/typeSizes.o
libtool: link: ranlib .libs/libnetcdff.a
libtool: link: rm -fr .libs/libnetcdff.lax
libtool: link: ( cd ".libs" && rm -f "libnetcdff.la" && ln -s "../libnetcdff.la" "libnetcdff.la" )
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/fortran'
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/fortran'
Making all in libsrc
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/libsrc'
make all-am
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/libsrc'
depbase=`echo attr.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -g -O2 -MT attr.lo -MD -MP -MF $depbase.Tpo -c -o attr.lo attr.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -g -O2 -MT attr.lo -MD -MP -MF .deps/attr.Tpo -c attr.c -o attr.o
depbase=`echo ncx.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -g -O2 -MT ncx.lo -MD -MP -MF $depbase.Tpo -c -o ncx.lo ncx.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -g -O2 -MT ncx.lo -MD -MP -MF .deps/ncx.Tpo -c ncx.c -o ncx.o
depbase=`echo putget.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -g -O2 -MT putget.lo -MD -MP -MF $depbase.Tpo -c -o putget.lo putget.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -g -O2 -MT putget.lo -MD -MP -MF .deps/putget.Tpo -c putget.c -o putget.o
depbase=`echo dim.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -g -O2 -MT dim.lo -MD -MP -MF $depbase.Tpo -c -o dim.lo dim.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -g -O2 -MT dim.lo -MD -MP -MF .deps/dim.Tpo -c dim.c -o dim.o
depbase=`echo error.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -g -O2 -MT error.lo -MD -MP -MF $depbase.Tpo -c -o error.lo error.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -g -O2 -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -o error.o
depbase=`echo libvers.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -g -O2 -MT libvers.lo -MD -MP -MF $depbase.Tpo -c -o libvers.lo libvers.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -g -O2 -MT libvers.lo -MD -MP -MF .deps/libvers.Tpo -c libvers.c -o libvers.o
depbase=`echo nc.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -g -O2 -MT nc.lo -MD -MP -MF $depbase.Tpo -c -o nc.lo nc.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -g -O2 -MT nc.lo -MD -MP -MF .deps/nc.Tpo -c nc.c -o nc.o
depbase=`echo string.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -g -O2 -MT string.lo -MD -MP -MF $depbase.Tpo -c -o string.lo string.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -g -O2 -MT string.lo -MD -MP -MF .deps/string.Tpo -c string.c -o string.o
depbase=`echo v1hpg.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -g -O2 -MT v1hpg.lo -MD -MP -MF $depbase.Tpo -c -o v1hpg.lo v1hpg.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -g -O2 -MT v1hpg.lo -MD -MP -MF .deps/v1hpg.Tpo -c v1hpg.c -o v1hpg.o
depbase=`echo var.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -g -O2 -MT var.lo -MD -MP -MF $depbase.Tpo -c -o var.lo var.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -g -O2 -MT var.lo -MD -MP -MF .deps/var.Tpo -c var.c -o var.o
depbase=`echo utf8proc.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -g -O2 -MT utf8proc.lo -MD -MP -MF $depbase.Tpo -c -o utf8proc.lo utf8proc.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -g -O2 -MT utf8proc.lo -MD -MP -MF .deps/utf8proc.Tpo -c utf8proc.c -o utf8proc.o
depbase=`echo posixio.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -g -O2 -MT posixio.lo -MD -MP -MF $depbase.Tpo -c -o posixio.lo posixio.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -g -O2 -MT posixio.lo -MD -MP -MF .deps/posixio.Tpo -c posixio.c -o posixio.o
depbase=`echo v2i.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -g -O2 -MT v2i.lo -MD -MP -MF $depbase.Tpo -c -o v2i.lo v2i.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -g -O2 -MT v2i.lo -MD -MP -MF .deps/v2i.Tpo -c v2i.c -o v2i.o
/bin/bash ../libtool --tag=CC --mode=link cc -g -O2 -o libnetcdf2.la v2i.lo
libtool: link: ar cru .libs/libnetcdf2.a v2i.o
libtool: link: ranlib .libs/libnetcdf2.a
libtool: link: ( cd ".libs" && rm -f "libnetcdf2.la" && ln -s "../libnetcdf2.la" "libnetcdf2.la" )
/bin/bash ../libtool --tag=CC --mode=link cc -g -O2 -version-info 4:0:0 -o libnetcdf.la -rpath /usr/local/lib attr.lo ncx.lo putget.lo dim.lo error.lo libvers.lo nc.lo string.lo v1hpg.lo var.lo utf8proc.lo posixio.lo libnetcdf2.la ../fortran/libnetcdff.la
libtool: link: (cd .libs/libnetcdf.lax/libnetcdf2.a && ar x "/home/yujingmei/software/netcdf/netcdf-3.6.3/libsrc/./.libs/libnetcdf2.a")
libtool: link: (cd .libs/libnetcdf.lax/libnetcdff.a && ar x "/home/yujingmei/software/netcdf/netcdf-3.6.3/libsrc/../fortran/.libs/libnetcdff.a")
libtool: link: ar cru .libs/libnetcdf.a attr.o ncx.o putget.o dim.o error.o libvers.o nc.o string.o v1hpg.o var.o utf8proc.o posixio.o .libs/libnetcdf.lax/libnetcdf2.a/v2i.o .libs/libnetcdf.lax/libnetcdff.a/netcdf.o .libs/libnetcdf.lax/libnetcdff.a/fort-geninq.o .libs/libnetcdf.lax/libnetcdff.a/fort-control.o .libs/libnetcdf.lax/libnetcdff.a/fort-genatt.o .libs/libnetcdf.lax/libnetcdff.a/fort-dim.o .libs/libnetcdf.lax/libnetcdff.a/fort-lib.o .libs/libnetcdf.lax/libnetcdff.a/typeSizes.o .libs/libnetcdf.lax/libnetcdff.a/fort-varaio.o .libs/libnetcdf.lax/libnetcdff.a/fort-varsio.o .libs/libnetcdf.lax/libnetcdff.a/fort-varmio.o .libs/libnetcdf.lax/libnetcdff.a/fort-v2compat.o .libs/libnetcdf.lax/libnetcdff.a/fort-misc.o .libs/libnetcdf.lax/libnetcdff.a/fort-attio.o .libs/libnetcdf.lax/libnetcdff.a/fort-genvar.o .libs/libnetcdf.lax/libnetcdff.a/fort-var1io.o .libs/libnetcdf.lax/libnetcdff.a/fort-vario.o
libtool: link: ranlib .libs/libnetcdf.a
libtool: link: rm -fr .libs/libnetcdf.lax
libtool: link: ( cd ".libs" && rm -f "libnetcdf.la" && ln -s "../libnetcdf.la" "libnetcdf.la" )
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/libsrc'
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/libsrc'
Making all in nctest
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/nctest'
make[2]: `all'
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/nctest'
Making all in ncgen
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/ncgen'
depbase=`echo main.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I.. -I../libsrc -I../libsrc -g -O2 -MT main.o -MD -MP -MF $depbase.Tpo -c -o main.o main.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo load.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I.. -I../libsrc -I../libsrc -g -O2 -MT load.o -MD -MP -MF $depbase.Tpo -c -o load.o load.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo ncgentab.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I.. -I../libsrc -I../libsrc -g -O2 -MT ncgentab.o -MD -MP -MF $depbase.Tpo -c -o ncgentab.o ncgentab.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo escapes.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I.. -I../libsrc -I../libsrc -g -O2 -MT escapes.o -MD -MP -MF $depbase.Tpo -c -o escapes.o escapes.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo getfill.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I.. -I../libsrc -I../libsrc -g -O2 -MT getfill.o -MD -MP -MF $depbase.Tpo -c -o getfill.o getfill.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo init.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I.. -I../libsrc -I../libsrc -g -O2 -MT init.o -MD -MP -MF $depbase.Tpo -c -o init.o init.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo genlib.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I.. -I../libsrc -I../libsrc -g -O2 -MT genlib.o -MD -MP -MF $depbase.Tpo -c -o genlib.o genlib.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool --tag=CC --mode=link cc -g -O2 -o ncgen main.o load.o ncgentab.o escapes.o getfill.o init.o genlib.o ../libsrc/libnetcdf.la
libtool: link: cc -g -O2 -o ncgen main.o load.o ncgentab.o escapes.o getfill.o init.o genlib.o ../libsrc/.libs/libnetcdf.a
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/ncgen'
Making all in ncdump
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/ncdump'
../ncgen/ncgen -c -o ctest0.nc ./../ncgen/c0.cdl > ./ctest.c
../ncgen/ncgen -v2 -c -o ctest0_64.nc ./../ncgen/c0.cdl > ./ctest64.c
make all-am
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/ncdump'
depbase=`echo ncdump.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../nc_test -I../libsrc -I../libsrc -g -O2 -MT ncdump.o -MD -MP -MF $depbase.Tpo -c -o ncdump.o ncdump.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo vardata.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../nc_test -I../libsrc -I../libsrc -g -O2 -MT vardata.o -MD -MP -MF $depbase.Tpo -c -o vardata.o vardata.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo dumplib.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../nc_test -I../libsrc -I../libsrc -g -O2 -MT dumplib.o -MD -MP -MF $depbase.Tpo -c -o dumplib.o dumplib.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo indent.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../nc_test -I../libsrc -I../libsrc -g -O2 -MT indent.o -MD -MP -MF $depbase.Tpo -c -o indent.o indent.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool --tag=CC --mode=link cc -g -O2 -o ncdump ncdump.o vardata.o dumplib.o indent.o -lm ../libsrc/libnetcdf.la
libtool: link: cc -g -O2 -o ncdump ncdump.o vardata.o dumplib.o indent.o -lm ../libsrc/.libs/libnetcdf.a
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/ncdump'
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/ncdump'
Making all in nf_test
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/nf_test'
make[2]: `all'
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/nf_test'
Making all in cxx
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/cxx'
depbase=`echo netcdf.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../libsrc -g -O2 -MT netcdf.lo -MD -MP -MF $depbase.Tpo -c -o netcdf.lo netcdf.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../libsrc -g -O2 -MT netcdf.lo -MD -MP -MF .deps/netcdf.Tpo -c netcdf.cpp -o netcdf.o
depbase=`echo ncvalues.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../libsrc -g -O2 -MT ncvalues.lo -MD -MP -MF $depbase.Tpo -c -o ncvalues.lo ncvalues.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../libsrc -g -O2 -MT ncvalues.lo -MD -MP -MF .deps/ncvalues.Tpo -c ncvalues.cpp -o ncvalues.o
/bin/bash ../libtool --tag=CXX --mode=link c++ -g -O2 -version-info 4:0:0 -o libnetcdf_c++.la -rpath /usr/local/lib netcdf.lo ncvalues.lo
libtool: link: ar cru .libs/libnetcdf_c++.a netcdf.o ncvalues.o
libtool: link: ranlib .libs/libnetcdf_c++.a
libtool: link: ( cd ".libs" && rm -f "libnetcdf_c++.la" && ln -s "../libnetcdf_c++.la" "libnetcdf_c++.la" )
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/cxx'
Making all in nc_test
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/nc_test'
make[2]: `all'
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/nc_test'
Making all in man
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/man'
make[2]: `all'
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/man'
Making all in examples
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples'
Making all in C
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/C'
make[3]: `all'
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/C'
Making all in CDL
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/CDL'
make[3]: `all'
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/CDL'
Making all in F77
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/F77'
make[3]: `all'
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/F77'
Making all in F90
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/F90'
make all-am
make[4]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/F90'
make[4]: `all-am'
make[4]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/F90'
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/F90'
Making all in CXX
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/CXX'
make[3]: `all'
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/CXX'
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples'
make[3]: `all-am'
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples'
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples'
Making all in win32
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/win32'
Making all in NET
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/win32/NET'
Making all in examples
make[4]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/win32/NET/examples'
make[4]: `all'
make[4]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/win32/NET/examples'
Making all in libsrc
make[4]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/win32/NET/libsrc'
make[4]: `all'
make[4]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/win32/NET/libsrc'
Making all in ncdump
make[4]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/win32/NET/ncdump'
make[4]: `all'
make[4]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/win32/NET/ncdump'
Making all in ncgen
make[4]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/win32/NET/ncgen'
make[4]: `all'
make[4]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/win32/NET/ncgen'
Making all in nctest
make[4]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/win32/NET/nctest'
make[4]: `all'
make[4]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/win32/NET/nctest'
Making all in nc_test
make[4]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/win32/NET/nc_test'
make[4]: `all'
make[4]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/win32/NET/nc_test'
make[4]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/win32/NET'
make[4]: `all-am'
make[4]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/win32/NET'
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/win32/NET'
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/win32'
make[3]: `all-am'
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/win32'
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/win32'
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3'
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3'
make[1]: `/home/yujingmei/software/netcdf/netcdf-3.6.3'
0 Kudos
green_tea
Beginner
2,701 Views
====================================
make check intall output(check-install.log.yu)
Making check in f90
make[1]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/f90'
make[1]: `check'
make[1]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/f90'
Making check in fortran
make[1]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/fortran'
make check-am
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/fortran'
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/fortran'
make[1]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/fortran'
Making check in libsrc
make[1]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/libsrc'
make check-am
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/libsrc'
make t_nc
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/libsrc'
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -g -O2 -MT t_nc-t_nc.o -MD -MP -MF .deps/t_nc-t_nc.Tpo -c -o t_nc-t_nc.o `test -f 't_nc.c' || echo './'`t_nc.c
mv -f .deps/t_nc-t_nc.Tpo .deps/t_nc-t_nc.Po
/bin/bash ../libtool --tag=CC --mode=link cc -g -O2 -o t_nc t_nc-t_nc.o libnetcdf.la
libtool: link: cc -g -O2 -o t_nc t_nc-t_nc.o ./.libs/libnetcdf.a
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/libsrc'
make check-TESTS
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/libsrc'
dimrename: IXX
nc_close ret = 0

reopen id = 3 for filename test.nc
NC done
GATTR VAR VATTR
VATTR
VATTR
VATTR
VATTR
VATTR
fill_seq indices 1 2 3 75.000000 != 2.718282
Done
got val = 3.250000
got val = 0.000000
got val = 2.718282
got val = 82555
got val = 97
got NC_CHAR val = A (0x41)
got NC_CHAR val = B (0x42)
got NC_CHAR val = "The red death had long devastated the country."
got val = A (0x41)
got val = B (0x42)
got val = "The red death had long devastated the country."
got vals = 0.000000 ... 447.000000
re nc_close ret = 0
PASS: t_nc
==================
All 1 tests passed
==================
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/libsrc'
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/libsrc'
make[1]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/libsrc'
Making check in nctest
make[1]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/nctest'
make nctest
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/nctest'
depbase=`echo add.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../libsrc -g -O2 -MT add.o -MD -MP -MF $depbase.Tpo -c -o add.o add.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo atttests.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../libsrc -g -O2 -MT atttests.o -MD -MP -MF $depbase.Tpo -c -o atttests.o atttests.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo cdftests.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../libsrc -g -O2 -MT cdftests.o -MD -MP -MF $depbase.Tpo -c -o cdftests.o cdftests.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo dimtests.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../libsrc -g -O2 -MT dimtests.o -MD -MP -MF $depbase.Tpo -c -o dimtests.o dimtests.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo driver.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../libsrc -g -O2 -MT driver.o -MD -MP -MF $depbase.Tpo -c -o driver.o driver.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo emalloc.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../libsrc -g -O2 -MT emalloc.o -MD -MP -MF $depbase.Tpo -c -o emalloc.o emalloc.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo error.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../libsrc -g -O2 -MT error.o -MD -MP -MF $depbase.Tpo -c -o error.o error.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo misctest.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../libsrc -g -O2 -MT misctest.o -MD -MP -MF $depbase.Tpo -c -o misctest.o misctest.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo rec.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../libsrc -g -O2 -MT rec.o -MD -MP -MF $depbase.Tpo -c -o rec.o rec.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo slabs.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../libsrc -g -O2 -MT slabs.o -MD -MP -MF $depbase.Tpo -c -o slabs.o slabs.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo val.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../libsrc -g -O2 -MT val.o -MD -MP -MF $depbase.Tpo -c -o val.o val.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo vardef.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../libsrc -g -O2 -MT vardef.o -MD -MP -MF $depbase.Tpo -c -o vardef.o vardef.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo varget.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../libsrc -g -O2 -MT varget.o -MD -MP -MF $depbase.Tpo -c -o varget.o varget.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo vargetg.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../libsrc -g -O2 -MT vargetg.o -MD -MP -MF $depbase.Tpo -c -o vargetg.o vargetg.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo varput.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../libsrc -g -O2 -MT varput.o -MD -MP -MF $depbase.Tpo -c -o varput.o varput.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo varputg.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../libsrc -g -O2 -MT varputg.o -MD -MP -MF $depbase.Tpo -c -o varputg.o varputg.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo vartests.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../libsrc -g -O2 -MT vartests.o -MD -MP -MF $depbase.Tpo -c -o vartests.o vartests.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo vputget.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../libsrc -g -O2 -MT vputget.o -MD -MP -MF $depbase.Tpo -c -o vputget.o vputget.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo vputgetg.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../libsrc -g -O2 -MT vputgetg.o -MD -MP -MF $depbase.Tpo -c -o vputgetg.o vputgetg.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool --tag=CC --mode=link cc -g -O2 -L../libsrc -o nctest add.o atttests.o cdftests.o dimtests.o driver.o emalloc.o error.o misctest.o rec.o slabs.o val.o vardef.o varget.o vargetg.o varput.o varputg.o vartests.o vputget.o vputgetg.o -lm ../libsrc/libnetcdf.la
libtool: link: cc -g -O2 -o nctest add.o atttests.o cdftests.o dimtests.o driver.o emalloc.o error.o misctest.o rec.o slabs.o val.o vardef.o varget.o vargetg.o varput.o varputg.o vartests.o vputget.o vputgetg.o -L/home/yujingmei/software/netcdf/netcdf-3.6.3/libsrc -lm ../libsrc/.libs/libnetcdf.a
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/nctest'
make check-TESTS
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/nctest'
PASS: nctest
PASS: compare_test_files.sh
==================
All 2 tests passed
==================
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/nctest'
make[1]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/nctest'
Making check in ncgen
make[1]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/ncgen'
make check-TESTS
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/ncgen'
*** Testing ncgen.
*** creating classic file c0.nc from c0.cdl...
*** creating 64-bit offset file c0_64.nc from c0.cdl...
*** Test successful!
PASS: run_tests.sh
==================
All 1 tests passed
==================
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/ncgen'
make[1]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/ncgen'
Making check in ncdump
make[1]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/ncdump'
make check-am
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/ncdump'
make rewrite-scalar ctest ctest64 ncdump tst_utf8
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/ncdump'
depbase=`echo rewrite-scalar.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../nc_test -I../libsrc -I../libsrc -g -O2 -MT rewrite-scalar.o -MD -MP -MF $depbase.Tpo -c -o rewrite-scalar.o rewrite-scalar.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool --tag=CC --mode=link cc -g -O2 -o rewrite-scalar rewrite-scalar.o -lm ../libsrc/libnetcdf.la
libtool: link: cc -g -O2 -o rewrite-scalar rewrite-scalar.o -lm ../libsrc/.libs/libnetcdf.a
depbase=`echo ctest.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../nc_test -I../libsrc -I../libsrc -g -O2 -MT ctest.o -MD -MP -MF $depbase.Tpo -c -o ctest.o ctest.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool --tag=CC --mode=link cc -g -O2 -o ctest ctest.o -lm ../libsrc/libnetcdf.la
libtool: link: cc -g -O2 -o ctest ctest.o -lm ../libsrc/.libs/libnetcdf.a
depbase=`echo ctest64.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../nc_test -I../libsrc -I../libsrc -g -O2 -MT ctest64.o -MD -MP -MF $depbase.Tpo -c -o ctest64.o ctest64.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool --tag=CC --mode=link cc -g -O2 -o ctest64 ctest64.o -lm ../libsrc/libnetcdf.la
libtool: link: cc -g -O2 -o ctest64 ctest64.o -lm ../libsrc/.libs/libnetcdf.a
make[3]: ncdump
depbase=`echo tst_utf8.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../nc_test -I../libsrc -I../libsrc -g -O2 -MT tst_utf8.o -MD -MP -MF $depbase.Tpo -c -o tst_utf8.o tst_utf8.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool --tag=CC --mode=link cc -g -O2 -o tst_utf8 tst_utf8.o -lm ../libsrc/libnetcdf.la
libtool: link: cc -g -O2 -o tst_utf8 tst_utf8.o -lm ../libsrc/.libs/libnetcdf.a
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/ncdump'
make check-TESTS
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/ncdump'

*** Testing ncgen and ncdump using some test CDL files.
*** creating tst_small.nc from ref_tst_small.cdl...
*** creating tst_small.cdl from tst_small.nc...
*** creating test0.nc from test0.cdl...
*** creating test1.cdl from test0.nc...
*** creating test1.nc from test1.cdl...
*** creating test2.cdl from test1.nc...
*** checking that test1.cdl and test2.nc are the same...
*** All tests of ncgen and ncdump using test0.cdl passed!
PASS: run_tests.sh

*** Testing ncgen and ncdump with 64-bit offset format.
*** creating test0.nc from test0.cdl...
*** creating test1.cdl from test0.nc...
*** creating test1.nc from test1.cdl...
*** creating test2.cdl from test1.nc...
*** All ncgen and ncdump with 64-bit offset format tests passed!
PASS: tst_64bit.sh
PASS: ctest
PASS: ctest64

*** Testing ncgen and ncdump test output for classic format.
*** creating ctest1.cdl from ctest0.nc...
*** creating c0.nc from c0.cdl...
*** creating c1.cdl from c0.nc...
*** comparing ncdump of C program output (ctest1.cdl) with c1.cdl...
*** test output for ncdump -k
*** test output for ncdump -x
*** creating tst_ncml.nc from tst_ncml.cdl
*** creating c1.ncml from tst_ncml.nc
*** comparing ncdump -x of generated file with ref1.ncml ...
*** All ncgen and ncdump test output for classic format passed!
*** Testing ncgen and ncdump test output for 64-bit offset format.
*** creating ctest1.cdl from test0_64.nc...
*** creating c0.nc from c0.cdl...
*** creating c1.cdl from c0.nc...
*** comparing ncdump of C program output (ctest1_64.cdl) with c1.cdl...
*** test output for ncdump -k
*** All ncgen and ncdump test output for 64-bit offset format passed!
PASS: tst_output.sh
*** testing length of classic file
*** testing length of classic file written with NOFILL
*** testing length of rewritten classic file
*** testing length of rewritten classic file written with NOFILL
*** testing length of 64-bit offset file
*** testing length of 64-bit offset file written with NOFILL
*** testing length of rewritten 64-bit offset file
*** testing length of rewritten 64-bit offset file written with NOFILL
*** testing length of one-record-variable classic file
*** testing length of one-record-variable classic file written with NOFILL
*** testing length of one-record-variable 64-bit offset file
*** testing length of one-record-variable 64-bit offset file written with NOFILL
PASS: tst_lengths.sh
*** creating UTF-8 test file tst_utf8.nc...ok.
*** Tests successful!
PASS: tst_utf8

*** Testing ncgen and ncdump for UTF8 support...
*** creating classic offset file with utf8 characters...
*** dump and compare utf8 output...
*** creating 64-bit offset file with utf8 characters...
*** (64 bit) dump and compare utf8 output...
*** dumping tst_utf8.nc to tst_utf8.cdl...
*** comparing tst_utf8.cdl with tst8.cdl...
*** All utf8 tests of ncgen and ncdump passed!
PASS: run_utf8_tests.sh
==================
All 8 tests passed
==================
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/ncdump'
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/ncdump'
make[1]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/ncdump'
Making check in nf_test
make[1]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/nf_test'
make nf_test tst_f77_v2 ftest tst_f90
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/nf_test'
gfortran -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../fortran -I../libsrc -I../fortran -I../f90 -g -O2 -c -o test_get.o test_get.F
gfortran -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../fortran -I../libsrc -I../fortran -I../f90 -g -O2 -c -o test_put.o test_put.F
gfortran -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../fortran -I../libsrc -I../fortran -I../f90 -g -O2 -c -o nf_error.o nf_error.F
gfortran -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../fortran -I../libsrc -I../fortran -I../f90 -g -O2 -c -o nf_test.o nf_test.F
gfortran -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../fortran -I../libsrc -I../fortran -I../f90 -g -O2 -c -o test_read.o test_read.F
gfortran -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../fortran -I../libsrc -I../fortran -I../f90 -g -O2 -c -o test_write.o test_write.F
gfortran -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../fortran -I../libsrc -I../fortran -I../f90 -g -O2 -c -o util.o util.F
depbase=`echo fortlib.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -g -O2 -MT fortlib.o -MD -MP -MF $depbase.Tpo -c -o fortlib.o fortlib.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool --tag=F77 --mode=link gfortran -I../fortran -I../libsrc -I../fortran -I../f90 -g -O2 -o nf_test test_get.o test_put.o nf_error.o nf_test.o test_read.o test_write.o util.o fortlib.o ../libsrc/libnetcdf.la
libtool: link: gfortran -I../fortran -I../libsrc -I../fortran -I../f90 -g -O2 -o nf_test test_get.o test_put.o nf_error.o nf_test.o test_read.o test_write.o util.o fortlib.o ../libsrc/.libs/libnetcdf.a
gfortran -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../fortran -I../libsrc -I../fortran -I../f90 -g -O2 -c -o tst_f77_v2.o tst_f77_v2.F
/bin/bash ../libtool --tag=F77 --mode=link gfortran -I../fortran -I../libsrc -I../fortran -I../f90 -g -O2 -o tst_f77_v2 tst_f77_v2.o ../libsrc/libnetcdf.la
libtool: link: gfortran -I../fortran -I../libsrc -I../fortran -I../f90 -g -O2 -o tst_f77_v2 tst_f77_v2.o ../libsrc/.libs/libnetcdf.a
gfortran -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../fortran -I../libsrc -I../fortran -I../f90 -g -O2 -c -o ftest.o ftest.F
/bin/bash ../libtool --tag=F77 --mode=link gfortran -I../fortran -I../libsrc -I../fortran -I../f90 -g -O2 -o ftest ftest.o fortlib.o ../libsrc/libnetcdf.la
libtool: link: gfortran -I../fortran -I../libsrc -I../fortran -I../f90 -g -O2 -o ftest ftest.o fortlib.o ../libsrc/.libs/libnetcdf.a
gfortran -I../fortran -I../f90 -I../libsrc -I../fortran -I../f90 -g -O2 -c -o tst_f90.o tst_f90.f90
/bin/bash ../libtool --mode=link gfortran -I../fortran -I../f90 -I../libsrc -I../fortran -I../f90 -g -O2 -o tst_f90 tst_f90.o ../libsrc/libnetcdf.la
libtool: link: gfortran -I../fortran -I../f90 -I../libsrc -I../fortran -I../f90 -g -O2 -o tst_f90 tst_f90.o ../libsrc/.libs/libnetcdf.a
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/nf_test'
make check-TESTS
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/nf_test'
*** Creating fills.nc.
*** SUCCESS!
PASS: create_fills.sh
*** Testing netCDF-3 Fortran 77 API.
NetCDF version: "3.6.3" of May 7 2012 21:48:01 $
*** testing nf_strerror ...
*** testing nf_open ...
*** testing nf_close ...
*** testing nf_inq ...
*** testing nf_inq_dimid ...
*** testing nf_inq_dim ...
*** testing nf_inq_dimlen ...
*** testing nf_inq_dimname ...
*** testing nf_inq_varid ...
*** testing nf_inq_var ...
*** testing nf_inq_natts ...
*** testing nf_inq_ndims ...
*** testing nf_inq_nvars ...
*** testing nf_inq_unlimdim ...
*** testing nf_inq_format ...
*** testing nf_inq_vardimid ...
*** testing nf_inq_varname ...
*** testing nf_inq_varnatts ...
*** testing nf_inq_varndims ...
*** testing nf_inq_vartype ...
*** testing nf_get_var1_text ...
*** testing nf_get_var1_int1 ...
*** testing nf_get_var1_int2 ...
*** testing nf_get_var1_int ...
*** testing nf_get_var1_real ...
*** testing nf_get_var1_double ...
*** testing nf_get_var_text ...
*** testing nf_get_var_int1 ...
*** testing nf_get_var_int2 ...
*** testing nf_get_var_int ...
*** testing nf_get_var_real ...
*** testing nf_get_var_double ...
*** testing nf_get_vara_text ...
*** testing nf_get_vara_int1 ...
*** testing nf_get_vara_int2 ...
*** testing nf_get_vara_int ...
*** testing nf_get_vara_real ...
*** testing nf_get_vara_double ...
*** testing nf_get_vars_text ...
*** testing nf_get_vars_int1 ...
*** testing nf_get_vars_int2 ...
*** testing nf_get_vars_int ...
*** testing nf_get_vars_real ...
*** testing nf_get_vars_double ...
*** testing nf_get_varm_text ...
*** testing nf_get_varm_int1 ...
*** testing nf_get_varm_int2 ...
*** testing nf_get_varm_int ...
*** testing nf_get_varm_real ...
*** testing nf_get_varm_double ...
*** testing nf_get_att_text ...
*** testing nf_get_att_int1 ...
*** testing nf_get_att_int2 ...
*** testing nf_get_att_int ...
*** testing nf_get_att_real ...
*** testing nf_get_att_double ...
*** testing nf_inq_att ...
*** testing nf_inq_attname ...
*** testing nf_inq_attid ...
*** testing nf_inq_attlen ...
*** testing nf_inq_atttype ...
*** testing nf_create ...
*** testing nf_redef ...
*** testing nf_enddef ...
*** testing nf_sync ...
*** testing nf_abort ...
*** testing nf_def_dim ...
*** testing nf_rename_dim ...
*** testing nf_def_var ...
*** testing nf_put_var1_text ...
*** testing nf_put_var1_int1 ...
*** testing nf_put_var1_int2 ...
*** testing nf_put_var1_int ...
*** testing nf_put_var1_real ...
*** testing nf_put_var1_double ...
*** testing nf_put_var_text ...
*** testing nf_put_var_int1 ...
*** testing nf_put_var_int2 ...
*** testing nf_put_var_int ...
*** testing nf_put_var_real ...
*** testing nf_put_var_double ...
*** testing nf_put_vara_text ...
*** testing nf_put_vara_int1 ...
*** testing nf_put_vara_int2 ...
*** testing nf_put_vara_int ...
*** testing nf_put_vara_real ...
*** testing nf_put_vara_double ...
*** testing nf_put_vars_text ...
*** testing nf_put_vars_int1 ...
*** testing nf_put_vars_int2 ...
*** testing nf_put_vars_int ...
*** testing nf_put_vars_real ...
*** testing nf_put_vars_double ...
*** testing nf_put_varm_text ...
*** testing nf_put_varm_int1 ...
*** testing nf_put_varm_int2 ...
*** testing nf_put_varm_int ...
*** testing nf_put_varm_real ...
*** testing nf_put_varm_double ...
*** testing nf_rename_var ...
*** testing nf_put_att_text ...
*** testing nf_put_att_int1 ...
*** testing nf_put_att_int2 ...
*** testing nf_put_att_int ...
*** testing nf_put_att_real ...
*** testing nf_put_att_double ...
*** testing nf_copy_att ...
*** testing nf_rename_att ...
*** testing nf_del_att ...
*** testing nf_set_fill ...
*** testing nf_set_default_format ...
Total number of failures: 0
*** SUCCESS!
PASS: nf_test
PASS: tst_f77_v2
*** Testing netCDF-2 Fortran 77 API.
*** testing nccre ...
*** testing ncddef ...
*** testing ncvdef ...
*** testing ncapt, ncaptc ...
*** testing ncclos ...
*** testing ncvpt1 ...
*** testing ncvgt1 ...
*** testing ncvpt ...
*** testing ncopn, ncinq, ncdinq, ncvinq, ncanam, ncainq ...
*** testing ncvgt, ncvgtc ...
*** testing ncagt, ncagtc ...
*** testing ncredf, ncdren, ncvren, ncaren, ncendf ...
*** testing ncacpy ...
*** testing ncadel ...
*** testing fill values ...
Total number of failures: 0
*** SUCCESS!
PASS: ftest
*** Testing netCDF-3 Fortran 90 API.
*** SUCCESS!
PASS: tst_f90
==================
All 5 tests passed
==================
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/nf_test'
make[1]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/nf_test'
Making check in cxx
make[1]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/cxx'
make nctst tst_failure
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/cxx'
depbase=`echo nctst.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
c++ -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../libsrc -g -O2 -MT nctst.o -MD -MP -MF $depbase.Tpo -c -o nctst.o nctst.cpp &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool --tag=CXX --mode=link c++ -g -O2 -o nctst nctst.o ../cxx/libnetcdf_c++.la ../libsrc/libnetcdf.la
libtool: link: c++ -g -O2 -o nctst nctst.o ../cxx/.libs/libnetcdf_c++.a ../libsrc/.libs/libnetcdf.a
depbase=`echo tst_failure.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
c++ -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../libsrc -g -O2 -MT tst_failure.o -MD -MP -MF $depbase.Tpo -c -o tst_failure.o tst_failure.cpp &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool --tag=CXX --mode=link c++ -g -O2 -o tst_failure tst_failure.o ../cxx/libnetcdf_c++.la ../libsrc/libnetcdf.la
libtool: link: c++ -g -O2 -o tst_failure tst_failure.o ../cxx/.libs/libnetcdf_c++.a ../libsrc/.libs/libnetcdf.a
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/cxx'
make check-TESTS
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/cxx'
*** Testing C++ API with 2 different netCDF formats.
*** SUCCESS with file nctst_classic.nc
*** SUCCESS with file nctst_64bit_offset.nc

*** Total number of failures: 0
*** nctst SUCCESS!
PASS: nctst
NetCDF: String match to name in use
XFAIL: tst_failure

*** Testing C++ API test program output.
*** dumping classic format file to nctst_classic.cdl and comparing...
*** dumping 64-bit offset format file to nctst_64bit_offset.cdl and comparing...
*** All tests of C++ API test output passed!
PASS: run_nc_tests.sh
=====================================================
All 3 tests behaved as expected (1 expected failures)
=====================================================
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/cxx'
make[1]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/cxx'
Making check in nc_test
make[1]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/nc_test'
make tst_small nc_test tst_misc tst_norm tst_names
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/nc_test'
depbase=`echo tst_small.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I.. -I../libsrc -g -O2 -MT tst_small.o -MD -MP -MF $depbase.Tpo -c -o tst_small.o tst_small.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool --tag=CC --mode=link cc -g -O2 -L../libsrc -o tst_small tst_small.o -lm ../libsrc/libnetcdf.la
libtool: link: cc -g -O2 -o tst_small tst_small.o -L/home/yujingmei/software/netcdf/netcdf-3.6.3/libsrc -lm ../libsrc/.libs/libnetcdf.a
depbase=`echo nc_test.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I.. -I../libsrc -g -O2 -MT nc_test.o -MD -MP -MF $depbase.Tpo -c -o nc_test.o nc_test.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo error.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I.. -I../libsrc -g -O2 -MT error.o -MD -MP -MF $depbase.Tpo -c -o error.o error.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo test_get.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I.. -I../libsrc -g -O2 -MT test_get.o -MD -MP -MF $depbase.Tpo -c -o test_get.o test_get.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo test_put.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I.. -I../libsrc -g -O2 -MT test_put.o -MD -MP -MF $depbase.Tpo -c -o test_put.o test_put.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo test_read.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I.. -I../libsrc -g -O2 -MT test_read.o -MD -MP -MF $depbase.Tpo -c -o test_read.o test_read.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo test_write.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I.. -I../libsrc -g -O2 -MT test_write.o -MD -MP -MF $depbase.Tpo -c -o test_write.o test_write.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo util.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I.. -I../libsrc -g -O2 -MT util.o -MD -MP -MF $depbase.Tpo -c -o util.o util.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool --tag=CC --mode=link cc -g -O2 -L../libsrc -o nc_test nc_test.o error.o test_get.o test_put.o test_read.o test_write.o util.o -lm ../libsrc/libnetcdf.la
libtool: link: cc -g -O2 -o nc_test nc_test.o error.o test_get.o test_put.o test_read.o test_write.o util.o -L/home/yujingmei/software/netcdf/netcdf-3.6.3/libsrc -lm ../libsrc/.libs/libnetcdf.a
depbase=`echo tst_misc.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I.. -I../libsrc -g -O2 -MT tst_misc.o -MD -MP -MF $depbase.Tpo -c -o tst_misc.o tst_misc.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool --tag=CC --mode=link cc -g -O2 -L../libsrc -o tst_misc tst_misc.o -lm ../libsrc/libnetcdf.la
libtool: link: cc -g -O2 -o tst_misc tst_misc.o -L/home/yujingmei/software/netcdf/netcdf-3.6.3/libsrc -lm ../libsrc/.libs/libnetcdf.a
depbase=`echo tst_norm.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I.. -I../libsrc -g -O2 -MT tst_norm.o -MD -MP -MF $depbase.Tpo -c -o tst_norm.o tst_norm.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool --tag=CC --mode=link cc -g -O2 -L../libsrc -o tst_norm tst_norm.o -lm ../libsrc/libnetcdf.la
libtool: link: cc -g -O2 -o tst_norm tst_norm.o -L/home/yujingmei/software/netcdf/netcdf-3.6.3/libsrc -lm ../libsrc/.libs/libnetcdf.a
depbase=`echo tst_names.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I.. -I../libsrc -g -O2 -MT tst_names.o -MD -MP -MF $depbase.Tpo -c -o tst_names.o tst_names.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool --tag=CC --mode=link cc -g -O2 -L../libsrc -o tst_names tst_names.o -lm ../libsrc/libnetcdf.la
libtool: link: cc -g -O2 -o tst_names tst_names.o -L/home/yujingmei/software/netcdf/netcdf-3.6.3/libsrc -lm ../libsrc/.libs/libnetcdf.a
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/nc_test'
make check-TESTS
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/nc_test'

*** Testing small files.
Switching to 64-bit offset format.
*** testing simple small file with a global attribute...ok.
*** testing simple small file with fixed dimensions...ok.
*** testing simple small file with an unlimited dimension...ok.
*** testing small file with one variable...ok.
*** testing small file with one variable and one att...ok.
*** testing small file with one record variable, which grows...ok.
*** testing small file with one growing record variable, with attributes added...ok.
*** testing small file with two growing record variables, with attributes added...ok.
Switching to netCDF classic format.
*** testing simple small file with a global attribute...ok.
*** testing simple small file with fixed dimensions...ok.
*** testing simple small file with an unlimited dimension...ok.
*** testing small file with one variable...ok.
*** testing small file with one variable and one att...ok.
*** testing small file with one record variable, which grows...ok.
*** testing small file with one growing record variable, with attributes added...ok.
*** testing small file with two growing record variables, with attributes added...ok.
*** Tests successful!
PASS: tst_small
PASS: nc_test

*** Testing some extra stuff.
*** Trying to open non-netCDF files of tiny length...ok.
*** Tests successful!
PASS: tst_misc

*** testing UTF-8 normalization...ok.
*** Tests successful!
PASS: tst_norm

*** testing names with file tst_names.nc...
*** switching to netCDF classic format...ok.
*** switching to netCDF 64-bit offset format...ok.
*** Tests successful!
PASS: tst_names
==================
All 5 tests passed
==================
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/nc_test'
make[1]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/nc_test'
Making check in man
make[1]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/man'
make[1]: `check'
make[1]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/man'
Making check in examples
make[1]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples'
Making check in C
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/C'
make simple_xy_wr simple_xy_rd sfc_pres_temp_wr sfc_pres_temp_rd pres_temp_4D_wr pres_temp_4D_rd
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/C'
depbase=`echo simple_xy_wr.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I../.. -I../../fortran -I../.. -I../../libsrc -g -O2 -MT simple_xy_wr.o -MD -MP -MF $depbase.Tpo -c -o simple_xy_wr.o simple_xy_wr.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../../libtool --tag=CC --mode=link cc -g -O2 -L../../libsrc -o simple_xy_wr simple_xy_wr.o -lm ../../libsrc/libnetcdf.la
libtool: link: cc -g -O2 -o simple_xy_wr simple_xy_wr.o -L/home/yujingmei/software/netcdf/netcdf-3.6.3/libsrc -lm ../../libsrc/.libs/libnetcdf.a
depbase=`echo simple_xy_rd.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I../.. -I../../fortran -I../.. -I../../libsrc -g -O2 -MT simple_xy_rd.o -MD -MP -MF $depbase.Tpo -c -o simple_xy_rd.o simple_xy_rd.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../../libtool --tag=CC --mode=link cc -g -O2 -L../../libsrc -o simple_xy_rd simple_xy_rd.o -lm ../../libsrc/libnetcdf.la
libtool: link: cc -g -O2 -o simple_xy_rd simple_xy_rd.o -L/home/yujingmei/software/netcdf/netcdf-3.6.3/libsrc -lm ../../libsrc/.libs/libnetcdf.a
depbase=`echo sfc_pres_temp_wr.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I../.. -I../../fortran -I../.. -I../../libsrc -g -O2 -MT sfc_pres_temp_wr.o -MD -MP -MF $depbase.Tpo -c -o sfc_pres_temp_wr.o sfc_pres_temp_wr.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../../libtool --tag=CC --mode=link cc -g -O2 -L../../libsrc -o sfc_pres_temp_wr sfc_pres_temp_wr.o -lm ../../libsrc/libnetcdf.la
libtool: link: cc -g -O2 -o sfc_pres_temp_wr sfc_pres_temp_wr.o -L/home/yujingmei/software/netcdf/netcdf-3.6.3/libsrc -lm ../../libsrc/.libs/libnetcdf.a
depbase=`echo sfc_pres_temp_rd.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I../.. -I../../fortran -I../.. -I../../libsrc -g -O2 -MT sfc_pres_temp_rd.o -MD -MP -MF $depbase.Tpo -c -o sfc_pres_temp_rd.o sfc_pres_temp_rd.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../../libtool --tag=CC --mode=link cc -g -O2 -L../../libsrc -o sfc_pres_temp_rd sfc_pres_temp_rd.o -lm ../../libsrc/libnetcdf.la
libtool: link: cc -g -O2 -o sfc_pres_temp_rd sfc_pres_temp_rd.o -L/home/yujingmei/software/netcdf/netcdf-3.6.3/libsrc -lm ../../libsrc/.libs/libnetcdf.a
depbase=`echo pres_temp_4D_wr.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I../.. -I../../fortran -I../.. -I../../libsrc -g -O2 -MT pres_temp_4D_wr.o -MD -MP -MF $depbase.Tpo -c -o pres_temp_4D_wr.o pres_temp_4D_wr.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../../libtool --tag=CC --mode=link cc -g -O2 -L../../libsrc -o pres_temp_4D_wr pres_temp_4D_wr.o -lm ../../libsrc/libnetcdf.la
libtool: link: cc -g -O2 -o pres_temp_4D_wr pres_temp_4D_wr.o -L/home/yujingmei/software/netcdf/netcdf-3.6.3/libsrc -lm ../../libsrc/.libs/libnetcdf.a
depbase=`echo pres_temp_4D_rd.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I../.. -I../../fortran -I../.. -I../../libsrc -g -O2 -MT pres_temp_4D_rd.o -MD -MP -MF $depbase.Tpo -c -o pres_temp_4D_rd.o pres_temp_4D_rd.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../../libtool --tag=CC --mode=link cc -g -O2 -L../../libsrc -o pres_temp_4D_rd pres_temp_4D_rd.o -lm ../../libsrc/libnetcdf.la
libtool: link: cc -g -O2 -o pres_temp_4D_rd pres_temp_4D_rd.o -L/home/yujingmei/software/netcdf/netcdf-3.6.3/libsrc -lm ../../libsrc/.libs/libnetcdf.a
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/C'
make check-TESTS
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/C'
*** SUCCESS writing example file simple_xy.nc!
PASS: simple_xy_wr
*** SUCCESS reading example file simple_xy.nc!
PASS: simple_xy_rd
*** SUCCESS writing example file sfc_pres_temp.nc!
PASS: sfc_pres_temp_wr
*** SUCCESS reading example file sfc_pres_temp.nc!
PASS: sfc_pres_temp_rd
*** SUCCESS writing example file pres_temp_4D.nc!
PASS: pres_temp_4D_wr
*** SUCCESS reading example file pres_temp_4D.nc!
PASS: pres_temp_4D_rd
==================
All 6 tests passed
==================
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/C'
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/C'
Making check in CDL
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/CDL'
make check-TESTS
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/CDL'

*** Creating example data files from CDL scripts.
*** creating simple_xy.nc...
*** checking sfc_pres_temp.nc...
*** checking pres_temp_4D.nc...
*** All example creations worked!
PASS: create_sample_files.sh

*** Testing that the CDL examples produced same files as C examples.
*** checking simple_xy.nc...
*** checking sfc_pres_temp.nc...
*** checking pres_temp_4D.nc...
*** All CDL example comparisons worked!
PASS: do_comps.sh
==================
All 2 tests passed
==================
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/CDL'
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/CDL'
Making check in F77
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/F77'
make simple_xy_wr simple_xy_rd sfc_pres_temp_wr sfc_pres_temp_rd pres_temp_4D_wr pres_temp_4D_rd
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/F77'
gfortran -I../../fortran -g -O2 -c -o simple_xy_wr.o simple_xy_wr.f
/bin/bash ../../libtool --tag=F77 --mode=link gfortran -I../../fortran -g -O2 -o simple_xy_wr simple_xy_wr.o ../../fortran/libnetcdff.la ../../libsrc/libnetcdf.la
libtool: link: gfortran -I../../fortran -g -O2 -o simple_xy_wr simple_xy_wr.o ../../fortran/.libs/libnetcdff.a ../../libsrc/.libs/libnetcdf.a
gfortran -I../../fortran -g -O2 -c -o simple_xy_rd.o simple_xy_rd.f
/bin/bash ../../libtool --tag=F77 --mode=link gfortran -I../../fortran -g -O2 -o simple_xy_rd simple_xy_rd.o ../../fortran/libnetcdff.la ../../libsrc/libnetcdf.la
libtool: link: gfortran -I../../fortran -g -O2 -o simple_xy_rd simple_xy_rd.o ../../fortran/.libs/libnetcdff.a ../../libsrc/.libs/libnetcdf.a
gfortran -I../../fortran -g -O2 -c -o sfc_pres_temp_wr.o sfc_pres_temp_wr.f
/bin/bash ../../libtool --tag=F77 --mode=link gfortran -I../../fortran -g -O2 -o sfc_pres_temp_wr sfc_pres_temp_wr.o ../../fortran/libnetcdff.la ../../libsrc/libnetcdf.la
libtool: link: gfortran -I../../fortran -g -O2 -o sfc_pres_temp_wr sfc_pres_temp_wr.o ../../fortran/.libs/libnetcdff.a ../../libsrc/.libs/libnetcdf.a
gfortran -I../../fortran -g -O2 -c -o sfc_pres_temp_rd.o sfc_pres_temp_rd.f
/bin/bash ../../libtool --tag=F77 --mode=link gfortran -I../../fortran -g -O2 -o sfc_pres_temp_rd sfc_pres_temp_rd.o ../../fortran/libnetcdff.la ../../libsrc/libnetcdf.la
libtool: link: gfortran -I../../fortran -g -O2 -o sfc_pres_temp_rd sfc_pres_temp_rd.o ../../fortran/.libs/libnetcdff.a ../../libsrc/.libs/libnetcdf.a
gfortran -I../../fortran -g -O2 -c -o pres_temp_4D_wr.o pres_temp_4D_wr.f
/bin/bash ../../libtool --tag=F77 --mode=link gfortran -I../../fortran -g -O2 -o pres_temp_4D_wr pres_temp_4D_wr.o ../../fortran/libnetcdff.la ../../libsrc/libnetcdf.la
libtool: link: gfortran -I../../fortran -g -O2 -o pres_temp_4D_wr pres_temp_4D_wr.o ../../fortran/.libs/libnetcdff.a ../../libsrc/.libs/libnetcdf.a
gfortran -I../../fortran -g -O2 -c -o pres_temp_4D_rd.o pres_temp_4D_rd.f
/bin/bash ../../libtool --tag=F77 --mode=link gfortran -I../../fortran -g -O2 -o pres_temp_4D_rd pres_temp_4D_rd.o ../../fortran/libnetcdff.la ../../libsrc/libnetcdf.la
libtool: link: gfortran -I../../fortran -g -O2 -o pres_temp_4D_rd pres_temp_4D_rd.o ../../fortran/.libs/libnetcdff.a ../../libsrc/.libs/libnetcdf.a
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/F77'
make check-TESTS
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/F77'
*** SUCCESS writing example file simple_xy.nc!
PASS: simple_xy_wr
*** SUCCESS reading example file simple_xy.nc!
PASS: simple_xy_rd
*** SUCCESS writing example file sfc_pres_temp.nc!
PASS: sfc_pres_temp_wr
*** SUCCESS reading example file sfc_pres_temp.nc!
PASS: sfc_pres_temp_rd
*** SUCCESS writing example filepres_temp_4D.nc!
PASS: pres_temp_4D_wr
*** SUCCESS reading example file pres_temp_4D.nc!
PASS: pres_temp_4D_rd

*** Testing that F77 examples produced same files as C examples.
*** checking simple_xy.nc...
*** checking sfc_pres_temp.nc...
*** checking pres_temp_4D.nc...
*** All F77 example comparisons worked!
PASS: do_comps.sh
==================
All 7 tests passed
==================
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/F77'
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/F77'
Making check in F90
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/F90'
make check-am
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/F90'
make simple_xy_wr simple_xy_rd sfc_pres_temp_wr sfc_pres_temp_rd pres_temp_4D_wr pres_temp_4D_rd
make[4]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/F90'
gfortran -I../../fortran -I../../f90 -I../../f90 -I../../libsrc -g -O2 -c -o simple_xy_wr.o simple_xy_wr.f90
/bin/bash ../../libtool --mode=link gfortran -I../../fortran -I../../f90 -I../../f90 -I../../libsrc -g -O2 -o simple_xy_wr simple_xy_wr.o ../../fortran/libnetcdff.la ../../libsrc/libnetcdf.la
libtool: link: gfortran -I../../fortran -I../../f90 -I../../f90 -I../../libsrc -g -O2 -o simple_xy_wr simple_xy_wr.o ../../fortran/.libs/libnetcdff.a ../../libsrc/.libs/libnetcdf.a
gfortran -I../../fortran -I../../f90 -I../../f90 -I../../libsrc -g -O2 -c -o simple_xy_rd.o simple_xy_rd.f90
/bin/bash ../../libtool --mode=link gfortran -I../../fortran -I../../f90 -I../../f90 -I../../libsrc -g -O2 -o simple_xy_rd simple_xy_rd.o ../../fortran/libnetcdff.la ../../libsrc/libnetcdf.la
libtool: link: gfortran -I../../fortran -I../../f90 -I../../f90 -I../../libsrc -g -O2 -o simple_xy_rd simple_xy_rd.o ../../fortran/.libs/libnetcdff.a ../../libsrc/.libs/libnetcdf.a
gfortran -I../../fortran -I../../f90 -I../../f90 -I../../libsrc -g -O2 -c -o sfc_pres_temp_wr.o sfc_pres_temp_wr.f90
/bin/bash ../../libtool --mode=link gfortran -I../../fortran -I../../f90 -I../../f90 -I../../libsrc -g -O2 -o sfc_pres_temp_wr sfc_pres_temp_wr.o ../../fortran/libnetcdff.la ../../libsrc/libnetcdf.la
libtool: link: gfortran -I../../fortran -I../../f90 -I../../f90 -I../../libsrc -g -O2 -o sfc_pres_temp_wr sfc_pres_temp_wr.o ../../fortran/.libs/libnetcdff.a ../../libsrc/.libs/libnetcdf.a
gfortran -I../../fortran -I../../f90 -I../../f90 -I../../libsrc -g -O2 -c -o sfc_pres_temp_rd.o sfc_pres_temp_rd.f90
/bin/bash ../../libtool --mode=link gfortran -I../../fortran -I../../f90 -I../../f90 -I../../libsrc -g -O2 -o sfc_pres_temp_rd sfc_pres_temp_rd.o ../../fortran/libnetcdff.la ../../libsrc/libnetcdf.la
libtool: link: gfortran -I../../fortran -I../../f90 -I../../f90 -I../../libsrc -g -O2 -o sfc_pres_temp_rd sfc_pres_temp_rd.o ../../fortran/.libs/libnetcdff.a ../../libsrc/.libs/libnetcdf.a
gfortran -I../../fortran -I../../f90 -I../../f90 -I../../libsrc -g -O2 -c -o pres_temp_4D_wr.o pres_temp_4D_wr.f90
/bin/bash ../../libtool --mode=link gfortran -I../../fortran -I../../f90 -I../../f90 -I../../libsrc -g -O2 -o pres_temp_4D_wr pres_temp_4D_wr.o ../../fortran/libnetcdff.la ../../libsrc/libnetcdf.la
libtool: link: gfortran -I../../fortran -I../../f90 -I../../f90 -I../../libsrc -g -O2 -o pres_temp_4D_wr pres_temp_4D_wr.o ../../fortran/.libs/libnetcdff.a ../../libsrc/.libs/libnetcdf.a
gfortran -I../../fortran -I../../f90 -I../../f90 -I../../libsrc -g -O2 -c -o pres_temp_4D_rd.o pres_temp_4D_rd.f90
/bin/bash ../../libtool --mode=link gfortran -I../../fortran -I../../f90 -I../../f90 -I../../libsrc -g -O2 -o pres_temp_4D_rd pres_temp_4D_rd.o ../../fortran/libnetcdff.la ../../libsrc/libnetcdf.la
libtool: link: gfortran -I../../fortran -I../../f90 -I../../f90 -I../../libsrc -g -O2 -o pres_temp_4D_rd pres_temp_4D_rd.o ../../fortran/.libs/libnetcdff.a ../../libsrc/.libs/libnetcdf.a
make[4]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/F90'
make check-TESTS
make[4]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/F90'
*** SUCCESS writing example file simple_xy.nc!
PASS: simple_xy_wr
*** SUCCESS reading example file simple_xy.nc!
PASS: simple_xy_rd
*** SUCCESS writing example file sfc_pres_temp.nc!
PASS: sfc_pres_temp_wr
*** SUCCESS reading example file sfc_pres_temp.nc!
PASS: sfc_pres_temp_rd
*** SUCCESS writing example file pres_temp_4D.nc!
PASS: pres_temp_4D_wr
*** SUCCESS reading example file pres_temp_4D.nc!
PASS: pres_temp_4D_rd

*** Testing that F90 examples produced same files as C examples.
*** checking simple_xy.nc...
*** checking sfc_pres_temp.nc...
*** checking pres_temp_4D.nc...
*** All F90 example comparisons worked!
PASS: do_comps.sh
==================
All 7 tests passed
==================
make[4]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/F90'
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/F90'
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/F90'
Making check in CXX
make[2]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/CXX'
make simple_xy_wr simple_xy_rd sfc_pres_temp_wr sfc_pres_temp_rd pres_temp_4D_wr pres_temp_4D_rd
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/CXX'
depbase=`echo simple_xy_wr.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
c++ -DHAVE_CONFIG_H -I. -I../.. -I../../fortran -I../../cxx -I../../libsrc -g -O2 -MT simple_xy_wr.o -MD -MP -MF $depbase.Tpo -c -o simple_xy_wr.o simple_xy_wr.cpp &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../../libtool --tag=CXX --mode=link c++ -I../../cxx -I../../libsrc -g -O2 -o simple_xy_wr simple_xy_wr.o ../../cxx/libnetcdf_c++.la ../../libsrc/libnetcdf.la
libtool: link: c++ -I../../cxx -I../../libsrc -g -O2 -o simple_xy_wr simple_xy_wr.o ../../cxx/.libs/libnetcdf_c++.a ../../libsrc/.libs/libnetcdf.a
depbase=`echo simple_xy_rd.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
c++ -DHAVE_CONFIG_H -I. -I../.. -I../../fortran -I../../cxx -I../../libsrc -g -O2 -MT simple_xy_rd.o -MD -MP -MF $depbase.Tpo -c -o simple_xy_rd.o simple_xy_rd.cpp &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../../libtool --tag=CXX --mode=link c++ -I../../cxx -I../../libsrc -g -O2 -o simple_xy_rd simple_xy_rd.o ../../cxx/libnetcdf_c++.la ../../libsrc/libnetcdf.la
libtool: link: c++ -I../../cxx -I../../libsrc -g -O2 -o simple_xy_rd simple_xy_rd.o ../../cxx/.libs/libnetcdf_c++.a ../../libsrc/.libs/libnetcdf.a
depbase=`echo sfc_pres_temp_wr.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
c++ -DHAVE_CONFIG_H -I. -I../.. -I../../fortran -I../../cxx -I../../libsrc -g -O2 -MT sfc_pres_temp_wr.o -MD -MP -MF $depbase.Tpo -c -o sfc_pres_temp_wr.o sfc_pres_temp_wr.cpp &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../../libtool --tag=CXX --mode=link c++ -I../../cxx -I../../libsrc -g -O2 -o sfc_pres_temp_wr sfc_pres_temp_wr.o ../../cxx/libnetcdf_c++.la ../../libsrc/libnetcdf.la
libtool: link: c++ -I../../cxx -I../../libsrc -g -O2 -o sfc_pres_temp_wr sfc_pres_temp_wr.o ../../cxx/.libs/libnetcdf_c++.a ../../libsrc/.libs/libnetcdf.a
depbase=`echo sfc_pres_temp_rd.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
c++ -DHAVE_CONFIG_H -I. -I../.. -I../../fortran -I../../cxx -I../../libsrc -g -O2 -MT sfc_pres_temp_rd.o -MD -MP -MF $depbase.Tpo -c -o sfc_pres_temp_rd.o sfc_pres_temp_rd.cpp &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../../libtool --tag=CXX --mode=link c++ -I../../cxx -I../../libsrc -g -O2 -o sfc_pres_temp_rd sfc_pres_temp_rd.o ../../cxx/libnetcdf_c++.la ../../libsrc/libnetcdf.la
libtool: link: c++ -I../../cxx -I../../libsrc -g -O2 -o sfc_pres_temp_rd sfc_pres_temp_rd.o ../../cxx/.libs/libnetcdf_c++.a ../../libsrc/.libs/libnetcdf.a
depbase=`echo pres_temp_4D_wr.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
c++ -DHAVE_CONFIG_H -I. -I../.. -I../../fortran -I../../cxx -I../../libsrc -g -O2 -MT pres_temp_4D_wr.o -MD -MP -MF $depbase.Tpo -c -o pres_temp_4D_wr.o pres_temp_4D_wr.cpp &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../../libtool --tag=CXX --mode=link c++ -I../../cxx -I../../libsrc -g -O2 -o pres_temp_4D_wr pres_temp_4D_wr.o ../../cxx/libnetcdf_c++.la ../../libsrc/libnetcdf.la
libtool: link: c++ -I../../cxx -I../../libsrc -g -O2 -o pres_temp_4D_wr pres_temp_4D_wr.o ../../cxx/.libs/libnetcdf_c++.a ../../libsrc/.libs/libnetcdf.a
depbase=`echo pres_temp_4D_rd.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
c++ -DHAVE_CONFIG_H -I. -I../.. -I../../fortran -I../../cxx -I../../libsrc -g -O2 -MT pres_temp_4D_rd.o -MD -MP -MF $depbase.Tpo -c -o pres_temp_4D_rd.o pres_temp_4D_rd.cpp &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../../libtool --tag=CXX --mode=link c++ -I../../cxx -I../../libsrc -g -O2 -o pres_temp_4D_rd pres_temp_4D_rd.o ../../cxx/libnetcdf_c++.la ../../libsrc/libnetcdf.la
libtool: link: c++ -I../../cxx -I../../libsrc -g -O2 -o pres_temp_4D_rd pres_temp_4D_rd.o ../../cxx/.libs/libnetcdf_c++.a ../../libsrc/.libs/libnetcdf.a
make[3]: `/home/yujingmei/software/netcdf/netcdf-3.6.3/examples/CXX'
make check-TESTS


+-------------------------------------------------------------+
| Congratulations! You have successfully installed netCDF! |
| |
| CAUTION: |
| |
| If you have not already run "make check", then we strongly |
| recommend you do so. It does not take very long. |
| |
| Before using netCDF to store important data, test your |
| build with "make check". |
| |
| NetCDF is tested nightly on many platforms at Unidata |
| but your platform is probably different in some ways. |
| |
| If any tests fail, please see the netCDF web site: |
| http://www.unidata.ucar.edu/software/netcdf/ |
| |
| NetCDF is developed and maintained at the Unidata Program |
| Center. Unidata provides a broad array of data and software |
| tools for use in geoscience education and research. |
| http://www.unidata.ucar.edu |
+-------------------------------------------------------------+

0 Kudos
TimP
Honored Contributor III
2,701 Views
use netcdf refers to the file netcdf.mod which must have been built by the same (32-bit) Fortran compiler, and must be found on a -I (iinclude) path. As I recall, the netcdf build instructions gave full information about path setting. Note that a paper on netcdf with Intel compilers was posted.
0 Kudos
green_tea
Beginner
2,701 Views
I successufully intalled intel F90 and C++, then netcdf 3.6.3. But I failed the compilation of my model. The erros is:
This module file was not generated by any release of this compiler. [NETCDF]
use netcdf ! _EXTERNAL
---------^


The environment variables were set as the follow:
----------------------------------------------------------------------------------------------------------------------------
# fortran compiler
source /opt/intel/bin/ifortvars.sh ia32
# c compiler
source /opt/intel/bin/iccvars.sh ia32
# netcdf
export CC=icc
export CXX=icpc
export CFLAGS='-O3 -xT -ip -no-prec-div -static-intel'
export CXXFLAGS='-O3 -xT -ip -no-prec-div -static-intel'
export F77=ifort
export FC=ifort
export F90=ifort
export FFLAGS='-O3 -xT -ip -no-prec-div -static-intel'
export CPP='icc -E'
export CXXCPP='icpc -E'

export NETCDF=/usr/local
export INC_NETCDF=$NETCDF/include
export LIB_NETCDF=$NETCDF/lib
--------------------------------------------------------------------------------------------------------------------------
But in the netcdf configure output:
checking for ifort... no
Why netcdf don't use ifort to build its self?
0 Kudos
mecej4
Honored Contributor III
2,701 Views
Fortran 9x/200x compilers use .MOD file formats that are not portable. If you want to USE modules in your F9x code, you must use the same compiler to build the module files and to compile the sources that USE those modules.

In particular, if NetCDF was built using GCC/GFortran, you cannot use the GFortran modules in your IFort compilations.

Your choices are:

(i) Build NetCDF using the Intel compilers, as detailed in

Building NetCDF using Intel compilers .

This is a rather complex and time consuming process.

(ii) Use only Fortran-77 calls to NetCDF in your code, assuming object level compatibility between IFort and GCC has been verified.

(iii) Write source code with interface blocks for only those NetCDF routines that you need, and compile the code with IFort to produce the .MOD files, again after verifying object level compatibility.
0 Kudos
TimP
Honored Contributor III
2,701 Views
As you have set up your netcdf build to use ifort, it appears that ifort is not on path, meaning that you neglected to source the compilervars script prior to running netcdf configure.
0 Kudos
green_tea
Beginner
2,701 Views
I followed the Building NetCDF using Intel compilers to build NetCDF using the Intel compilers. And set the environment variables by:

# fortran compiler
source /opt/intel/bin/ifortvars.sh ia32
# c compiler
source /opt/intel/bin/iccvars.sh ia32
# netcdf
export CC=icc
export CXX=icpc
export CFLAGS='-O3 -xT -ip -no-prec-div -static'
export CXXFLAGS='-O3 -xT -ip -no-prec-div -static'
export F77=ifort
export FC=ifort
export F90=ifort
export FFLAGS='-O3 -xT -ip -no-prec-div -static'
export CPP='icc -E'
export CXXCPP='icpc -E'
export NETCDF=/usr/local
export INC_NETCDF=$NETCDF/include
export LIB_NETCDF=$NETCDF/lib
# PATH
export PATH=$PATH:/usr/local

Why it don't work?
0 Kudos
green_tea
Beginner
2,701 Views
to mecej4:

(ii) Use only Fortran-77 calls to NetCDF in your code, assuming object level compatibility between IFort and GCC has been verified.

(iii) Write source code with interface blocks for only those NetCDF routines that you need, and compile the code with IFort to produce the .MOD files, again after verifying object level compatibility.

I can't change the source code, as it is a big earth systeme model. I can just add my code into it.
0 Kudos
Reply