From b098931e31a13cfcea2d265c58cc7ae7d12ae26b Mon Sep 17 00:00:00 2001 From: Matthieu Date: Thu, 4 Jul 2024 12:05:15 +0200 Subject: [PATCH 1/7] =?UTF-8?q?add(icon):=20temporary=20guidelines=20for?= =?UTF-8?q?=20T=C3=B6di?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/models/icon.md | 41 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/docs/models/icon.md b/docs/models/icon.md index c21df557..b8f3f821 100644 --- a/docs/models/icon.md +++ b/docs/models/icon.md @@ -1,4 +1,3 @@ - # ICON ICON (Icosahedral Nonhydrostatic Weather and Climate Model) is a global model suitable for climate and weather prediction at regional and global domains. It is a joint project of [DWD :material-open-in-new:](https://www.dwd.de/DE/Home/home_node.html){:target="_blank"}, [MPI-M :material-open-in-new:](https://mpimet.mpg.de/startseite){:target="_blank"} and [KIT :material-open-in-new:](https://www.kit.edu/){:target="_blank"}. @@ -44,6 +43,46 @@ spack install cosmo-eccodes-definitions srun -N 1 -c 12 --mem-per-cpu=20G spack install -v -j 12 ``` +### Temporary Tödi + +!!! warning "This are only temporary guidelines for the acceptance phase of Alps" + + - Santis will be the official W&C vcluster but Tödi has to be deployed on the entire Alps system for the acceptance phase. These guidelines are for the ones who have access to Tödi. + - The resulting executable is not tested. + - Anything can go wrong + +install latest `uenv` tool +```shell +git clone git@github.com:eth-cscs/uenv.git && ./uenv/install --local +``` + +Get `spack-c2sm` on the `uenv_ci` branch +```shell +git clone --depth 1 --recurse-submodules --shallow-submodules -b uenv_ci https://github.com/C2SM/spack-c2sm.git +``` + +Start user environment +```shell +uenv start /capstor/scratch/cscs/leclairm/uenvs/images/icon_c2sm_v1_rc3.sqfs +``` + +Setup `spack-c2sm` +```shell +source spack-c2sm/setup-env.sh /user-environment +``` + +Adapt your spack environment following `/capstor/scratch/cscs/leclairm/icon-nwp/config/cscs/spack/uenv/mch_gpu_double/spack.yaml` and activate it as usual with `spack env activate`. + +Build as usual from your icon root dir +```shell +spack install +``` + +Submit job with uenv +```shell +sbatch --uenv /capstor/scratch/cscs/leclairm/uenvs/images/icon_c2sm_v1_rc3.sqfs my_run_script +``` + ## Run test case with ICON In the *run* folder, you find many prepared test cases, which you can convert into run scripts. To generate the runscript of one of the experiment files, e.g. *mch_ch_lowres*, you can use the `make_runscripts` function. From 080ca1ff205316c9ec61e76a4158e6bec849e20b Mon Sep 17 00:00:00 2001 From: leclairm Date: Thu, 4 Jul 2024 10:06:30 +0000 Subject: [PATCH 2/7] GitHub Action: Apply external link format --- docs/blog/posts/2024-07-12_switching_to_Alps.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/blog/posts/2024-07-12_switching_to_Alps.md b/docs/blog/posts/2024-07-12_switching_to_Alps.md index 22391af8..c1a08a5b 100644 --- a/docs/blog/posts/2024-07-12_switching_to_Alps.md +++ b/docs/blog/posts/2024-07-12_switching_to_Alps.md @@ -5,7 +5,7 @@ date: # Switching to Alps -As you probably all know the new [Alps system :material-open-in-new:](https://www.cscs.ch/computers/alps) is currently being set up at CSCS. With this machine, CSCS introduced major changes, of course in the hardware, but also in the user experience. +As you probably all know the new [Alps system :material-open-in-new: :material-open-in-new:](https://www.cscs.ch/computers/alps){:target="_blank"} is currently being set up at CSCS. With this machine, CSCS introduced major changes, of course in the hardware, but also in the user experience. Piz Daint being scheduled to be decommissioned at the end of August, we are organizing a workshop to guide our users in this transition on **August, 12th from 10:00 to 12:00** at **ETHZ in CHN-L17.1** and over zoom at **https://ethz.zoom.us/j/63402117251.** From ff262a69499cdd2fc87c901eae6f336ca8ff428d Mon Sep 17 00:00:00 2001 From: Matthieu Date: Thu, 4 Jul 2024 14:02:11 +0200 Subject: [PATCH 3/7] fix(todi): reword --- docs/models/icon.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/models/icon.md b/docs/models/icon.md index b8f3f821..6a5b3c0a 100644 --- a/docs/models/icon.md +++ b/docs/models/icon.md @@ -45,7 +45,7 @@ srun -N 1 -c 12 --mem-per-cpu=20G spack install -v -j 12 ### Temporary Tödi -!!! warning "This are only temporary guidelines for the acceptance phase of Alps" +!!! warning "This are only temporary guidelines during the acceptance phase of Alps" - Santis will be the official W&C vcluster but Tödi has to be deployed on the entire Alps system for the acceptance phase. These guidelines are for the ones who have access to Tödi. - The resulting executable is not tested. From 3c9977cca2107a110738d68ee09f504964c85cff Mon Sep 17 00:00:00 2001 From: Matthieu Date: Thu, 4 Jul 2024 14:05:31 +0200 Subject: [PATCH 4/7] ref(todi): itemize --- docs/models/icon.md | 62 ++++++++++++++++++++++----------------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/docs/models/icon.md b/docs/models/icon.md index 6a5b3c0a..12acbc7b 100644 --- a/docs/models/icon.md +++ b/docs/models/icon.md @@ -51,37 +51,37 @@ srun -N 1 -c 12 --mem-per-cpu=20G spack install -v -j 12 - The resulting executable is not tested. - Anything can go wrong -install latest `uenv` tool -```shell -git clone git@github.com:eth-cscs/uenv.git && ./uenv/install --local -``` - -Get `spack-c2sm` on the `uenv_ci` branch -```shell -git clone --depth 1 --recurse-submodules --shallow-submodules -b uenv_ci https://github.com/C2SM/spack-c2sm.git -``` - -Start user environment -```shell -uenv start /capstor/scratch/cscs/leclairm/uenvs/images/icon_c2sm_v1_rc3.sqfs -``` - -Setup `spack-c2sm` -```shell -source spack-c2sm/setup-env.sh /user-environment -``` - -Adapt your spack environment following `/capstor/scratch/cscs/leclairm/icon-nwp/config/cscs/spack/uenv/mch_gpu_double/spack.yaml` and activate it as usual with `spack env activate`. - -Build as usual from your icon root dir -```shell -spack install -``` - -Submit job with uenv -```shell -sbatch --uenv /capstor/scratch/cscs/leclairm/uenvs/images/icon_c2sm_v1_rc3.sqfs my_run_script -``` +- Install latest `uenv` tool + ```shell + git clone git@github.com:eth-cscs/uenv.git && ./uenv/install --local + ``` + +- Get `spack-c2sm` on the `uenv_ci` branch + ```shell + git clone --depth 1 --recurse-submodules --shallow-submodules -b uenv_ci https://github.com/C2SM/spack-c2sm.git + ``` + +- Start user environment + ```shell + uenv start /capstor/scratch/cscs/leclairm/uenvs/images/icon_c2sm_v1_rc3.sqfs + ``` + +- Setup `spack-c2sm` + ```shell + source spack-c2sm/setup-env.sh /user-environment + ``` + +- Adapt your spack environment following `/capstor/scratch/cscs/leclairm/icon-nwp/config/cscs/spack/uenv/mch_gpu_double/spack.yaml` and activate it as usual with `spack env activate`. + +- Build as usual from your icon root dir + ```shell + spack install + ``` + +- Submit job with uenv + ```shell + sbatch --uenv /capstor/scratch/cscs/leclairm/uenvs/images/icon_c2sm_v1_rc3.sqfs my_run_script + ``` ## Run test case with ICON In the *run* folder, you find many prepared test cases, which you can convert into run scripts. To generate the runscript of one of the experiment files, e.g. *mch_ch_lowres*, you can use the `make_runscripts` function. From 59d7299fdc5e529d83303d670bfc8dc561bf4684 Mon Sep 17 00:00:00 2001 From: Matthieu Date: Thu, 4 Jul 2024 14:07:04 +0200 Subject: [PATCH 5/7] fix(todi): typo --- docs/models/icon.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/models/icon.md b/docs/models/icon.md index 12acbc7b..758c8c36 100644 --- a/docs/models/icon.md +++ b/docs/models/icon.md @@ -45,7 +45,7 @@ srun -N 1 -c 12 --mem-per-cpu=20G spack install -v -j 12 ### Temporary Tödi -!!! warning "This are only temporary guidelines during the acceptance phase of Alps" +!!! warning "These are only temporary guidelines during the acceptance phase of Alps" - Santis will be the official W&C vcluster but Tödi has to be deployed on the entire Alps system for the acceptance phase. These guidelines are for the ones who have access to Tödi. - The resulting executable is not tested. From 48b3c33d624b1ecc545710f2df7c409a33b4f987 Mon Sep 17 00:00:00 2001 From: Matthieu Date: Thu, 4 Jul 2024 14:38:05 +0200 Subject: [PATCH 6/7] test: empty commit, relaunch link checker --- docs/models/icon.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/models/icon.md b/docs/models/icon.md index 758c8c36..b4bc4f10 100644 --- a/docs/models/icon.md +++ b/docs/models/icon.md @@ -44,7 +44,7 @@ srun -N 1 -c 12 --mem-per-cpu=20G spack install -v -j 12 ``` ### Temporary Tödi - + !!! warning "These are only temporary guidelines during the acceptance phase of Alps" - Santis will be the official W&C vcluster but Tödi has to be deployed on the entire Alps system for the acceptance phase. These guidelines are for the ones who have access to Tödi. From b3e1b193584e89eef133be5fef9593ae90f0df02 Mon Sep 17 00:00:00 2001 From: Matthieu Date: Thu, 4 Jul 2024 14:40:42 +0200 Subject: [PATCH 7/7] fix: undo empty commit --- docs/models/icon.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/models/icon.md b/docs/models/icon.md index b4bc4f10..758c8c36 100644 --- a/docs/models/icon.md +++ b/docs/models/icon.md @@ -44,7 +44,7 @@ srun -N 1 -c 12 --mem-per-cpu=20G spack install -v -j 12 ``` ### Temporary Tödi - + !!! warning "These are only temporary guidelines during the acceptance phase of Alps" - Santis will be the official W&C vcluster but Tödi has to be deployed on the entire Alps system for the acceptance phase. These guidelines are for the ones who have access to Tödi.