Thursday 12 March 2015

VAPOR on HIWINDS

Install VAPOR:
https://www.vapor.ucar.edu/docs/vapor-installation/vapor-binary-installation
Register for VAPOR.
username: conor.sweeney_656814
password: namewedyr
Cite VAPOR if used:
https://www.vapor.ucar.edu/citation
Download: Version 2.4.0 (Stable Release) Release Date: March 10, 2015 Linux - x86_64 (64 bit)
required packages:
sudo apt-get install mesa-utils
sudo apt-get install csh

Install:
 cd /home/conor/Code/VAPOR
wget https://www.vapor.ucar.edu/sites/default/files/Installers/vapor-2.4.0-Linux_x86_64.tar.gz
tar -xzf vapor-2.4.0-Linux_x86_64.tar.gz
./vapor-install.csh /home/conor/Code/VAPOR
cd /home/conor/Code/VAPOR/vapor-2.4.0/bin
chmod +x vapor-setup.sh
./vapor-setup.sh
./vaporgui 
./vaporgui: error while loading shared libraries: libexpat.so.0: failed to map segment from shared object: Cannot allocate memory

Wednesday 11 March 2015

Metview and OpenIFS

Information on using MetView with OpenIFS:

https://software.ecmwf.int/wiki/display/OIFS/Using+MetView+with+OpenIFS

wget https://software.ecmwf.int/wiki/download/attachments/24314215/metview_openifs.tar.gz

Unpack the compressed tarfile inside your $HOME/metview


Monday 9 March 2015

Metview on HIWINDS

packages
sudo apt-get install libproj-dev
sudo apt-get install libxt-dev
sudo apt-get install libxmu-dev
sudo apt-get install qt4-qmake
sudo apt-get install libqt4-dev
NETCDF
tar -xzf netcdf-4.3.3.1.tar.gz
cd netcdf-4.3.3.1
./configure --disable-dap
make
make check > makecheck.log
sudo make install
tar -xzf netcdf-cxx-4.2.tar.gz
cd netcdf-cxx-4.2
export LD_LIBRARY_PATH=/usr/local/lib
CPPFLAGS=-I/usr/local/include  ./configure 
make >& make.log
make check >& makecheck.log
sudo make install
GRIB API
tar -xzf grib_api-1.13.0.tar.gz
cd grib_api-1.13.0
CPPFLAGS=-I/usr/local/include  ./configure CFLAGS="-fPIC -O2" --with-netcdf=/usr/local
make >& make.log
make check >& makecheck.log
sudo make install
EMOSLIB
wget https://software.ecmwf.int/wiki/download/attachments/44242086/libemos-4.0.0-Source.tar.gz
tar -xzf libemos-4.0.0-Source.tar.gz
mkdir build 
cd build
cmake /home/conor/Code/ECMWF/EMOSLIB/libemos-4.0.0-Source 
make >& make.log
make check >& makecheck.log
sudo make install
MAGICS
tar -xzf Magics-2.24.1-Source.tar.gz 
mkdir build
cd build
cmake /home/conor/Code/ECMWF/MAGICS/Magics-2.24.1-Source -DENABLE_METVIEW=ON
make
MAGPLUS_HOME=/home/conor/Code/ECMWF/MAGICS/Magics-2.24.1-Source make test
sudo make install
METVIEW
tar -xzf Metview-4.5.2-Source.tar.gz
mkdir build
cd build
cmake /home/conor/Code/ECMWF/METVIEW/Metview-4.5.2-Source >& cmake.log
make >& make.log
make test
sudo make install