1.1. Basic packages to install on a Linux PC

On CNRM computers, nothing is needed, you can skip this requirements section.

To run SURFEX, several packages need to be installed on a Linux PC. Before to install SURFEX, please verify these packages are present on your computer.

  • shell KSH
  • glibc, make, a fortran compiler (if none is ever installed, choose Gfortran+GCC)
  • C++
  • cmake

Optional ( if MPI is not installed, SURFEX needs to be compiled with VER_MPI=NOMPI . Type export VER_MPI="NOMPI" before running the configure file) :

  • MPI library (OPENMPI or MPICH2)

 
Additional packages for Ubuntu 20.04 LTS and Ubuntu 22.04 LTS :

  • curl (with gnutls flavour): packages curl and libcurl4-gnutls-dev

 
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: https://www.virtualbox.org/manual/ch01.html#gui-createvm