From 52851683574b0bdb42bcd179ba09b43c37836f62 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Oriol=20Tint=C3=B3?= <oriol.tinto@lmu.de>
Date: Fri, 19 May 2023 14:38:29 +0200
Subject: [PATCH] Versions were mixed. psp didn't have psp and vice-versa.

---
 examples/01_real-from-ideal+psp.sh | 11 ++++++++++-
 examples/01_real-from-ideal.sh     | 10 +---------
 2 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/examples/01_real-from-ideal+psp.sh b/examples/01_real-from-ideal+psp.sh
index 07e6121..1d0bc10 100755
--- a/examples/01_real-from-ideal+psp.sh
+++ b/examples/01_real-from-ideal+psp.sh
@@ -109,12 +109,21 @@ spack:
 icon:
   #build_cmd: "icon-nwp@%ICON.VERSION%% %SPACK.COMPILER%+debug+petsc target=x86_64_v2 ^openmpi+pmi+legacylaunchers schedulers=slurm fabrics=ucx ucx+dc+dm+ib_hw_tm+mlx5_dv+rc+rdmacm+thread_multiple+ud+verbs"
   build_cmd: "icon-nwp@%ICON.VERSION%% %SPACK.COMPILER%+debug target=x86_64_v2 source=dkrz_https"
-  version: 2.6.5-nwp0
+  version: psp
 
 data_management:
   # Where do we put the output files afterwards?
   local_destination_folder: $OUTPUTDIR/
 
+atmosphere_namelist: |
+  nwp_phy_nml:
+    inwp_psp: 1
+    psp_scale: 5.0
+atmosphere_namelist_ideal: |
+  nwp_phy_nml:
+    inwp_psp: 1
+    psp_scale: 5.0
+
 EOF
 
 if [ "$STAGE" -eq 0 ]; then
diff --git a/examples/01_real-from-ideal.sh b/examples/01_real-from-ideal.sh
index 11d47ae..07e6121 100755
--- a/examples/01_real-from-ideal.sh
+++ b/examples/01_real-from-ideal.sh
@@ -109,20 +109,12 @@ spack:
 icon:
   #build_cmd: "icon-nwp@%ICON.VERSION%% %SPACK.COMPILER%+debug+petsc target=x86_64_v2 ^openmpi+pmi+legacylaunchers schedulers=slurm fabrics=ucx ucx+dc+dm+ib_hw_tm+mlx5_dv+rc+rdmacm+thread_multiple+ud+verbs"
   build_cmd: "icon-nwp@%ICON.VERSION%% %SPACK.COMPILER%+debug target=x86_64_v2 source=dkrz_https"
-  version: psp
+  version: 2.6.5-nwp0
 
 data_management:
   # Where do we put the output files afterwards?
   local_destination_folder: $OUTPUTDIR/
 
-atmosphere_namelist: |
-  nwp_phy_nml:
-    inwp_psp: 1
-    psp_scale: 5.0
-atmosphere_namelist_ideal: |
-  nwp_phy_nml:
-    inwp_psp: 1
-    psp_scale: 5.0
 EOF
 
 if [ "$STAGE" -eq 0 ]; then
-- 
GitLab