You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I encountered an issue while running make check for NetCDF-Fortran version 4.5.2 on my system. The testing process halts at nf03_test, indicating a failure in this particular test suite. I have successfully compiled and installed NetCDF-C before this.
When I ran make check for NetCDF-Fortran, the following error occurred:
/bin/bash ../libtool --tag=FC --mode=link gfortran -I../fortran -I../nf_test -m64 -L/home/lxy/Build_WRF/LIBRARIES/grib2/lib -o tst_f90 tst_f90.o ../fortran/libnetcdff.la -ldl -lm -lnetcdf -lz
libtool: link: gfortran -I../fortran -I../nf_test -m64 -o tst_f90 tst_f90.o -L/home/lxy/Build_WRF/LIBRARIES/grib2/lib ../fortran/.libs/libnetcdff.a -ldl -lm -lnetcdf -lz
../fortran/.libs/libnetcdff.a(nf_nc4.o): In function `nf_def_var_filter_':
nf_nc4.f90:(.text+0x5cd6): undefined reference to `nc_def_var_filter'
../fortran/.libs/libnetcdff.a(nf_nc4.o): In function `nf_inq_var_filter_':
nf_nc4.f90:(.text+0x5efb): undefined reference to `nc_inq_var_filter'
../fortran/.libs/libnetcdff.a(nf_lib.o): In function `nc_inq_varnparams':
nf_lib.c:(.text+0x507): undefined reference to `nc_inq_var_filter'
collect2: error: ld returned 1 exit status
Makefile:620: recipe for target 'tst_f90' failed
make[2]: *** [tst_f90] Error 1
make[2]: Leaving directory '/home/lxy/Build_WRF/LIBRARIES/netcdf-fortran-4.5.2/nf03_test'
Makefile:918: recipe for target 'check-am' failed
make[1]: *** [check-am] Error 2
make[1]: Leaving directory '/home/lxy/Build_WRF/LIBRARIES/netcdf-fortran-4.5.2/nf03_test'
Makefile:540: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1
My configure options:./configure --prefix=$DIR/netcdf --disable-dap --disable-netcdf-4 --disable-shared CFLAGS='-fPIC' CPPFLAGS='-fPIC'
The text was updated successfully, but these errors were encountered:
loctar665
changed the title
**make check** Fails at **nf03_test"" in NetCDF-Fortran Version 4.5.2
”make check“ Fails at ”nf03_test“ in NetCDF-Fortran Version 4.5.2
Mar 7, 2024
Hello,
I encountered an issue while running
make check
for NetCDF-Fortran version 4.5.2 on my system. The testing process halts at nf03_test, indicating a failure in this particular test suite. I have successfully compiled and installed NetCDF-C before this.When I ran
make check
for NetCDF-Fortran, the following error occurred:My configure options:
./configure --prefix=$DIR/netcdf --disable-dap --disable-netcdf-4 --disable-shared CFLAGS='-fPIC' CPPFLAGS='-fPIC'
My environment:
Ubuntu: 16.04.7 LTS (Xenial Xerus)
gfortran: 5.4.0
netcdf-c: 4.7.2
netcdf-fortran: 4.5.2
hdf5: 1.8.16
The relevant running log is attached.
configure.log
make.log
make_check.log
make_install.log
The text was updated successfully, but these errors were encountered: