[netcdfgroup] make check

I am experiencing problems with make check.  I have compiled netcdf using the 
following commands:

export CPPFLAGS=" -DgFortran -I/home/software/hd5-1.8.7_gcc_openmpi/include 
-I/home/software/zlib-1.2.5_gcc/include -I/home/software/szip-2.1_gcc/include"
export CXXFLAGS="-I/home/software/hd5-1.8.7_gcc_openmpi/include 
-I/home/software/zlib-1.2.5_gcc/include -I/home/software/szip-2.1_gcc/include"
export FFFLAGS="-I/home/software/hd5-1.8.7_gcc_openmpi/include 
-I/home/software/zlib-1.2.5_gcc/include -I/home/software/szip-2.1_gcc/include"
export FCFLAGS="-I/home/software/hd5-1.8.7_gcc_openmpi/include 
-I/home/software/zlib-1.2.5_gcc/include -I/home/software/szip-2.1_gcc/include"
export LDFLAGS="-L/home/software/hd5-1.8.7_gcc_openmpi/lib 
-L/home/software/zlib-1.2.5_gcc/lib -L/home/software/szip-2.1_gcc/lib"
export FC=mpif90
export CXX=mpicxx
export CC=mpicc

./configure  --enable-parallel-tests --enable-netcdf4 
--prefix=/home/software/netcdf-4.1.3_gcc
make
make check

During the test I am receiving the following failure:

Making check in nf_test
make[1]: Entering directory 
`/home/admins/rsvancara/SOFTWARE/NetCDF/netcdf-4.1.3/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 f90tst_vars tst_types 
tst_types2 f90tst_vars_vlen tst_f90_nc
4 f90tst_grps f90tst_fill f90tst_fill2 f90tst_vars3 f90tst_vars4  ftst_v2   
f90tst_parallel f90tst_parallel2 f90tst_parallel3 f90tst_nc4_par ftst_parallel 
ftst_parallel_nasa ftest tst_f90
make[2]: Entering directory 
`/home/admins/rsvancara/SOFTWARE/NetCDF/netcdf-4.1.3/nf_test'
/bin/sh ../libtool --tag=F77   --mode=link mpif90 -I../fortran -I../include   
-I../f90 -g -O2  -L/home/software/hd5-1.8.7_gcc_openmpi/lib 
-L/home/software/zlib-1.2.5_gcc/lib -L/home/software/szip-2.1_gcc/lib -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 ../fortran/libnetcdff.la  -lhdf5_hl -lhdf5 -lm -lz
libtool: link: mpif90 -I../fortran -I../include -I../f90 -g -O2 -o 
.libs/nf_test test_get.o test_put.o nf_error.o nf_test.o test_read.o 
test_write.o util.o fortlib.o  -L/home/software/hd5-1.8.7_gcc_openmpi/lib 
-L/home/software/zlib-1.2.5_gcc/lib -L/home/software/szip-2.1_gcc/lib 
../fortran/.libs/libnetcdff.so 
/home/admins/rsvancara/SOFTWARE/NetCDF/netcdf-4.1.3/liblib/.libs/libnetcdf.so 
/home/software/mpi/gcc/openmpi-1.4.3/lib/libmpi_f90.so 
/home/software/mpi/gcc/openmpi-1.4.3/lib/libmpi_f77.so 
/home/software/mpi/gcc/openmpi-1.4.3/lib/libmpi.so 
/home/software/mpi/gcc/openmpi-1.4.3/lib/libopen-rte.so 
/home/software/mpi/gcc/openmpi-1.4.3/lib/libopen-pal.so -ldl -lnsl -lutil 
/home/software/hd5-1.8.7_gcc_openmpi/lib/libhdf5_hl.a 
/home/software/hd5-1.8.7_gcc_openmpi/lib/libhdf5.a -lm -lz -pthread -Wl,-rpath 
-Wl,/home/software/netcdf-4.1.3_gcc/lib -Wl,-rpath 
-Wl,/home/software/mpi/gcc/openmpi-1.4.3/lib
test_get.o: In function `test_nf_get_att_double_':
/home/admins/rsvancara/SOFTWARE/NetCDF/netcdf-4.1.3/nf_test/test_get.F:5511: 
undefined reference to `nf_open_'
/home/admins/rsvancara/SOFTWARE/NetCDF/netcdf-4.1.3/nf_test/test_get.F:5521: 
undefined reference to `nf_get_att_double_'
/home/admins/rsvancara/SOFTWARE/NetCDF/netcdf-4.1.3/nf_test/test_get.F:5526: 
undefined reference to `nf_get_att_double_'
/home/admins/rsvancara/SOFTWARE/NetCDF/netcdf-4.1.3/nf_test/test_get.F:5529: 
undefined reference to `nf_get_att_double_'
/home/admins/rsvancara/SOFTWARE/NetCDF/netcdf-4.1.3/nf_test/test_get.F:5547: 
undefined reference to `nf_get_att_double_'
/home/admins/rsvancara/SOFTWARE/NetCDF/netcdf-4.1.3/nf_test/test_get.F:5594: 
undefined reference to `nf_close_'
test_get.o: In function `test_nf_get_att_real_':
/home/admins/rsvancara/SOFTWARE/NetCDF/netcdf-4.1.3/nf_test/test_get.F:5403: 
undefined reference to `nf_open_'
/home/admins/rsvancara/SOFTWARE/NetCDF/netcdf-4.1.3/nf_test/test_get.F:5413: 
undefined reference to `nf_get_att_real_'
/home/admins/rsvancara/SOFTWARE/NetCDF/netcdf-4.1.3/nf_test/test_get.F:5418: 
undefined reference to `nf_get_att_real_'
/home/admins/rsvancara/SOFTWARE/NetCDF/netcdf-4.1.3/nf_test/test_get.F:5421: 
undefined reference to `nf_get_att_real_'
/home/admins/rsvancara/SOFTWARE/NetCDF/netcdf-4.1.3/nf_test/test_get.F:5439: 
undefined reference to `nf_get_att_real_'
/home/admins/rsvancara/SOFTWARE/NetCDF/netcdf-4.1.3/nf_test/test_get.F:5486: 
undefined reference to `nf_close_'
.....SNIP
../fortran/.libs/libnetcdff.so: undefined reference to 
`nf_inq_compound_fieldoffset_'
../fortran/.libs/libnetcdff.so: undefined reference to `nf_def_enum_'
../fortran/.libs/libnetcdff.so: undefined reference to `nf_inq_grps_'
../fortran/.libs/libnetcdff.so: undefined reference to `nf_get_vars_'
collect2: ld returned 1 exit status
make[2]: *** [nf_test] Error 1
make[2]: Leaving directory 
`/home/admins/rsvancara/SOFTWARE/NetCDF/netcdf-4.1.3/nf_test'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory 
`/home/admins/rsvancara/SOFTWARE/NetCDF/netcdf-4.1.3/nf_test'
make: *** [check-recursive] Error 1

Any ideas?

Thanks,

randall


  • 2011 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: