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

[netCDF #WXY-967380]: installation problems



Hi Enzo,

Did you first run the Fortran netCDF configure script, specifying where the 
netCDF C
library and include files are installed, as described here:

  http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-fortran-install.html

If so, it might help us to see the output from running configure, as well as 
the resulting
config.log file.

--Russ

> Full Name: Enzo Papandrea
> Email Address: address@hidden
> Organization: University of Bologna
> Package Version: 4.2
> Operating System: Linux
> Hardware:
> Description of problem:
> 
> Hi,
> 
> I have some problems installing the fortran library V 4.2 I have first
> istalled and checked C library V 4.2.1.1.
> 
> When I do check it just give me the following warning:
> 
> PASS: tst_atts3
> Try `uname --help' for more information.
> FAIL: run_diskless.sh
> ================================================
> 1 of 11 tests failed
> Please report to address@hidden
> 
> But when I check the fortran it seems to have some problems in shared library 
> libnetcdf.so (I have alse tried the static version whitout success)
> 
> /home/enzo/netcdf-fortran-4.2
> address@hidden:~/netcdf-fortran-4.2$ make check
> Making check in f90
> make[1]: Entering directory `/normalboy/home/enzo/netcdf-fortran-4.2/f90'
> make  check-am
> make[2]: Entering directory `/normalboy/home/enzo/netcdf-fortran-4.2/f90'
> make[2]: Nothing to be done for `check-am'.
> make[2]: Leaving directory `/normalboy/home/enzo/netcdf-fortran-4.2/f90'
> make[1]: Leaving directory `/normalboy/home/enzo/netcdf-fortran-4.2/f90'
> Making check in fortran
> make[1]: Entering directory `/normalboy/home/enzo/netcdf-fortran-4.2/fortran'
> make  check-am
> make[2]: Entering directory `/normalboy/home/enzo/netcdf-fortran-4.2/fortran'
> make[2]: Leaving directory `/normalboy/home/enzo/netcdf-fortran-4.2/fortran'
> make[1]: Leaving directory `/normalboy/home/enzo/netcdf-fortran-4.2/fortran'
> Making check in nf_test
> make[1]: Entering directory `/normalboy/home/enzo/netcdf-fortran-4.2/nf_test'
> make  nf_test          tst_f90
> make[2]: Entering directory `/normalboy/home/enzo/netcdf-fortran-4.2/nf_test'
> /bin/sh ../libtool --tag=F77   --mode=link ifort -I../fortran  -I../f90 -g  
> -L/home/enzo/netcdf-4.2.1.1/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
> libtool: link: ifort -I../fortran -I../f90 -g -o .libs/nf_test test_get.o 
> test_put.o nf_error.o nf_test.o test_read.o test_write.o util.o for           
>                 tlib.o  -L/home/enzo/netcdf-4.2.1.1/lib/ 
> ../fortran/.libs/libnetcdff.so -Wl,-rpath -Wl,/home/enzo/lib
> /home/enzo/intel/fce/10.1.012/lib/libimf.so: warning: warning: feupdateenv is 
> not implemented and will always fail
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_open'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_sync'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_copy_var'
> ../fortran/.libs/libnetcdff.so: undefined reference to `nc_close'
> ....
> ....
> ....
> 
> 
> could you please help me?
> Thanks a lot
> Enzo Papandrea
> 
> 
Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: WXY-967380
Department: Support netCDF
Priority: Normal
Status: Closed


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.