[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #QLC-865146]: Netcdf on RH 64 bits
- Subject: [netCDF #QLC-865146]: Netcdf on RH 64 bits
- Date: Wed, 11 Apr 2007 14:43:47 -0600
Leilane,
The result from nm means your netcdf library does include the Fortran-77
interface, but it is apparently built for a different compiler than you have,
so you will have to reinstall netCDF or use whatever Fortran compiler the GMT
installation expected. When you installed GMT, your installation file had
#---------------------------------------------
# NETCDF SECTION
#---------------------------------------------
netcdf_ftp=n
netcdf_install=n
netcdf_path=/usr/local/lib
passive_ftp=n
The value of "n" for netcdf_install provided an "n" answer to the installation
question "Have you installed netcdf (version 3.6 or later)? (y/n)", so that is
why the install_gmt script reinstalled the netCDF library. I don't know enough
about GMT to know how it determines what Fortan compiler to use in building
netCDF, but I would think it just uses whatever the default is for the netCDF
"configure" script that builds the library from source.
To rebuild and reinstall it, get the source distribution from the netCDF home
page, run the "configure" script, then run "make check" and "make install", as
described here:
http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-install/Quick-Instructions-for-Installing-NetCDF-on-Unix.html
You should install it where GMT expects it, in /usr/local. FOrtunately, that
is the default location that the netCDF version 3.6.2 configure script uses, so
you do not need to give a "--prefix=..." argument to the configure script.
Alternatively, if you have a backup from before when you installed the GMT
package, you could restore the netCDF library from /usr/local/lib/ and the
include files from /usr/local/include/ to get the older version that you know
works with your Fortran compiler.
--Russ
Russ Rew UCAR Unidata Program
address@hidden http://www.unidata.ucar.edu
Ticket Details
===================
Ticket ID: QLC-865146
Department: Support netCDF
Priority: Normal
Status: Closed