SURFEX requirements

On Meteo-France computers, nothing is needed, you can skip the requirements section and go through the Install SURFEX page.

For non Meteo-France computers, SURFEX require a Linux system. We provide full assistance and documentation for Ubuntu 20.04 LTS even though it has been shown to be fully working on other Linux distributions and also on Mac OS.

Requirements for SURFEX follows, for each one the corresponding packages for Ubuntu 20.04.3 LTS are precised:

  • Glibc, GCC, make and Gfortran (works with LibC 6 and GCC 9.3): packages build-essential and gfortran
  • git for downloading SURFEX: package git
  • cmake: package cmake
  • curl (with gnutls flavour): packages curl and libcurl4-gnutls-dev
  • NetCDF: package libnetcdf-dev
  • OpenMPI (for MPI compilation only): packages openmpi-bin, openmpi-common and libopenmpi-dev

Case of windows users

If you have a Windows working station, we encourage you to use a Linux VM to install and run SURFEX. You can for instance use VirtualBox, which documentation is available here:

We encourage you to download and install Ubuntu 20.04.3 LTS (available here for instance:

Then you can install prerequisites with:

sudo apt install build-essential gfortran git cmake curl libcurl4-gnutls-dev libnetcdf-dev openmpi-bin openmpi-common libopenmpi-dev