HYSPLIT compile
2014-04-04
Compiling HYSPLIT in Ubuntu 12.04 was hurdled by a error related with netcdf.
- Installation of netcdf is through compiling and package installation from synaptic package manager.
- Synaptic and latest source download compilation gives error of “no netcdf.inc” in hysplit compile.
- It is due to a fortran binding lapse in latest verision.
So used a old version of the netcdf 3.6.3 and compiled following this– http://code.google.com/p/netcdf4-python/wiki/UbuntuInstall has to give sudo in make and make install, with the first comment disable-shared
LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include ./configure --enable-netcdf-4 --enable-dap --disable-shared --prefix=/usr/local
In earlier attempt, with enable-shared (as given in python-netcdf instalation) gives error of shared libraries while using the version view command for netcdf
ncdump --version
Now the comiplation of HYSPLIT complted without any error and tcl (it is GUI) is working fine.