NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [netcdfgroup] netcdf-fortran library

Got that I have installed fortran libraries too and problem in solved but
the installation of fortran library says

*Now you will only need to use something like*

*    -L${DIR1}/lib -lnetcdff*

*to link Fortran software with the installed netCDF Fortran and C libraries.
*

This point is not clear to me. where to give this command



On Tue, Aug 6, 2013 at 2:31 PM, Syed Ahsan Ali Bokhari
<ahsan.pmd@xxxxxxxxx>wrote:

>
> 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
>
> -
>



-- 
 Engr. Syed Ahsan Ali Bokhari
 Electronic Engineer (EE)
 Research & Development Division
 Pakistan Meteorological Department H-8/2, Islamabad.
 Phone # off +92519250361
 Cell # +923155145014
 www.pmd.gov.pk
  • 2013 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: