CLaMS Installation

Download Source Code

The CLaMS source code can be downloaded from the GitLab server https://jugit.fz-juelich.de.

To get full read and write access to the complete CLaMS code on the gitlab server, one needs to be registered by the server (login once) and then given access by the maintainer Nicole Thomas (n.thomas@fz-juelich.de).

The ssh keys should be uploaded to the GitLab Server:
Add your public SSH key to your GitLab account by clicking your avatar in the upper left corner and selecting Preferences, navigating to SSH Keys and pasting your public key in the key field. Your key is usually contained in the file '~/.ssh/id_rsa.pub' and begins with 'ssh-rsa'. Please don't use your private SSH key! Then click the Add key button.

For registered users CLaMS is available here:

Without any registration CLaMS can be downloaded with:

This version contains all modules, libraries and programs needed for a classical CLaMS simulation employing a ksh-script. It does not include supplementary programs e.g. needed for the conversion of the meteorological data.

Example input data can be downloaded by:

Some additional CLaMS packages can be downloaded (only by members of the CLaMS group) as follows:

At the moment ssh agent forwarding to JURECA/JUWELS is not allowed and outgoing ssh communication from these systems is blocked.

The source code can only be downloaded via https to JURECA or JUWELS (with userid and password):

Compilation

Requirements are a Fortran compiler and a NetCDF library with a Fortran interface and optionally an MPI library.
The Intel compiler and the MPICH library are used by default in the ICE4 cluster.
On JUWELS, the Intel compiler is used with the ParaStationMPI library.
For other computer systems or other compilers, adjustments may need to be made in the makefiles under mkincl.

For compilation of all CLaMS programs, go to the target directory and simply type:

For compilation of a specific program progname in package package-name:

The source code is compiled with MPI by default. The created executables can be run serially or in parallel. Please make sure, that mpif90 can be used or switch it off (see below)

On ICE-4 workstations the bin subdirectory of the installation directory of MPICH library must be added to your path:

For compilation and execution on the supercomputers JURECA/JUWELS see: https://clams.icg.kfa-juelich.de/CLaMS/Jureca/CompileExecute

It is possible to compile without MPI or switch to gfortran compiler with: