Nishadh KA

HYSPLIT compile

2014-04-04


Compiling HYSPLIT in Ubuntu 12.04 was hurdled by a error related with netcdf.

  1. Installation of netcdf is through compiling and package installation from synaptic package manager.
  2. Synaptic and latest source download compilation gives error of “no netcdf.inc” in hysplit compile.
  3. It is due to a fortran binding lapse in latest verision.
  4. 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
    
  5. 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
    
  6. Now the comiplation of HYSPLIT complted without any error and tcl (it is GUI) is working fine.