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

[netCDF #SEL-204074]: NetCDF-4



Hello,

Thank you for providing such detailed information.  It appears that, when 
compiling netcdf fortran, it is not trying to link against the netcdf-c library 
or the other dependencies.

Try making the following modification; add a LIBS stanza to your configure 
statement, along with CPPFLAGS and LDFLAGS.  It should look as follows:

LIBS="-lhdf5 -lhdf5_hl -lnetcdf"

This will tell the linker to explicitely link against these libraries, which 
should resolve the undefined_reference errors.  Note you may also need to set 
your LD_LIBRARY_PATH when you run 'make check', as your libraries are installed 
in non-standard locations.

I hope this helps, let me know if it doesn't or if I can provide further 
assistance. Have a great day!

-Ward

> Hello there,
> 
> I hope this email finds you well.
> 
> I'm writing you because I don't manage to get netcdf-fortran-4.4.1
> properly compiled in  our cluster.
> 
> In fact, I have read much information in your webpage (which is really
> helpful) but still I cannot manage to compile this software.
> 
> I am compiling with GNU Fortran (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4).
> I have previously installed hdf5-1.8.13, netcdf-c-4.3.3-rc1,
> netcdf-cxx4-4.2 all of them without troubles.
> 
> Although I manage to ./configure netcdf-fortran-4.4.1, when I make check
> I get the next error:
> 
> .
> .
> .
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc__create_mp'
> collect2: ld returned 1 exit status
> make[2]: *** [nf_test] Error 1
> make[2]: Leaving directory
> `/data/users/carlos/software/netCDF/netcdf-fortran-4.4.1/nf_test'
> make[1]: *** [check-am] Error 2
> make[1]: Leaving directory
> `/data/users/carlos/software/netCDF/netcdf-fortran-4.4.1/nf_test'
> make: *** [check-recursive] Error 1
> 
> I have read in your blog that it is convenient to check
> ./fortran/.libs/libnetcdff.so with the next command  readelf -Ws
> libnetcdff.so | grep nf_open and also  readelf -Ws libnetcdff.so.6.0.1 |
> grep nf_open and I get:
> 
> $ readelf -Ws libnetcdff.so.6.0.1 | grep nf_open
> 294: 000000000000a590   228 FUNC    GLOBAL DEFAULT   11 nf_open_
> 252: 000000000000a590   228 FUNC    GLOBAL DEFAULT   11 nf_open_
> 
> and
> 
> $ readelf -Ws libnetcdff.so | grep nf_open
> 294: 000000000000a590   228 FUNC    GLOBAL DEFAULT   11 nf_open_
> 252: 000000000000a590   228 FUNC    GLOBAL DEFAULT   11 nf_open_
> 
> 
> 
> However, even if I do: make distclean and the configure and make and
> make check and nothing works...
> 
> I have copied and passed my configure instructions and my make
> instructions as well as all the output.
> 
> I hope you can help me.
> 
> Thanks in advance.
> 
> With kindest regards,
> Carlos
> 
> CPPFLAGS="-I/data/users/carlos/software/netCDF/installation/lib/include/" 
> LDFLAGS="-L/data/users/carlos/software/netCDF/installation/lib/lib/:/data/users/carlos/software/netCDF/installation/src/netcdf-cxx/lib/:/data/users/carlos/software/hdf5-1.8.13/installation/src/lib/"
> ./configure
> --prefix=/data/users/carlos/software/netCDF/installation/src/netcdf-fortran/
> 
> configure: netCDF-Fortran 4.4.1
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-linux-gnu
> checking target system type... x86_64-unknown-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
> checking whether make supports nested variables... yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> configure: checking user options
> checking whether extra valgrind tests should be run... no
> checking whether parallel IO tests should be run... no
> checking whether netCDF extra tests should be run (developers only)... no
> checking for doxygen... no
> configure: WARNING: Doxygen not found - documentation will not be built
> checking for dot... dot
> configure: finding C compiler
> checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking whether gcc understands -c and -o together... yes
> checking for style of include used by make... GNU
> checking dependency style of gcc... gcc3
> checking for an ANSI C-conforming const... yes
> configure: finding Fortran compiler
> checking for gfortran... gfortran
> checking whether we are using the GNU Fortran compiler... yes
> checking whether gfortran accepts -g... yes
> checking for gfortran... gfortran
> checking whether we are using the GNU Fortran 77 compiler... yes
> checking whether gfortran accepts -g... yes
> checking whether Fortran compiler is checked for ISO_C_BINDING
> support... yes
> checking for Fortran flag to compile .f90 files... none
> checking fortran 90 modules inclusion flag... -I
> checking if Fortran compiler supports Fortran 2003 ISO_C_BINDING... yes
> checking if Fortran compiler supports Fortran 2008 ISO_FORTRAN_ENV
> additions... no
> checking if Fortran compiler supports TS29113 standard extension... no
> checking whether F03 native code is desired... yes
> checking whether fortran type sizes should be checked... yes
> checking whether large file (> 2GB) tests should be run... no
> checking whether benchmaks should be run (experimental)... no
> checking where to put large temp files if large file tests are run... .
> configure: setting up libtool
> checking how to print strings... printf
> 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 gcc... /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... 3458764513820540925
> checking whether the shell understands some XSI constructs... yes
> checking whether the shell understands "+="... yes
> checking how to convert x86_64-unknown-linux-gnu file names to
> x86_64-unknown-linux-gnu format... func_convert_file_noop
> checking how to convert x86_64-unknown-linux-gnu file names to toolchain
> format... func_convert_file_noop
> checking for /usr/bin/ld option to reload object files... -r
> checking for objdump... objdump
> checking how to recognize dependent libraries... pass_all
> checking for dlltool... no
> checking how to associate runtime and link libraries... printf %s\n
> checking for ar... ar
> checking for archiver @FILE support... @
> checking for strip... strip
> checking for ranlib... ranlib
> checking command to parse /usr/bin/nm -B output from gcc object... ok
> checking for sysroot... no
> checking for mt... no
> checking if : is a manifest tool... no
> checking how to run the C preprocessor... gcc -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 for objdir... .libs
> checking if gcc supports -fno-rtti -fno-exceptions... no
> checking for gcc option to produce PIC... -fPIC -DPIC
> checking if gcc PIC flag -fPIC -DPIC works... yes
> checking if gcc static flag -static works... no
> checking if gcc supports -c -o file.o... yes
> checking if gcc supports -c -o file.o... (cached) yes
> checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports
> shared libraries... yes
> checking whether -lc should be explicitly linked in... no
> 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... yes
> checking whether to build static libraries... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> 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... no
> 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 -m elf_x86_64)
> supports shared libraries... yes
> checking dynamic linker characteristics... (cached) 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... yes
> 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... no
> 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 -m elf_x86_64)
> supports shared libraries... yes
> checking dynamic linker characteristics... (cached) GNU/Linux ld.so
> checking how to hardcode library paths into programs... immediate
> configure: finding other utilities
> configure: trying to set fortran flags for this platform
> checking what FC is set to... gfortran
> checking for special C compiler options needed for large files... no
> checking for _FILE_OFFSET_BITS value needed for large files... no
> 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 whether extra example tests should be run... no
> checking whether a win32 DLL is desired... no
> configure: checking types, headers, and functions
> checking netcdf.h usability... yes
> checking netcdf.h presence... yes
> checking for netcdf.h... yes
> checking for library containing nc_open... no
> checking for nc_def_opaque... no
> checking for nccreate... no
> checking for nc_set_log_level... no
> checking for oc_open... no
> checking for nc_use_parallel_enabled... no
> checking netCDF v2 API present... no
> checking netCDF-4 present... no
> checking for stdlib.h... (cached) yes
> checking for sys/types.h... (cached) yes
> checking sys/param.h usability... yes
> checking sys/param.h presence... yes
> checking for sys/param.h... yes
> checking locale.h usability... yes
> checking locale.h presence... yes
> checking for locale.h... yes
> checking stdio.h usability... yes
> checking stdio.h presence... yes
> checking for stdio.h... yes
> checking stdarg.h usability... yes
> checking stdarg.h presence... yes
> checking for stdarg.h... yes
> checking errno.h usability... yes
> checking errno.h presence... yes
> checking for errno.h... yes
> checking ctype.h usability... yes
> checking ctype.h presence... yes
> checking for ctype.h... yes
> checking fcntl.h usability... yes
> checking fcntl.h presence... yes
> checking for fcntl.h... yes
> checking malloc.h usability... yes
> checking malloc.h presence... yes
> checking for malloc.h... yes
> checking for stdlib.h... (cached) yes
> checking for string.h... (cached) yes
> checking for strings.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking for sys/stat.h... (cached) yes
> checking getopt.h usability... yes
> checking getopt.h presence... yes
> checking for getopt.h... yes
> checking sys/time.h usability... yes
> checking sys/time.h presence... yes
> checking for sys/time.h... yes
> checking sys/resource.h usability... yes
> checking sys/resource.h presence... yes
> checking for sys/resource.h... yes
> checking for dirent.h that defines DIR... yes
> checking for library containing opendir... none required
> checking for ANSI C header files... (cached) yes
> checking for sys/wait.h that is POSIX.1 compatible... yes
> checking whether time.h and sys/time.h may both be included... yes
> checking for vprintf... yes
> checking for _doprnt... no
> checking for stdbool.h that conforms to C99... yes
> checking for _Bool... yes
> checking for size_t... yes
> checking for working alloca.h... yes
> checking for alloca... yes
> checking for size_t... (cached) yes
> checking for off_t... yes
> checking for ssize_t... yes
> checking for ptrdiff_t... yes
> checking for uchar... no
> checking for longlong... no
> checking whether char is unsigned... no
> checking size of short... 2
> checking size of int... 4
> checking size of long... 8
> checking size of float... 4
> checking size of double... 8
> checking size of off_t... 8
> checking size of size_t... 8
> checking size of ptrdiff_t... 8
> configure: generating header files and makefiles
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating nf-config
> config.status: creating netcdf-fortran.pc
> config.status: creating docs/Makefile
> config.status: creating libsrc/Makefile
> config.status: creating fortran/Makefile
> config.status: creating nf_test/Makefile
> config.status: creating nf03_test/Makefile
> config.status: creating CMakeExtras/Makefile
> config.status: creating examples/Makefile
> config.status: creating examples/F90/Makefile
> config.status: creating examples/F77/Makefile
> config.status: creating config.h
> config.status: creating libsrc/nfconfig1.inc
> config.status: executing depfiles commands
> config.status: executing libtool commands
> 
> 
> 
> 
> MAKE CHECK
> 
> $ make check
> Making check in fortran
> make[1]: Entering directory
> `/data/users/carlos/software/netCDF/netcdf-fortran-4.4.1/fortran'
> gfortran -DHAVE_CONFIG_H -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/  -g -O2
> -c -o module_netcdf_nc_data.o module_netcdf_nc_data.F90
> gfortran  -g -O2 -c -o module_netcdf_nc_interfaces.o
> module_netcdf_nc_interfaces.f90
> gfortran -DHAVE_CONFIG_H -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/  -g -O2
> -c -o module_netcdf_nf_data.o module_netcdf_nf_data.F90
> gfortran -DHAVE_CONFIG_H -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/  -g -O2
> -c -o module_netcdf_nf_interfaces.o module_netcdf_nf_interfaces.F90
> gfortran  -g -O2 -c -o module_netcdf_f03.o  module_netcdf_f03.f90
> gfortran  -g -O2 -c -o typeSizes.o  typeSizes.f90
> gfortran  -g -O2 -c -o netcdf.o  netcdf.f90
> echo '!     NetCDF-3.' > netcdf.inc
> cat ../fortran/netcdf3.inc >> netcdf.inc
> make  check-am
> make[2]: Entering directory
> `/data/users/carlos/software/netCDF/netcdf-fortran-4.4.1/fortran'
> /bin/sh ../libtool  --tag=FC   --mode=compile gfortran  -g -O2 -c -o
> typeSizes.lo  typeSizes.f90
> libtool: compile:  gfortran -g -O2 -c typeSizes.f90  -fPIC -o
> .libs/typeSizes.o
> libtool: compile:  gfortran -g -O2 -c typeSizes.f90 -o typeSizes.o
> >/dev/null 2>&1
> /bin/sh ../libtool  --tag=FC   --mode=compile gfortran -DHAVE_CONFIG_H
> -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/  -g -O2
> -c -o module_netcdf_nc_data.lo module_netcdf_nc_data.F90
> libtool: compile:  gfortran -DHAVE_CONFIG_H -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/ -g -O2 -c
> module_netcdf_nc_data.F90  -fPIC -o .libs/module_netcdf_nc_data.o
> libtool: compile:  gfortran -DHAVE_CONFIG_H -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/ -g -O2 -c
> module_netcdf_nc_data.F90 -o module_netcdf_nc_data.o >/dev/null 2>&1
> /bin/sh ../libtool  --tag=FC   --mode=compile gfortran  -g -O2 -c -o
> module_netcdf_nc_interfaces.lo  module_netcdf_nc_interfaces.f90
> libtool: compile:  gfortran -g -O2 -c module_netcdf_nc_interfaces.f90
> -fPIC -o .libs/module_netcdf_nc_interfaces.o
> libtool: compile:  gfortran -g -O2 -c module_netcdf_nc_interfaces.f90 -o
> module_netcdf_nc_interfaces.o >/dev/null 2>&1
> /bin/sh ../libtool  --tag=FC   --mode=compile gfortran -DHAVE_CONFIG_H
> -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/  -g -O2
> -c -o module_netcdf_nf_data.lo module_netcdf_nf_data.F90
> libtool: compile:  gfortran -DHAVE_CONFIG_H -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/ -g -O2 -c
> module_netcdf_nf_data.F90  -fPIC -o .libs/module_netcdf_nf_data.o
> libtool: compile:  gfortran -DHAVE_CONFIG_H -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/ -g -O2 -c
> module_netcdf_nf_data.F90 -o module_netcdf_nf_data.o >/dev/null 2>&1
> /bin/sh ../libtool  --tag=FC   --mode=compile gfortran -DHAVE_CONFIG_H
> -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/  -g -O2
> -c -o module_netcdf_nf_interfaces.lo module_netcdf_nf_interfaces.F90
> libtool: compile:  gfortran -DHAVE_CONFIG_H -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/ -g -O2 -c
> module_netcdf_nf_interfaces.F90  -fPIC -o
> .libs/module_netcdf_nf_interfaces.o
> libtool: compile:  gfortran -DHAVE_CONFIG_H -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/ -g -O2 -c
> module_netcdf_nf_interfaces.F90 -o module_netcdf_nf_interfaces.o
> >/dev/null 2>&1
> /bin/sh ../libtool  --tag=FC   --mode=compile gfortran  -g -O2 -c -o
> module_netcdf_f03.lo  module_netcdf_f03.f90
> libtool: compile:  gfortran -g -O2 -c module_netcdf_f03.f90  -fPIC -o
> .libs/module_netcdf_f03.o
> libtool: compile:  gfortran -g -O2 -c module_netcdf_f03.f90 -o
> module_netcdf_f03.o >/dev/null 2>&1
> /bin/sh ../libtool  --tag=FC   --mode=compile gfortran -DHAVE_CONFIG_H
> -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/  -g -O2
> -c -o nf_attio.lo nf_attio.F90
> libtool: compile:  gfortran -DHAVE_CONFIG_H -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/ -g -O2 -c
> nf_attio.F90  -fPIC -o .libs/nf_attio.o
> libtool: compile:  gfortran -DHAVE_CONFIG_H -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/ -g -O2 -c
> nf_attio.F90 -o nf_attio.o >/dev/null 2>&1
> /bin/sh ../libtool  --tag=FC   --mode=compile gfortran -DHAVE_CONFIG_H
> -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/  -g -O2
> -c -o nf_control.lo nf_control.F90
> libtool: compile:  gfortran -DHAVE_CONFIG_H -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/ -g -O2 -c
> nf_control.F90  -fPIC -o .libs/nf_control.o
> libtool: compile:  gfortran -DHAVE_CONFIG_H -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/ -g -O2 -c
> nf_control.F90 -o nf_control.o >/dev/null 2>&1
> /bin/sh ../libtool  --tag=FC   --mode=compile gfortran  -g -O2 -c -o
> nf_dim.lo  nf_dim.f90
> libtool: compile:  gfortran -g -O2 -c nf_dim.f90  -fPIC -o .libs/nf_dim.o
> libtool: compile:  gfortran -g -O2 -c nf_dim.f90 -o nf_dim.o >/dev/null 2>&1
> /bin/sh ../libtool  --tag=FC   --mode=compile gfortran  -g -O2 -c -o
> nf_misc.lo  nf_misc.f90
> libtool: compile:  gfortran -g -O2 -c nf_misc.f90  -fPIC -o .libs/nf_misc.o
> libtool: compile:  gfortran -g -O2 -c nf_misc.f90 -o nf_misc.o
> >/dev/null 2>&1
> /bin/sh ../libtool  --tag=FC   --mode=compile gfortran  -g -O2 -c -o
> nf_genatt.lo  nf_genatt.f90
> libtool: compile:  gfortran -g -O2 -c nf_genatt.f90  -fPIC -o
> .libs/nf_genatt.o
> libtool: compile:  gfortran -g -O2 -c nf_genatt.f90 -o nf_genatt.o
> >/dev/null 2>&1
> /bin/sh ../libtool  --tag=FC   --mode=compile gfortran  -g -O2 -c -o
> nf_geninq.lo  nf_geninq.f90
> libtool: compile:  gfortran -g -O2 -c nf_geninq.f90  -fPIC -o
> .libs/nf_geninq.o
> libtool: compile:  gfortran -g -O2 -c nf_geninq.f90 -o nf_geninq.o
> >/dev/null 2>&1
> /bin/sh ../libtool  --tag=FC   --mode=compile gfortran  -g -O2 -c -o
> nf_genvar.lo  nf_genvar.f90
> libtool: compile:  gfortran -g -O2 -c nf_genvar.f90  -fPIC -o
> .libs/nf_genvar.o
> libtool: compile:  gfortran -g -O2 -c nf_genvar.f90 -o nf_genvar.o
> >/dev/null 2>&1
> /bin/sh ../libtool  --tag=FC   --mode=compile gfortran -DHAVE_CONFIG_H
> -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/  -g -O2
> -c -o nf_vario.lo nf_vario.F90
> libtool: compile:  gfortran -DHAVE_CONFIG_H -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/ -g -O2 -c
> nf_vario.F90  -fPIC -o .libs/nf_vario.o
> libtool: compile:  gfortran -DHAVE_CONFIG_H -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/ -g -O2 -c
> nf_vario.F90 -o nf_vario.o >/dev/null 2>&1
> /bin/sh ../libtool  --tag=FC   --mode=compile gfortran -DHAVE_CONFIG_H
> -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/  -g -O2
> -c -o nf_var1io.lo nf_var1io.F90
> libtool: compile:  gfortran -DHAVE_CONFIG_H -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/ -g -O2 -c
> nf_var1io.F90  -fPIC -o .libs/nf_var1io.o
> libtool: compile:  gfortran -DHAVE_CONFIG_H -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/ -g -O2 -c
> nf_var1io.F90 -o nf_var1io.o >/dev/null 2>&1
> /bin/sh ../libtool  --tag=FC   --mode=compile gfortran -DHAVE_CONFIG_H
> -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/  -g -O2
> -c -o nf_varaio.lo nf_varaio.F90
> libtool: compile:  gfortran -DHAVE_CONFIG_H -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/ -g -O2 -c
> nf_varaio.F90  -fPIC -o .libs/nf_varaio.o
> libtool: compile:  gfortran -DHAVE_CONFIG_H -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/ -g -O2 -c
> nf_varaio.F90 -o nf_varaio.o >/dev/null 2>&1
> /bin/sh ../libtool  --tag=FC   --mode=compile gfortran -DHAVE_CONFIG_H
> -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/  -g -O2
> -c -o nf_varmio.lo nf_varmio.F90
> libtool: compile:  gfortran -DHAVE_CONFIG_H -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/ -g -O2 -c
> nf_varmio.F90  -fPIC -o .libs/nf_varmio.o
> libtool: compile:  gfortran -DHAVE_CONFIG_H -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/ -g -O2 -c
> nf_varmio.F90 -o nf_varmio.o >/dev/null 2>&1
> /bin/sh ../libtool  --tag=FC   --mode=compile gfortran -DHAVE_CONFIG_H
> -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/  -g -O2
> -c -o nf_varsio.lo nf_varsio.F90
> libtool: compile:  gfortran -DHAVE_CONFIG_H -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/ -g -O2 -c
> nf_varsio.F90  -fPIC -o .libs/nf_varsio.o
> libtool: compile:  gfortran -DHAVE_CONFIG_H -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/ -g -O2 -c
> nf_varsio.F90 -o nf_varsio.o >/dev/null 2>&1
> /bin/sh ../libtool  --tag=FC   --mode=compile gfortran  -g -O2 -c -o
> netcdf.lo  netcdf.f90
> libtool: compile:  gfortran -g -O2 -c netcdf.f90  -fPIC -o .libs/netcdf.o
> libtool: compile:  gfortran -g -O2 -c netcdf.f90 -o netcdf.o >/dev/null 2>&1
> /bin/sh ../libtool  --tag=FC   --mode=compile gfortran  -g -O2 -c -o
> netcdf3_file.lo  netcdf3_file.f90
> libtool: compile:  gfortran -g -O2 -c netcdf3_file.f90  -fPIC -o
> .libs/netcdf3_file.o
> libtool: compile:  gfortran -g -O2 -c netcdf3_file.f90 -o netcdf3_file.o
> >/dev/null 2>&1
> make[2]: Warning: File `netcdf.inc' has modification time 7.5e+02 s in
> the future
> /bin/sh ../libtool  --tag=FC   --mode=link gfortran  -g -O2
> -version-number 6:0:1
> -L/data/users/carlos/software/netCDF/installation/lib/lib/:/data/users/carlos/software/netCDF/installation/src/netcdf-cxx/lib/:/data/users/carlos/software/hdf5-1.8.13/installation/src/lib/
> -o libnetcdff.la -rpath
> /data/users/carlos/software/netCDF/installation/src/netcdf-fortran/lib
> typeSizes.lo module_netcdf_nc_data.lo module_netcdf_nc_interfaces.lo
> module_netcdf_nf_data.lo module_netcdf_nf_interfaces.lo
> module_netcdf_f03.lo nf_attio.lo nf_control.lo nf_dim.lo nf_misc.lo
> nf_genatt.lo nf_geninq.lo nf_genvar.lo nf_vario.lo nf_var1io.lo
> nf_varaio.lo nf_varmio.lo nf_varsio.lo    netcdf.lo netcdf3_file.lo
> libtool: link: gfortran -shared  -fPIC  .libs/typeSizes.o
> .libs/module_netcdf_nc_data.o .libs/module_netcdf_nc_interfaces.o
> .libs/module_netcdf_nf_data.o .libs/module_netcdf_nf_interfaces.o
> .libs/module_netcdf_f03.o .libs/nf_attio.o .libs/nf_control.o
> .libs/nf_dim.o .libs/nf_misc.o .libs/nf_genatt.o .libs/nf_geninq.o
> .libs/nf_genvar.o .libs/nf_vario.o .libs/nf_var1io.o .libs/nf_varaio.o
> .libs/nf_varmio.o .libs/nf_varsio.o .libs/netcdf.o .libs/netcdf3_file.o
> -L/data/users/carlos/software/netCDF/installation/lib/lib/:/data/users/carlos/software/netCDF/installation/src/netcdf-cxx/lib/:/data/users/carlos/software/hdf5-1.8.13/installation/src/lib/
> -O2   -Wl,-soname -Wl,libnetcdff.so.6 -o .libs/libnetcdff.so.6.0.1
> libtool: link: (cd ".libs" && rm -f "libnetcdff.so.6" && ln -s
> "libnetcdff.so.6.0.1" "libnetcdff.so.6")
> libtool: link: (cd ".libs" && rm -f "libnetcdff.so" && ln -s
> "libnetcdff.so.6.0.1" "libnetcdff.so")
> libtool: link: ar cru .libs/libnetcdff.a  typeSizes.o
> module_netcdf_nc_data.o module_netcdf_nc_interfaces.o
> module_netcdf_nf_data.o module_netcdf_nf_interfaces.o
> module_netcdf_f03.o nf_attio.o nf_control.o nf_dim.o nf_misc.o
> nf_genatt.o nf_geninq.o nf_genvar.o nf_vario.o nf_var1io.o nf_varaio.o
> nf_varmio.o nf_varsio.o netcdf.o netcdf3_file.o
> libtool: link: ranlib .libs/libnetcdff.a
> libtool: link: ( cd ".libs" && rm -f "libnetcdff.la" && ln -s
> "../libnetcdff.la" "libnetcdff.la" )
> make[2]: warning:  Clock skew detected.  Your build may be incomplete.
> make[2]: Leaving directory
> `/data/users/carlos/software/netCDF/netcdf-fortran-4.4.1/fortran'
> make[1]: Leaving directory
> `/data/users/carlos/software/netCDF/netcdf-fortran-4.4.1/fortran'
> Making check in nf_test
> make[1]: Entering directory
> `/data/users/carlos/software/netCDF/netcdf-fortran-4.4.1/nf_test'
> make  nf_test        tst_f90
> make[2]: Entering directory
> `/data/users/carlos/software/netCDF/netcdf-fortran-4.4.1/nf_test'
> gfortran -I../fortran   -I../fortran -g -O2 -c -o f03lib_f_interfaces.o
> f03lib_f_interfaces.f90
> gfortran -DHAVE_CONFIG_H -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/
> -I../fortran   -I../fortran -g -O2 -c -o test_get.o test_get.F
> gfortran -DHAVE_CONFIG_H -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/
> -I../fortran   -I../fortran -g -O2 -c -o test_put.o test_put.F
> gfortran -DHAVE_CONFIG_H -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/
> -I../fortran   -I../fortran -g -O2 -c -o nf_error.o nf_error.F
> gfortran -DHAVE_CONFIG_H -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/
> -I../fortran   -I../fortran -g -O2 -c -o nf_test.o nf_test.F
> gfortran -DHAVE_CONFIG_H -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/
> -I../fortran   -I../fortran -g -O2 -c -o test_read.o test_read.F
> gfortran -DHAVE_CONFIG_H -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/
> -I../fortran   -I../fortran -g -O2 -c -o test_write.o test_write.F
> gfortran -DHAVE_CONFIG_H -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/
> -I../fortran   -I../fortran -g -O2 -c -o util.o util.F
> depbase=`echo f03lib.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
> gcc -DHAVE_CONFIG_H -I. -I.. -I../libsrc
> -I/data/users/carlos/software/netCDF/installation/lib/include/  -g -O2
> -DLONGLONG_IS_LONG -MT f03lib.o -MD -MP -MF $depbase.Tpo -c -o f03lib.o
> f03lib.c &&\
> mv -f $depbase.Tpo $depbase.Po
> make[2]: Warning: File `../fortran/libnetcdff.la' has modification time
> 7.8e+02 s in the future
> /bin/sh ../libtool  --tag=F77   --mode=link gfortran -I../fortran
> -I../fortran -g -O2
> -L/data/users/carlos/software/netCDF/installation/lib/lib/:/data/users/carlos/software/netCDF/installation/src/netcdf-cxx/lib/:/data/users/carlos/software/hdf5-1.8.13/installation/src/lib/
> -o nf_test f03lib_f_interfaces.o test_get.o test_put.o nf_error.o
> nf_test.o test_read.o test_write.o util.o f03lib.o ../fortran/libnetcdff.la
> libtool: link: gfortran -I../fortran -I../fortran -g -O2 -o
> .libs/nf_test f03lib_f_interfaces.o test_get.o test_put.o nf_error.o
> nf_test.o test_read.o test_write.o util.o f03lib.o
> -L/data/users/carlos/software/netCDF/installation/lib/lib/:/data/users/carlos/software/netCDF/installation/src/netcdf-cxx/lib/:/data/users/carlos/software/hdf5-1.8.13/installation/src/lib/
> ../fortran/.libs/libnetcdff.so -Wl,-rpath
> -Wl,/data/users/carlos/software/netCDF/installation/src/netcdf-fortran/lib
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_vara_short'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_vara_short'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_att_float'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_vara_schar'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_inq_attname'
> ../fortran/.libs/libnetcdff.so: undefined reference to
> `nc_set_default_format'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_inq_dimname'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_vara_double'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_vara_text'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_var_schar'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_inq_dim'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_vars_schar'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_inq_nvars'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_varm_float'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_vara_float'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_vars_int'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_open'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_att_short'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_var1_short'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_var_float'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_set_base_pe'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_inq_format'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_vara'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_varm_schar'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_varm_float'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_vars_short'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc__create'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_inq_varndims'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_var1_float'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_inq_attlen'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_def_var'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_vara_float'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_var_double'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_vars_float'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_vars'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc__open_mp'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_att_int'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_inq'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_var1_int'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_inq_dimlen'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_delete_mp'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_var1_short'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc__enddef'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_vars_schar'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_var1_double'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_varm_schar'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_copy_var'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_var1'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_varm_int'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_vara_int'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_vara_schar'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_inq_base_pe'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_rename_var'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_redef'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_inq_att'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_att_text'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_var1_text'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_var_short'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_inq_vardimid'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_att_short'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_rename_att'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_vara_double'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc__open'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_varm_int'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_varm_short'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_vara_int'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_varm_double'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_inq_ndims'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_vars_float'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_vara_text'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_varm_double'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_var_double'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_var1_int'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_var_int'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_vars'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_var_float'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_inq_libvers'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_sync'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_var1_double'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_varm_short'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_att_schar'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_vars_int'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_att_double'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_var1_schar'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_var1'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_inq_natts'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_vars_short'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_close'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_inq_dimid'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_varm_text'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_inq_unlimdim'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_del_att'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_att_int'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_abort'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_vars_text'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_def_dim'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_att_double'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_varm_text'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_inq_vartype'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_var_text'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_strerror'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_inq_varname'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_set_fill'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_enddef'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_var_schar'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_inq_path'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_att_schar'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_var_short'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_att_float'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_inq_varid'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_var1_schar'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_inq_attid'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_vara'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_att_text'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_var1_text'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_create'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_rename_dim'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_vars_double'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_var1_float'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_copy_att'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_vars_text'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_inq_varnatts'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_vars_double'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_put_var_text'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_delete'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_inq_atttype'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_inq_var'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_get_var_int'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc__create_mp'
> collect2: ld returned 1 exit status
> make[2]: *** [nf_test] Error 1
> make[2]: Leaving directory
> `/data/users/carlos/software/netCDF/netcdf-fortran-4.4.1/nf_test'
> make[1]: *** [check-am] Error 2
> make[1]: Leaving directory
> `/data/users/carlos/software/netCDF/netcdf-fortran-4.4.1/nf_test'
> make: *** [check-recursive] Error 1
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 

Ticket Details
===================
Ticket ID: SEL-204074
Department: Support netCDF
Priority: Normal
Status: Closed