Size: 3278
Comment:
|
Size: 3637
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 9: | Line 9: |
To download the code from 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: <<BR>> 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'. Don't use your private SSH key. Then click the ''Add key'' button. For registered users CLaMS is available here: {{{ git clone git@jugit.fz-juelich.de:clams/clams-git.git [target-directory] }}} |
|
Line 11: | Line 21: |
The code of the '''CLaMS version 2.0''' can be downloaded by: {{{ git clone https://jugit.fz-juelich.de/clams/CLaMS.git [target-directory] }}} |
|
Line 21: | Line 27: |
<<BR>> To download the '''developer version of CLaMS''' from 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: <<BR>> 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'. Don't use your private SSH key. Then click the ''Add key'' button. For registered users the developer version of CLaMS is available here: {{{ git clone git@jugit.fz-juelich.de:clams/clams-git.git [target-directory] }}} Some additional CLaMS packages (conv2cf, init, i3d, isentropic, tdot) can be downloaded by: |
Some additional CLaMS packages can be downloaded (only by members of the CLaMS group) as follows: |
Line 36: | Line 30: |
}}} Installing on a remote computer like JURECA works identically. If you want to use your ssh-keys from the workstation cluster for downloading the code, you may connect to JURECA by: {{{ ssh -A [-X] <user>@jureca.fz-juelich.de |
|
Line 55: | Line 44: |
Prerequisites are a fortran compiler and a netcdf library with fortran interface. |
|
Line 68: | Line 59: |
The source code is always compiled with MPI. It can be run serially or in parallel. |
The source code is compiled with MPI by default. The created executables can be run serially or in parallel. |
Line 72: | Line 63: |
On IEK-7 workstations the bin subdirectory of the installation directory of MPICH library must be added to your path: | On '''ICE-4 workstations''' the bin subdirectory of the installation directory of '''MPICH''' library must be added to your path: |
Line 77: | Line 68: |
On JURECA/JUWELS modules with MPI must be loaded, see: | For compilation and execution on the supercomputers '''JURECA/JUWELS''' see: |
Line 83: | Line 75: |
make [noMPI=true] [useComp=gfortran] all|libs|package-name | make [noMPI=true] [useComp=gfortran] [isDebug=true] [useSHM=true] all|libs|package-name |
Line 85: | Line 77: |
|| '''Option''' || '''Default''' || || || '''''noMPI''''' ||''false'' || switch to ''true'' to compile without MPI || || '''''useComp''''' || ''ifc'' (intel fortran compiler) || switch to ''gfortran'' to compile with gfortran compiler || || '''''isDebug''''' || ''false'' || switch to ''true'' to use debug options for compiling || || '''''useSHM''''' || ''false'' || switch to ''true'' to use MPI3 Shared Memory and Parallel IO <<BR>> (only implemented for intel compiler on JUWELS) <<BR>> (only used for meteorological data in '''traj''') || |
CLaMS Installation
Download Source Code
The CLaMS source code can be downloaded from the GitLab server https://jugit.fz-juelich.de.
To download the code from 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'. Don't use your private SSH key. Then click the Add key button.
For registered users CLaMS is available here:
git clone git@jugit.fz-juelich.de:clams/clams-git.git [target-directory]
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:
git clone https://jugit.fz-juelich.de/clams/clams-test-data.git [target-directory]
Some additional CLaMS packages can be downloaded (only by members of the CLaMS group) as follows:
git clone git@jugit.fz-juelich.de:clams/clams-support.git [target-directory]
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 be downloaded to JURECA or JUWELS via https (with userid and password):
git clone https://jugit.fz-juelich.de/clams/clams-git.git [target-directory] git clone https://jugit.fz-juelich.de/clams/clams-support.git [target-directory]
Compilation
Prerequisites are a fortran compiler and a netcdf library with fortran interface.
For compilation of all CLaMS programs, go to the target directory and simply type:
make all
For compilation of a specific program progname in package package-name:
cd target-directory make libs cd package-name make progname
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.
On ICE-4 workstations the bin subdirectory of the installation directory of MPICH library must be added to your path:
PATH=/usr/nfs/software/icg1/local/mpich-3.3.2-ifort-19.0.8/bin:$PATH export 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:
make [noMPI=true] [useComp=gfortran] [isDebug=true] [useSHM=true] all|libs|package-name
Option
Default
noMPI
false
switch to true to compile without MPI
useComp
ifc (intel fortran compiler)
switch to gfortran to compile with gfortran compiler
isDebug
false
switch to true to use debug options for compiling
useSHM
false
switch to true to use MPI3 Shared Memory and Parallel IO
(only implemented for intel compiler on JUWELS)
(only used for meteorological data in traj)