Install
Software Requirements
Fortran 90/95 and C compiler
MPI or OpenMP libraries
netCDF4 library linked with HDF5 and zip libraries and extended by the Fortran netCDF package (The netCDF4 package comes with the programs ncdump and nccopy)
UNIX utilities: make, ksh, uname, sed, awk, wget, etc.
For post-processing: Climate Data Operators (CDO) and netCDF Operators (NCO)
- An ICON binary
CCLM_SP uses netCDF I/O of COSMO-CLM
The starter package is written for the HRLE–3 Mistral at DKRZ. Additional changes need to be applied on other machines. On the Mistral the Simple Linux Utility for Resource Management SLURM ist installed.
On mistral please use OPENMPI by setting
module load intel/17.0.2 module load openmpi/2.0.2p1_hpcx-intel14 export OMPI_MCA_pml=cm export OMPI_MCA_mtl=mxm export MCM_RDMA_PORTS=mlx5_0:1
To install the starter package, follow these steps:
1. Copy the starter package from RedC.
2. Unpack the starter package:
tar -xzvf cclm-sp-4.0.tgz mv cclm-sp-4.0 yourpath/cclm-sp
3. Copy and unpack the supplementary data files for testing the starter package (the program wget needs to be installed on your system)
cd yourpath/cclm-sp/data ./get_sp_ext.sh
4. Change to the directory yourpath/cclm-sp/configure_scripts
5. Adjust the settings in the file system_settings
to your computer system
6. Type the following command to create a default test experiment
./config.sh
this first compiles the necessary cfu program and the fortran-csv-lib, and then creates the test experiments ${SPDIR}/chain/gcm2cclm/sp001 and ${SPDIR}/chain/cclm2cclm/sp002.
or, if you want to create a default experiment including add-ons:
./config.sh -a addon1,addon2,…
1 Get the source code
Goto https://redc.clm-community.eu/projects/icon-clm-starter-package/wiki and download the latest revision, i.e. tag (e.g. 1.0 in the following), as tarball, copy spice-v1.0.tar.gz
to your computing system and proceed like so:
$ tar -xvf spice-v1.0.tar.gz $ cd spice-v1.0 $ SPDIR=$PWD # used as a shortcut in the following
2 Get supplementary data
2.1 Get the example constant and external data files
$ cd ${SPDIR}/data $ ./get_spice_rcm.sh
A directory rcm
is created holding the necessary data to run the ICON-CLM test experiment.