[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
> [root@r720 RegCM-4.3.5.6]# 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:

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

--Russ

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