Scripts
To use the computer facilities effectively the whole job chain is not carried out in just one script, but divided into several different scripts to perform the main sub-tasks of the cclm chain. Main settings for the job are in the file job_settings that is read at the beginning of each script.
Expand | ||
---|---|---|
| ||
Purpose This main script calls the job scripts of the directory scripts. subchain sends the following sub-tasks to the compute server. The scripts reads settings from the file job_settings. Contents The subchain script contains several sections (called actions ) which are executed dependent on the subchain [action] call. If you just call subchain without any argument you will get a list of valid actions. The actions start and clean are called interactively. The other actions are called internally by the subchain script, only in case of a restart in case of an error they may be called interactively.
|
Expand | ||
---|---|---|
| ||
Purpose All necessary pre-processing is performed by this script, e.g. copying boundary data from the archive, unpacking the data. The script can be changed to perform copying from tape or via ftp or scp. Contents The script includes the job_settings file.
|
Expand | ||
---|---|---|
| ||
Purpose This script prepares input data for the subsequent COSMO-CLM simulation: the external parameters for the surface and the global boundary meteorological fields at the domains boundaries are interpolated/re-projected to the model grid. Those parameters which are not explicitly set here are set to their default values during the simulation. Contents The script includes the job_settings file. Itcontains the namelist for INT2LM. After creating the input namelist files the INT2LM executable is called with the system specific MPI call. At the end of this job an CCLM job is initiated by subchain cclm. The user may change the namelist settings and the MPI call. |
Expand | ||
---|---|---|
| ||
Purpose This script contains name list parameters for the model grid, as well as model options for dynamics, physics, I/O, and diagnostics, etc. Those parameters which are not explicitly set here are set to their default values during the simulation. Contents The script includes the job_settings file. It contains the namelist for CCLM. After creating the input namelist files the CCLM executable is called with the system specific MPI call. At the end of this job an archive job is initiated by subchain arch if the total current month has been run by the CCLM. If the CCLM is run in shorter time length than a month and the end of the month has not been reached yet, the next CCLM chunk is initiated by subchain cclm. The user may change the namelist settings and the MPI call. |
Expand | ||
---|---|---|
| ||
Purpose Archiving of the results is performed in this script, e.g. compressing and combining output directories into tar files. In the standard script archiving is performed on hard disk. However, the script can be changed to perform archiving on tape or via ftp or scp. Contents The script includes the job_settings file. The results from the ICON simulation for the current month are tarred and copied to the archive. At the end of this job a post-processing job is initiated by subchain post. |
Expand | ||
---|---|---|
| ||
Purpose Any post-processing needed is performed here. Archiving of postprocessing results is also done here. Post-processing may take a lot of time, depending on its complexity. This may slow down the whole chain. Therefore it is run in parallel to the rest of the chain. Contents The script includes the job_settings and functions.sh files. The following post-processing is performed by default. However, the user can adjust the script to his needs. The following steps are performed:
|
Jobflow
...