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

[netCDF #DPX-244442]: netcdf-fortran library

Hi Ahsan,

> I have install netcdf4.2.1.1 using following commands
> CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/li
> b ./configure --prefix=/usr/local/
> make check install
> netcdf is successfuly installed when I try to compile an applicatiion it
> gives error of netcdf-fortran library not being found.
> configure: checking for NetCDF...
> configure: checking for netcdf.h...
> checking netcdf.h usability... yes
> checking netcdf.h presence... yes
> checking for netcdf.h... yes
> configure: checking for libnetcdf.a...
> checking for nc_close in -lnetcdf... yes
> configure: checking for libnetcdff.a...
> checking for nf_close in -lnetcdf... no
> configure: checking for libnetcdff.a...
> checking for nf_close in -lnetcdff... yes
> configure: checking for NetCDF module file...
> configure: error: NetCDF module not found
> address@hidden RegCM-]# CPPFLAGS=-I/usr/local/include
> LDFLAGS=-L/usr/local/li
> b ./configure --prefix=/usr/local/
> How can I make netcdf fortran library?

See these instructions:



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

Ticket Details
Ticket ID: DPX-244442
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.