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)
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 is installed.
...
Code Block | ||
---|---|---|
| ||
$ tar -xzvf cclm-sp-5.0.tgz $ mv cclm-sp-5.0 yourpath/cclm-sp |
yourpath/cclm-sp
is named SPDIR from here on.
3. Copy and unpack the supplementary data files for testing the starter package (the program wget needs to be installed on your system)
...
4. Change to the directory yourpath/cclm-sp$SPDIR/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
...
Code Block | ||
---|---|---|
| ||
$ cd /$SPDIR/src/int2lm |
Open the Fopts script with any text editor and change the Fortran options according to your computer platform. Compile INT2LM:
...
Code Block | ||
---|---|---|
| ||
$ cd /$SPDIR/src/cclm |
Open the Fopts script with any text editor and change the fortran Fortran options according to your computer platform. The Makefile might be edited for setting the right MACHINE (e.g., levante.atos.local). Compile CCLM:
Code Block | ||
---|---|---|
| ||
$ make |
...
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 adapt them to your needs.
Code Block | ||
---|---|---|
| ||
PROJECT_ACCOUNT= # your project account |
...