This is an old revision of the document!


Netcdf under cygwin

A common problem for me and others (telling from discussions on the web) is the installation of a current netcdf under cygwin. Download from UNIDATA and installation following the INSTALL guide seem to work fine (make check is happy), but neither binaries nor library files are written to the “/usr/local” directory nor any other usual path as far as I could see.

The binaries from UNIDATA didn't do the job neither (most likely due to compiler issues).

My solution is a binary package pre-compiled for cygwin from the web site
http://ruby.gfd-dennou.org

Check in the “Installation Guide” section for “cygwin”. There you can find a cygwin binary.

For an older version the installation worked as follows (Please leave a note, if this has changed! — 2011/10/28)

Once you have downloaded the package, unpack it using “bunzip2 netcdf-3.6.2-1.tar.bz2” and “tar- xvf netcdf-3.6.2-1.tar”.

Now you only have to set the correct path to the libraries for the libRadtran configure script with
./configure -with-libnetcdf=/…/lib/“
where ”/…” stands for whatever directory contains your “libnetcdf.a” and “libnetcdf_c++.a”.

(To use the cygwin setup.exe tool to do basically the same thing, follow the instructions on http://ruby.gfd-dennou.org/, cygwin link.)

If you find out more about a normal full cygwin installation from the UNIDATA sources or you find another work-around, let us know!Tobias Zinner 2010/04/09 14:21

 
 
user_area/netcdf_under_cygwin.1319792154.txt.gz · Last modified: 2011/10/28 09:55 by tobias
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Drupal Garland Theme for Dokuwiki