Re: [netcdfgroup] creating libnetcdff.a

Hi

I compiled netcdf with ifort and I know it found it. I looked in the configure for the flags but I didn't see how to get lib*ff.a

/m

Sent from my iPhone

On 28 maj 2010, at 19.48, Graziano Giuliani <graziano.giuliani@xxxxxxxxxxxxxx > wrote:

On 28/05/10 19:22, Marston Sheldon Johnston wrote:
Hi,

Does anyone know how to get netcdf 4.1.1 to create libnetcdff.a?

I cannot get it to do this and COSP needs this library.
Am I using the wrong version?
[...]

AFAIK if You compile a static version of libnetcdf the fortran interface is included into libnetcdf.a, so just remove -lnetcdff from the LIBS line. You can check with nm if on Unix if You get any symbol nf_* . If on the other side You have a shared library (libnetcdf.so.X) and NOT libnetcdff.so.X, You probably have compiled without the fortran interface enabled (maybe configure didn't find
a working fortran compiler).

Hope it helps.

Graziano.

_______________________________________________
netcdfgroup mailing list
netcdfgroup@xxxxxxxxxxxxxxxx
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/



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