Getting Started: Difference between revisions
(→Installation: included step-by-step guide) |
|||
Line 22: | Line 22: | ||
ICON-ART is already included in the most recent ICON version. For Instructions on how to install ICON, please refer to the first chapter of the [https://www.dwd.de/DE/leistungen/nwv_icon_tutorial/nwv_icon_tutorial.html:official ICON Model Tutorial]. |
ICON-ART is already included in the most recent ICON version. For Instructions on how to install ICON, please refer to the first chapter of the [https://www.dwd.de/DE/leistungen/nwv_icon_tutorial/nwv_icon_tutorial.html:official ICON Model Tutorial]. |
||
The only caveat is that during the configuration step the tag <code> --enable-art </code> has to be included. |
The only caveat is that during the configuration step the tag <code> --enable-art </code> has to be included. |
||
<b>Step-by-step guide:</b> |
|||
* Navigate to your ICON main folder. |
|||
* Within this directory, you will find the 'config' folder. |
|||
* Inside the 'config' directory, there are several subfolders corresponding to different institutions. |
|||
* In each institutional folder, you will find configuration scripts tailored for various computers and compilers. |
|||
<b>Example for HoreKa at KIT:</b> |
|||
# Access your ICON main folder. |
|||
# Run the following command: <code>config/kit/hk.intel-2022-openmpi-4.0 --enable-art</code> |
|||
# Execute <code>make -j4</code> |
|||
# You should now have a functional binary with ART integration. For other HPC systems, substitute the config script with the one relevant to your HPC system. |
|||
== Creating a Runfile == |
== Creating a Runfile == |
Revision as of 06:01, 12 October 2023
Requirements to run ICON-ART
As for most atmospheric models, it is strongly recommended to run ICON-ART on a High Performance Computing system such as Levante from the DKRZ or HoreKA from KIT. This usually requires an account which has to be obtained through the respective HPC Systems procedures.
Getting the source code
A user who wants to work with ICON-ART has to sign the ICON license agreement with the German Weatherservice (DWD) and Max-Planck-Institute for Meteorology (MPI-M) first. Further information can be found on the following website:
https://code.mpimet.mpg.de/projects/iconpublic
Afterwards you also should get access to the DKRZ gitlab. If you have access you can clone ICON.
Example for cloning the ICON-KIT repository including all submodules (including ART):
git clone --recursive git@gitlab.dkrz.de:icon/icon-kit.git
Installation
ICON-ART is already included in the most recent ICON version. For Instructions on how to install ICON, please refer to the first chapter of the ICON Model Tutorial.
The only caveat is that during the configuration step the tag --enable-art
has to be included.
Step-by-step guide:
- Navigate to your ICON main folder.
- Within this directory, you will find the 'config' folder.
- Inside the 'config' directory, there are several subfolders corresponding to different institutions.
- In each institutional folder, you will find configuration scripts tailored for various computers and compilers.
Example for HoreKa at KIT:
- Access your ICON main folder.
- Run the following command:
config/kit/hk.intel-2022-openmpi-4.0 --enable-art
- Execute
make -j4
- You should now have a functional binary with ART integration. For other HPC systems, substitute the config script with the one relevant to your HPC system.
Creating a Runfile
- Go to
icon-kit/run/checksuites.icon-kit
- Run bash-script
run_testsuite
via./run_testsuite
- The script creates the folder runscripts, which contains exemplary runfiles which are adapted to some common HPC-Systems you might be using.
Running a Job
For a user who succeeded in running the ICON model, there are only a few steps to run the ART extension along with the ICON model. A description how to run the ICON model can be found in .
In order to run ICON-ART, one has to do the following steps:
- Make sure you have everything required for an ICON run
- Prepare the input data (see section Input )
- Inside the runscript in the namelist run_nml, set the main switch for ICON-ART to true: lart = .true.
- Add a namelist art_nml and choose the namelist parameters for the ART setup as described in Input.
- Adapt the XML files for tracers, emi. The number of tracers related to a specific setup is equal to the number of possible prognostic output fields as described in Input.
- Add an output namelist as described in for the species you are interested in Input.
- Submit the job analogous to an ICON job.