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

[netCDF #VIR-258209]: Problems with NETCDF libraries in UBUNTU

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [netCDF #VIR-258209]: Problems with NETCDF libraries in UBUNTU
  • Date: Fri, 19 Jun 2009 15:54:56 -0600

When you run "make check", some Fortran 90 tests should be run
using gfortran, if it was found to work as a Fortran 90 compiler
during the configure step.

If you can't get a Fortran 90 program to link to the netCDF library
with something like

  gfortran ... myprogram.f90 -L/some/library/directory -lnetcdf

you might try

  gfortran ... myprogram.f90 -L/some/library/directory -lnetcdf -lnetcdff

in case a Fortran library separate from the C library was installed,
which happens when you specify to use shared libraries to the configure
step.

If that still doesn't help, please send us the information requested 
here:

  http://www.unidata.ucar.edu/netcdf/docs/netcdf-install/Reporting-Problems.html

--Russ

Russ Rew                                         UCAR Unidata Program
address@hidden                     http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: VIR-258209
Department: Support netCDF
Priority: Normal
Status: Closed