[netcdfgroup] netcdf-fortran library

Dear All 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?
Thanks
Ahsan

-
  • 2013 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: