NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

[netcdfgroup] error while configuring netcdf-4.1.2

Hi
i am trying to configure netcdf -4.1.2 on rhel 5.2 x86_64 machine.
I have configured pnetcdf .
configure options provided for netcdf are :
./configure --prefix=/home/lara/netcdf-4.1.2/BUILD --enable-shared
--disable-netcdf-4 --enable-pnetcdf --with-pnetcdf=/home/lara/pnetcdf

environment is :
########################

export MPIF77=/opt/intel/mpi/bin64/mpif90
export MPIF90=/opt/intel/mpi/bin64/mpif90
export F77=/opt/intel/mpi/bin64/mpif90
export FC=/opt/intel/mpi/bin64/mpif90
export CC=/opt/intel/mpi/bin64/mpiicc
export MPICC=/opt/intel/mpi/bin64/mpiicc
export MPICXX=/opt/intel/mpi/bin64/mpicxx
export PNETCDF=/home/lara/pnetcdf
##############################



i am getting following error while performing "make check"

#######################################################################
*** All nccopy tests passed!
PASS: tst_nccopy3.sh
*** Testing ncgen with -k1
*** XFAIL: ref_tst_chardata
+ echo '*** PASSED: 12/12 ; 1 expected failures ; 0 unexpected failures'
*** PASSED: 12/12 ; 1 expected failures ; 0 unexpected failures
+ test 0 -gt 0
+ exit 0
*** Cycle testing ncgen with -k1
xfail test: ref_tst_chardata: ignored
*** PASSED: 16/16 ; 0 unexpected failures; 1 expected failures ignored
PASS: tst_ncgen4_classic.sh
===================
All 11 tests passed
===================
make[4]: Leaving directory `/home/lara/netcdf/netcdf-4.1.2/ncdump'
make[3]: Leaving directory `/home/lara/netcdf/netcdf-4.1.2/ncdump'
make[2]: Leaving directory `/home/lara/netcdf/netcdf-4.1.2/ncdump'
make[1]: Leaving directory `/home/lara/netcdf/netcdf-4.1.2/ncdump'
Making check in nf_test
make[1]: Entering directory `/home/lara/netcdf/netcdf-4.1.2/nf_test'
make  nf_test tst_f77_v2         ftest tst_f90
make[2]: Entering directory `/home/lara/netcdf/netcdf-4.1.2/nf_test'
/bin/sh ../libtool --tag=F77   --mode=link /opt/intel/mpi/bin64/mpif90
-I../fortran -I../f90 -I../include -I../liblib  -g -O2
-L/home/lara/wrf/pnetcdf/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/li
bnetcdff.la -lm ../liblib/libnetcdf.la -lz -L/usr/kerberos/lib64
-lcurl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -ldl -lidn
-lssl -lc
rypto -lz    -lz
libtool: link: /opt/intel/mpi/bin64/mpif90 -I../fortran -I../f90
-I../include -I../liblib -g -O2 -o .libs/nf_test test_get.o test_put.o
nf_erro
r.o nf_test.o test_read.o test_write.o util.o fortlib.o
-L/home/lara/pnetcdf/lib ../fortran/.libs/libnetcdff.so -L/us
r/kerberos/lib64 -lm ../liblib/.libs/libnetcdf.so -lcurl -lgssapi_krb5
-lkrb5 -lk5crypto -lcom_err -lresolv -ldl -lidn -lssl -lcrypto -lz
-Wl,-
rpath -Wl,/home/lara/netcdf/netcdf-4.1.2/BUILD/lib
test_get.o: In function `test_nf_get_att_double_':
/home/lara/netcdf/netcdf-4.1.2/nf_test/test_get.F:5511: undefined
reference to `nf_open_'
/home/lara/netcdf/netcdf-4.1.2/nf_test/test_get.F:5521: undefined
reference to `nf_get_att_double_'
/home/lara/netcdf/netcdf-4.1.2/nf_test/test_get.F:5526: undefined
reference to `nf_get_att_double_'
/home/lara/netcdf/netcdf-4.1.2/nf_test/test_get.F:5529: undefined
reference to `nf_get_att_double_'
/home/lara/netcdf/netcdf-4.1.2/nf_test/test_get.F:5547: undefined
reference to `nf_get_att_double_'
/home/lara/netcdf/netcdf-4.1.2/nf_test/test_get.F:5594: undefined
reference to `nf_close_'
test_get.o: In function `test_nf_get_att_real_':
/home/lara/netcdf/netcdf-4.1.2/nf_test/test_get.F:5403: undefined
reference to `nf_open_'
/home/lara/netcdf/netcdf-4.1.2/nf_test/test_get.F:5413: undefined
reference to `nf_get_att_real_'

##################################################################
configure does not throw any error, but make throws. Removing pnetcdf
directory from configure also does not help.
Please let me know the issue.

-a . bhosale



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