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
Info |
---|
CCLM_SP uses netCDF I/O of COSMO-CLM |
The starter package is written for the HRLE-4 Levante at DKRZ. Additional changes need to be applied for unsage on other machines. At DKRZ the Simple Linux Utility for Resource Management SLURM ist is installed.
Code Block | ||
---|---|---|
| ||
module load intel-oneapi-compilers/2022.0.1-gcc-11.2.0 module load openmpi/4.1.2-intel-2021.5.0 |
...
The source code for INT2LM, CCLM, and the auxiliary program packages CFU and fortran-csv-lib need to be compiled for running a simulation with the regional climate model. INT2LM and CCLM needs need to be compiled by yourself. CFU and fortran-csv-lib are automatically compiled when you run the config.sh
script.
...
Open the Fopts script with any text editor and change the fortran Fortran options according to your computer platform. Compile INT2LM:
...
this results in a much faster compilation. Replace N
by the number of requested processors.
Run the test examples
There are two tests, one for testing CCLM with GCM or reanalysis data as initial and boundary conditions (${SPDIR}/chain/gcm2cclm/sp001) and one for testing CCLM with coarse grid CCLM data as initial and boundary conditions (${SPDIR}/chain/cclm2cclm/sp002). Actually, sp001 creates the necessary input data for sp002.
Before you start the experiment look for the following environment variables in the job_settings of sp001 and sp002 file and adopt adapt them to your needs.
Code Block | ||
---|---|---|
| ||
PROJECT_ACCOUNT= # your project account |
...
This experiment is a two month simulation, 50 km / Europe / driven bei by ERAInterim
The scripts are called in the order prep.job.sh, int2lm.job.sh, cclm.job.sh, arch.job.sh, post.job.sh. If your job crashes in one of the scripts you do not have to run all the successful scripts again, but can start this script again after you made the corrections by submitting the appropriate command from the following list:
Code Block | ||
---|---|---|
| ||
$ ./subchain prep $ ./subchain conv2icon $ ./subchain iconcclm noprep $ ./subchain arch $ ./subchain post |
After successful completion of the SP001
experiment adopt adapt the scripts in SP002
and start this experiment:
Code Block | ||
---|---|---|
| ||
$ cd ${SPDIR}/chain/icon2iconcclm2cclm/sp002 $ ./subchain start |
This experiment is a two-month simulation, 2 km / resolution, around Hamburg / , driven bei by the results from the sp001
SP001
experiment.