[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20011217: Linux install; ifc Fortran; missing nf_* library functions
- Subject: 20011217: Linux install; ifc Fortran; missing nf_* library functions
- Date: Mon, 17 Dec 2001 09:03:58 -0700
Don,
> To: <address@hidden>
> From: "Don Dunbar" <address@hidden>
> Subject: missing nf_* functions in library
> Organization: ?
> Keywords: 200112150048.fBF0msN07377 netCDF F90
The above message contained the following:
> Everything seems fine up to the tests. The linker can't find the nf_ named
> routines (see below). Your help is appreciated.
>
> A. uname -a
> Linux DON 2.4.9-12 #1 Tue Oct 30 18:33:49 EST 2001 i686 unknown
>
> B. VERSION
> 3.5.0
>
> C. Compiler pathnames
> f77: /usr/bin/f77 -> /opt/intel/compiler50/ia32/bin/ifc
I'm not familiar with the above, Fortran compiler. What is it?
> gcc: /usr/bin/cc -> gcc
> g++: /usr/bin/g++
...
> Making `test' in directory /usr/local/netcdf-3.5.0/src/nf_test
>
> make[2]: Entering directory `/usr/local/netcdf-3.5.0/src/nf_test'
...
> /usr/bin/gcc -c -O -DNDEBUG -Df2cFortran fortlib.c
> /usr/bin/f77 -o nf_test -w -cm test_get.o test_put.o nf_error.o nf_test.o
> test_read.o test_write.o util.o fortlib.o ../libsrc/libnetcdf.a -lm
> f77: NOTE: You have 29 days left in your evaluation period.
> test_get.o: In function `test_nf_get_var1_text_':
> test_get.o(.text+0x2d): undefined reference to `nf_open_'
> test_get.o(.text+0x10c): undefined reference to `nf_get_var1_text_'
> test_get.o(.text+0x15d): undefined reference to `nf_get_var1_text_'
...
I wonder what the names of the Fortran routines are in the netCDF
library? Would you please use the nm(1) utility to send me a list of
them, e.g.:
nm -g /upc/netcdf/lib/libnetcdf.a | grep nf_
Regards,
Steve Emmerson <http://www.unidata.ucar.edu>