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

[netCDF #MTW-408320]: netCDF fortran library with ifort - error in make check



Pardon the delay.
You might try adding -lhdf5_hl to your list of libraries.

> Congratulations! You have successfully installed the netCDF |
> | Fortran libraries.                                          |
> |                                                             |
> | You can use script "nf-config" to find out the relevant     |
> | compiler options to build your application. Enter           |
> |                                                             |
> |     nf-config --help                                        |
> |                                                             |
> | for additional information.                                 |
> |                                                             |
> | 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
> 
> On Fri, May 24, 2019 at 2:51 PM alok <address@hidden> wrote:
> 
> > Please Help-
> >
> >
> > alok@alok-HP-Compaq-Elite-8300-MT:~/netcdf$ make check
> > Making check in fortran
> > make[1]: Entering directory '/home/alok/netcdf/fortran'
> > make  check-am
> > make[2]: Entering directory '/home/alok/netcdf/fortran'
> > make[2]: Nothing to be done for 'check-am'.
> > make[2]: Leaving directory '/home/alok/netcdf/fortran'
> > make[1]: Leaving directory '/home/alok/netcdf/fortran'
> > Making check in .
> > make[1]: Entering directory '/home/alok/netcdf'
> > make[1]: Leaving directory '/home/alok/netcdf'
> > Making check in nf_test
> > make[1]: Entering directory '/home/alok/netcdf/nf_test'
> > make  nf_test tst_f77_v2 ftst_vars ftst_vars2 ftst_vars3 ftst_vars4
> > ftst_vars5 ftst_vars6 ftst_types ftst_types2 ftst_types3 ftst_groups
> > ftst_path ftst_rengrps f90tst_vars tst_types tst_types2 f90tst_vars_vlen
> > tst_f90_nc4 f90tst_grps f90tst_fill f90tst_fill2 f90tst_vars3
> > f90tst_vars4 f90tst_vars2 f90tst_path f90tst_rengrps ftst_v2  tst_io
> > ftest tst_f90
> > make[2]: Entering directory '/home/alok/netcdf/nf_test'
> > make[2]: 'nf_test' is up to date.
> > make[2]: 'tst_f77_v2' is up to date.
> > make[2]: 'ftst_vars' is up to date.
> > make[2]: 'ftst_vars2' is up to date.
> > make[2]: 'ftst_vars3' is up to date.
> > make[2]: 'ftst_vars4' is up to date.
> > make[2]: 'ftst_vars5' is up to date.
> > make[2]: 'ftst_vars6' is up to date.
> > make[2]: 'ftst_types' is up to date.
> > make[2]: 'ftst_types2' is up to date.
> > make[2]: 'ftst_types3' is up to date.
> > make[2]: 'ftst_groups' is up to date.
> > make[2]: 'ftst_path' is up to date.
> > ifort -DHAVE_CONFIG_H -I. -I.. -I../libsrc  -I../fortran -I../fortran
> > -I../fortran  -O3 -xHost -ip -no-prec-div -static-intel -c -o
> > ftst_rengrps.o ftst_rengrps.F
> > /bin/bash ../libtool  --tag=F77   --mode=link ifort -I../fortran -O3
> > -xHost -ip -no-prec-div -static-intel   -o ftst_rengrps ftst_rengrps.o
> > f03lib_f_interfaces.o f03lib.o handle_err.o ../fortran/libnetcdff.la
> > -lnetcdf -lhdf5 -lz -lcurl -lm
> > libtool: link: ifort -I../fortran -O3 -xHost -ip -no-prec-div
> > -static-intel -o .libs/ftst_rengrps ftst_rengrps.o f03lib_f_interfaces.o
> > f03lib.o handle_err.o ../fortran/.libs/libnetcdff.so -lnetcdf -lhdf5 -lz
> > -lcurl -lm -Wl,-rpath -Wl,/home/alok/netcdf/lib
> > ifort -I../fortran  -g -c -o f90tst_vars.o  f90tst_vars.f90
> > /bin/bash ../libtool  --tag=FC   --mode=link ifort -I../fortran -g   -o
> > f90tst_vars f90tst_vars.o ../fortran/libnetcdff.la -lnetcdf -lhdf5 -lz
> > -lcurl -lm
> > libtool: link: ifort -I../fortran -g -o .libs/f90tst_vars f90tst_vars.o
> > ../fortran/.libs/libnetcdff.so -lnetcdf -lhdf5 -lz -lcurl -lm -Wl,-rpath
> > -Wl,/home/alok/netcdf/lib
> > ifort -I../fortran  -g -c -o tst_types.o  tst_types.f90
> > /bin/bash ../libtool  --tag=FC   --mode=link ifort -I../fortran -g   -o
> > tst_types tst_types.o ../fortran/libnetcdff.la -lnetcdf -lhdf5 -lz
> > -lcurl -lm
> > libtool: link: ifort -I../fortran -g -o .libs/tst_types tst_types.o
> > ../fortran/.libs/libnetcdff.so -lnetcdf -lhdf5 -lz -lcurl -lm -Wl,-rpath
> > -Wl,/home/alok/netcdf/lib
> > ifort -I../fortran  -g -c -o tst_types2.o  tst_types2.f90
> > /bin/bash ../libtool  --tag=FC   --mode=link ifort -I../fortran -g   -o
> > tst_types2 tst_types2.o ../fortran/libnetcdff.la -lnetcdf -lhdf5 -lz
> > -lcurl -lm
> > libtool: link: ifort -I../fortran -g -o .libs/tst_types2 tst_types2.o
> > ../fortran/.libs/libnetcdff.so -lnetcdf -lhdf5 -lz -lcurl -lm -Wl,-rpath
> > -Wl,/home/alok/netcdf/lib
> > ifort -I../fortran  -g -c -o f90tst_vars_vlen.o f90tst_vars_vlen.f90
> > /bin/bash ../libtool  --tag=FC   --mode=link ifort -I../fortran -g   -o
> > f90tst_vars_vlen f90tst_vars_vlen.o ../fortran/libnetcdff.la -lnetcdf
> > -lhdf5 -lz -lcurl -lm
> > libtool: link: ifort -I../fortran -g -o .libs/f90tst_vars_vlen
> > f90tst_vars_vlen.o  ../fortran/.libs/libnetcdff.so -lnetcdf -lhdf5 -lz
> > -lcurl -lm -Wl,-rpath -Wl,/home/alok/netcdf/lib
> > ifort -I../fortran  -g -c -o tst_f90_nc4.o  tst_f90_nc4.f90
> > /bin/bash ../libtool  --tag=FC   --mode=link ifort -I../fortran -g   -o
> > tst_f90_nc4 tst_f90_nc4.o ../fortran/libnetcdff.la -lnetcdf -lhdf5 -lz
> > -lcurl -lm
> > libtool: link: ifort -I../fortran -g -o .libs/tst_f90_nc4 tst_f90_nc4.o
> > ../fortran/.libs/libnetcdff.so -lnetcdf -lhdf5 -lz -lcurl -lm -Wl,-rpath
> > -Wl,/home/alok/netcdf/lib
> > ifort -I../fortran  -g -c -o f90tst_grps.o  f90tst_grps.f90
> > /bin/bash ../libtool  --tag=FC   --mode=link ifort -I../fortran -g   -o
> > f90tst_grps f90tst_grps.o ../fortran/libnetcdff.la -lnetcdf -lhdf5 -lz
> > -lcurl -lm
> > libtool: link: ifort -I../fortran -g -o .libs/f90tst_grps f90tst_grps.o
> > ../fortran/.libs/libnetcdff.so -lnetcdf -lhdf5 -lz -lcurl -lm -Wl,-rpath
> > -Wl,/home/alok/netcdf/lib
> > ifort -I../fortran  -g -c -o f90tst_fill.o  f90tst_fill.f90
> > /bin/bash ../libtool  --tag=FC   --mode=link ifort -I../fortran -g   -o
> > f90tst_fill f90tst_fill.o ../fortran/libnetcdff.la -lnetcdf -lhdf5 -lz
> > -lcurl -lm
> > libtool: link: ifort -I../fortran -g -o .libs/f90tst_fill f90tst_fill.o
> > ../fortran/.libs/libnetcdff.so -lnetcdf -lhdf5 -lz -lcurl -lm -Wl,-rpath
> > -Wl,/home/alok/netcdf/lib
> > ifort -I../fortran  -g -c -o f90tst_fill2.o  f90tst_fill2.f90
> > /bin/bash ../libtool  --tag=FC   --mode=link ifort -I../fortran -g   -o
> > f90tst_fill2 f90tst_fill2.o ../fortran/libnetcdff.la -lnetcdf -lhdf5 -lz
> > -lcurl -lm
> > libtool: link: ifort -I../fortran -g -o .libs/f90tst_fill2
> > f90tst_fill2.o  ../fortran/.libs/libnetcdff.so -lnetcdf -lhdf5 -lz
> > -lcurl -lm -Wl,-rpath -Wl,/home/alok/netcdf/lib
> > ifort -I../fortran  -g -c -o f90tst_vars3.o  f90tst_vars3.f90
> > /bin/bash ../libtool  --tag=FC   --mode=link ifort -I../fortran -g   -o
> > f90tst_vars3 f90tst_vars3.o ../fortran/libnetcdff.la -lnetcdf -lhdf5 -lz
> > -lcurl -lm
> > libtool: link: ifort -I../fortran -g -o .libs/f90tst_vars3
> > f90tst_vars3.o  ../fortran/.libs/libnetcdff.so -lnetcdf -lhdf5 -lz
> > -lcurl -lm -Wl,-rpath -Wl,/home/alok/netcdf/lib
> > ifort -I../fortran  -g -c -o f90tst_vars4.o  f90tst_vars4.f90
> > /bin/bash ../libtool  --tag=FC   --mode=link ifort -I../fortran -g   -o
> > f90tst_vars4 f90tst_vars4.o ../fortran/libnetcdff.la -lnetcdf -lhdf5 -lz
> > -lcurl -lm
> > libtool: link: ifort -I../fortran -g -o .libs/f90tst_vars4
> > f90tst_vars4.o  ../fortran/.libs/libnetcdff.so -lnetcdf -lhdf5 -lz
> > -lcurl -lm -Wl,-rpath -Wl,/home/alok/netcdf/lib
> > ifort -I../fortran  -g -c -o f90tst_vars2.o  f90tst_vars2.f90
> > /bin/bash ../libtool  --tag=FC   --mode=link ifort -I../fortran -g   -o
> > f90tst_vars2 f90tst_vars2.o ../fortran/libnetcdff.la -lnetcdf -lhdf5 -lz
> > -lcurl -lm
> > libtool: link: ifort -I../fortran -g -o .libs/f90tst_vars2
> > f90tst_vars2.o  ../fortran/.libs/libnetcdff.so -lnetcdf -lhdf5 -lz
> > -lcurl -lm -Wl,-rpath -Wl,/home/alok/netcdf/lib
> > ifort -I../fortran  -g -c -o f90tst_path.o  f90tst_path.f90
> > /bin/bash ../libtool  --tag=FC   --mode=link ifort -I../fortran -g   -o
> > f90tst_path f90tst_path.o ../fortran/libnetcdff.la -lnetcdf -lhdf5 -lz
> > -lcurl -lm
> > libtool: link: ifort -I../fortran -g -o .libs/f90tst_path f90tst_path.o
> > ../fortran/.libs/libnetcdff.so -lnetcdf -lhdf5 -lz -lcurl -lm -Wl,-rpath
> > -Wl,/home/alok/netcdf/lib
> > ifort -I../fortran  -g -c -o f90tst_rengrps.o  f90tst_rengrps.f90
> > /bin/bash ../libtool  --tag=FC   --mode=link ifort -I../fortran -g   -o
> > f90tst_rengrps f90tst_rengrps.o ../fortran/libnetcdff.la -lnetcdf -lhdf5
> > -lz -lcurl -lm
> > libtool: link: ifort -I../fortran -g -o .libs/f90tst_rengrps
> > f90tst_rengrps.o  ../fortran/.libs/libnetcdff.so -lnetcdf -lhdf5 -lz
> > -lcurl -lm -Wl,-rpath -Wl,/home/alok/netcdf/lib
> > ifort -DHAVE_CONFIG_H -I. -I.. -I../libsrc  -I../fortran -I../fortran
> > -I../fortran  -O3 -xHost -ip -no-prec-div -static-intel -c -o ftst_v2.o
> > ftst_v2.F
> > /bin/bash ../libtool  --tag=F77   --mode=link ifort -I../fortran -O3
> > -xHost -ip -no-prec-div -static-intel   -o ftst_v2 ftst_v2.o
> > ../fortran/libnetcdff.la -lnetcdf -lhdf5 -lz -lcurl -lm
> > libtool: link: ifort -I../fortran -O3 -xHost -ip -no-prec-div
> > -static-intel -o .libs/ftst_v2 ftst_v2.o ../fortran/.libs/libnetcdff.so
> > -lnetcdf -lhdf5 -lz -lcurl -lm -Wl,-rpath -Wl,/home/alok/netcdf/lib
> > ifort -I../fortran  -g -c -o tst_io.o  tst_io.f90
> > /bin/bash ../libtool  --tag=FC   --mode=link ifort -I../fortran -g   -o
> > tst_io tst_io.o ../fortran/libnetcdff.la -lnetcdf -lhdf5 -lz -lcurl -lm
> > libtool: link: ifort -I../fortran -g -o .libs/tst_io tst_io.o
> > ../fortran/.libs/libnetcdff.so -lnetcdf -lhdf5 -lz -lcurl -lm -Wl,-rpath
> > -Wl,/home/alok/netcdf/lib
> > ifort -DHAVE_CONFIG_H -I. -I.. -I../libsrc  -I../fortran -I../fortran
> > -I../fortran  -O3 -xHost -ip -no-prec-div -static-intel -c -o ftest.o
> > ftest.F
> > /bin/bash ../libtool  --tag=F77   --mode=link ifort -I../fortran -O3
> > -xHost -ip -no-prec-div -static-intel   -o ftest ftest.o f03lib.o
> > ../fortran/libnetcdff.la -lnetcdf -lhdf5 -lz -lcurl -lm
> > libtool: link: ifort -I../fortran -O3 -xHost -ip -no-prec-div
> > -static-intel -o .libs/ftest ftest.o f03lib.o
> > ../fortran/.libs/libnetcdff.so -lnetcdf -lhdf5 -lz -lcurl -lm -Wl,-rpath
> > -Wl,/home/alok/netcdf/lib
> > ifort -I../fortran  -g -c -o tst_f90.o  tst_f90.f90
> > /bin/bash ../libtool  --tag=FC   --mode=link ifort -I../fortran -g   -o
> > tst_f90 tst_f90.o ../fortran/libnetcdff.la -lnetcdf -lhdf5 -lz -lcurl -lm
> > libtool: link: ifort -I../fortran -g -o .libs/tst_f90 tst_f90.o
> > ../fortran/.libs/libnetcdff.so -lnetcdf -lhdf5 -lz -lcurl -lm -Wl,-rpath
> > -Wl,/home/alok/netcdf/lib
> > make[2]: Leaving directory '/home/alok/netcdf/nf_test'
> > make  check-TESTS
> > make[2]: Entering directory '/home/alok/netcdf/nf_test'
> > make[3]: Entering directory '/home/alok/netcdf/nf_test'
> > ../test-driver: line 107: 12419 Aborted                 (core dumped)
> > "$@" > $log_file 2>&1
> > FAIL: nf_test
> > PASS: create_fills.sh
> > PASS: tst_f77_v2
> > ../test-driver: line 107: 12468 Aborted                 (core dumped)
> > "$@" > $log_file 2>&1
> > FAIL: ftst_vars
> > ../test-driver: line 107: 12488 Aborted                 (core dumped)
> > "$@" > $log_file 2>&1
> > FAIL: ftst_vars2
> > ../test-driver: line 107: 12508 Aborted                 (core dumped)
> > "$@" > $log_file 2>&1
> > FAIL: ftst_vars3
> > ../test-driver: line 107: 12528 Aborted                 (core dumped)
> > "$@" > $log_file 2>&1
> > FAIL: ftst_vars4
> > ../test-driver: line 107: 12548 Aborted                 (core dumped)
> > "$@" > $log_file 2>&1
> > FAIL: ftst_vars5
> > ../test-driver: line 107: 12568 Aborted                 (core dumped)
> > "$@" > $log_file 2>&1
> > FAIL: ftst_vars6
> > ../test-driver: line 107: 12588 Aborted                 (core dumped)
> > "$@" > $log_file 2>&1
> > FAIL: ftst_types
> > ../test-driver: line 107: 12608 Aborted                 (core dumped)
> > "$@" > $log_file 2>&1
> > FAIL: ftst_types2
> > ../test-driver: line 107: 12628 Aborted                 (core dumped)
> > "$@" > $log_file 2>&1
> > FAIL: ftst_types3
> > ../test-driver: line 107: 12648 Aborted                 (core dumped)
> > "$@" > $log_file 2>&1
> > FAIL: ftst_groups
> > ../test-driver: line 107: 12668 Aborted                 (core dumped)
> > "$@" > $log_file 2>&1
> > FAIL: ftst_path
> > ../test-driver: line 107: 12688 Aborted                 (core dumped)
> > "$@" > $log_file 2>&1
> > FAIL: ftst_rengrps
> > ../test-driver: line 107: 12708 Aborted                 (core dumped)
> > "$@" > $log_file 2>&1
> > FAIL: f90tst_vars
> > ../test-driver: line 107: 12728 Aborted                 (core dumped)
> > "$@" > $log_file 2>&1
> > FAIL: tst_types
> > ../test-driver: line 107: 12748 Aborted                 (core dumped)
> > "$@" > $log_file 2>&1
> > FAIL: tst_types2
> > PASS: f90tst_vars_vlen
> > ../test-driver: line 107: 12787 Aborted                 (core dumped)
> > "$@" > $log_file 2>&1
> > FAIL: tst_f90_nc4
> > ../test-driver: line 107: 12807 Aborted                 (core dumped)
> > "$@" > $log_file 2>&1
> > FAIL: f90tst_grps
> > ../test-driver: line 107: 12827 Aborted                 (core dumped)
> > "$@" > $log_file 2>&1
> > FAIL: f90tst_fill
> > ../test-driver: line 107: 12847 Aborted                 (core dumped)
> > "$@" > $log_file 2>&1
> > FAIL: f90tst_fill2
> > ../test-driver: line 107: 12867 Aborted                 (core dumped)
> > "$@" > $log_file 2>&1
> > FAIL: f90tst_vars3
> > ../test-driver: line 107: 12887 Aborted                 (core dumped)
> > "$@" > $log_file 2>&1
> > FAIL: f90tst_vars4
> > ../test-driver: line 107: 12907 Aborted                 (core dumped)
> > "$@" > $log_file 2>&1
> > FAIL: f90tst_vars2
> > ../test-driver: line 107: 12927 Aborted                 (core dumped)
> > "$@" > $log_file 2>&1
> > FAIL: f90tst_path
> > ../test-driver: line 107: 12947 Aborted                 (core dumped)
> > "$@" > $log_file 2>&1
> > FAIL: f90tst_rengrps
> > ../test-driver: line 107: 12967 Aborted                 (core dumped)
> > "$@" > $log_file 2>&1
> > FAIL: ftst_v2
> > PASS: tst_io
> > PASS: ftest
> > PASS: tst_f90
> >
> > ============================================================================
> > Testsuite summary for netCDF-Fortran 4.4.5
> >
> > ============================================================================
> > # TOTAL: 32
> > # PASS:  6
> > # SKIP:  0
> > # XFAIL: 0
> > # FAIL:  26
> > # XPASS: 0
> > # ERROR: 0
> >
> > ============================================================================
> > See nf_test/test-suite.log
> > Please report to address@hidden
> >
> > ============================================================================
> > Makefile:1451: recipe for target 'test-suite.log' failed
> > make[3]: *** [test-suite.log] Error 1
> > make[3]: Leaving directory '/home/alok/netcdf/nf_test'
> > Makefile:1557: recipe for target 'check-TESTS' failed
> > make[2]: *** [check-TESTS] Error 2
> > make[2]: Leaving directory '/home/alok/netcdf/nf_test'
> > Makefile:1875: recipe for target 'check-am' failed
> > make[1]: *** [check-am] Error 2
> > make[1]: Leaving directory '/home/alok/netcdf/nf_test'
> > Makefile:545: recipe for target 'check-recursive' failed
> > make: *** [check-recursive] Error 1
> >
> >
> 
> 

=Dennis Heimbigner
  Unidata


Ticket Details
===================
Ticket ID: MTW-408320
Department: Support netCDF
Priority: High
Status: Open
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.