NSF Unidata

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

[Support #UZA-204445]: NetCDF installation

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.



Thomas,

Thanks for sending the settings you got to work.  We'll add those to our web
page
on "other platforms" that we don't have the compilers to test.

> Note static and lower case make no difference and I had to link to not
> only the Fortran-90 library but also that in C.

Right, the reason you needed -lnetcdff and -lnetcdf is because you specified
--enable-separate-fortran to the configure script, which caused it to make a
separate Fortran library.  I assume if you built again without that, the
Fortran API would be merged into the C library, and you would only have to
specify -lnetcdf.

The reason for having --enable-separate-fortran is to permit supporting more
than one Fortran compiler on the same platform, by installing the separate
Fortran libraries in different directories.

--Russ


Russ Rew                                         UCAR Unidata Program
address@hidden                     http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: UZA-204445
Department: Support netCDF
Priority: Normal
Status: Closed