Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
user_area:netcdf_under_cygwin [2011/10/28 09:55] tobias |
user_area:netcdf_under_cygwin [2011/11/02 16:35] tobias |
The binaries from UNIDATA didn't do the job neither (most likely due to compiler issues). | 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\\ | Meanwhile you can get a netcdf package for cygwin via the "setup.exe" tool, e.g. at the cygwin-server |
http://ruby.gfd-dennou.org | ftp.univie.ac.at |
| |
Check in the "Installation Guide" section for "cygwin". There you can find a cygwin binary. | The netcdf libraries are automatically installed in the "/bin" directory in cygwin and are called "cygnetcdf*". This means you have to introduce symbolic links to help libRadtran configure to find them. |
| |
**For an older version the installation worked as follows (Please leave a note, if this has changed!)** | Create them in the "/lib" directory where configure looks for them (otherwise use "./configure -with-libnetcdf=") : |
| |
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//". | ln -s /bin/cygnetcdf-6.dll libnetcdf.a\\ |
| ln -s /bin/cygnetcdf-c++4-1.dll libnetcdf.a |
| |
Now you only have to set the correct path to the libraries for the libRadtran configure script with\\ | (Infos from http://www.unidata.ucar.edu/mailing_lists/archives/netcdfgroup/2011/msg00065.html) |
"//./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.) | Then configure works fine and netcdf is found. |
| |
**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@lmu.de|Tobias Zinner]] 2011/02/03// |
--- //[[tobias.zinner@lmu.de|Tobias Zinner]] 2010/04/09 14:21// | |
| |
| |