Prerequisites

The VECTRI code is a FORTRAN90 code with a bash shell script “wrapper” (in the process of being replaced by python3).

At the moment, in order to install and run it you will need to install the following libraries. In ubuntu this can be done using the apt install command:

git to download the files:

$ sudo apt install git

gfortran to compile the code

$ sudo apt install gfortran

The appropriate netcdf libraries

This depends on the flavour of linux you are using:

You can try this (1):

$ sudo apt install netcdf-bin

$ sudo apt install libnetcdf-dev

$ sudo apt install libnetcdff-dev

Or if that doesn't work, you can instead try this (2):

$ sudo apt install netcdf-lib

$ sudo apt install netcdff-lib

You will probably also find ncview and cdo useful for postprocessing and viewing the files:

$ sudo apt install cdo

$ sudo apt install ncview

$ sudo apt install nco

More information on can be found on these external sites: https://code.mpimet.mpg.de/projects/cdo/climate data operators http://meteora.ucsd.edu/~pierce/ncview_home_page.htmlncview

NOTE TO WINDOWS USERS: These notes assume you are running the model on a linux system. If you are a windows 10 user, it is now possible to install native ubuntu (or other linux flavours) directly under windows, without the need for cygwin or a wine server. There are many online blogs that show you how to do this. We strongly recommend that you install linux under windows which will then enable you to easily install the above software and run the model (we have successfully done this at a number of workshops and training events).

For use at ECMWF, there is also the option for using a GRIB input/output interface instead of netcdf, but most users will rely on the standard interface.