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

[netCDF #NMN-242593]: netCDF on ubuntu 11.04



> Hello,
> 
> Actually the program I try to compile requires :
> 
> ################################################################
> ## Edit these three to indicate the path for the netcdf include
> ## file 'netcdf.h', the name of the netcdf library file, and the
> ## path to that library file.
> ################################################################
> NETCDFINCDIR =*/usr/include*
> NETCDFLIB    =*/usr/lib/ -lnetcdf*
> NETCDFLIBDIR =*/usr/lib*
> 
> In bold is what I filled, after the intel from the nc-config -all
> command which gave me :
> 
> This netCDF 4.1.1 has been built with the following features :
> --cc ->  gcc
> --cflags ->  -I/usr/include
> --libs ->  -L/usr/lib -lnetcdf
> --cxx ->  g++
> --fc gfortran
> --fflags ->  -g -02 -I/usr/include
> --flibs ->  -L/usr/lib -lnetcdff -lnetcdf
> --hasf77 ->  yes
> --hasf90 ->  yes
> --prefix ->  /usr
> --includedir ->  /usr/include
> --version ->  netCDF 4.1.1
> 
> What am I doing wrong ?
> 
> Thank you,

Are you using the same fortran compiler for netCDF as for you model?

If you have a working netCDF installation, then you must talk to the producers 
of the model software if it cannot find netcdf.

Good luck,

Ed

Ticket Details
===================
Ticket ID: NMN-242593
Department: Support netCDF
Priority: High
Status: Closed