From 5582fe71dfdb122860ca1c5d673ef25f88ba07cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Oriol=20Tint=C3=B3?= <oriol.tinto@lmu.de>
Date: Thu, 26 Oct 2023 12:11:39 +0200
Subject: [PATCH] Deleted hash test and updated icon-nwp with psp-2.6.5 version

---
 examples/01_real-from-ideal+hash.sh     | 22 ----------------------
 spack_repo/packages/icon-nwp/package.py |  4 ++++
 2 files changed, 4 insertions(+), 22 deletions(-)
 delete mode 100755 examples/01_real-from-ideal+hash.sh

diff --git a/examples/01_real-from-ideal+hash.sh b/examples/01_real-from-ideal+hash.sh
deleted file mode 100755
index 67912c8..0000000
--- a/examples/01_real-from-ideal+hash.sh
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/bash
-#######################################################################################################################
-# Variables that are required to define the test case
-EXPID="rfihash"
-ICON_CASE="real-from-ideal"
-# That points to a specific hash in the psp branch.
-ICON_VERSION="68f2b0564c03473c4ddc8eec651298133714b728"
-PLATFORM="LOCAL"
-EXTRA_NAMELIST=""
-EXTRA_CONFIGURATION=""
-
-#######################################################################################################################
-set -euo pipefail
-
-# Get path to the script directory
-SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
-
-# Import the function run_autoicon_example
-source ${SCRIPT_DIR}/example_utils.sh
-
-# Setup and run the experiment
-run_autoicon_example "$EXPID" "$ICON_CASE" "$ICON_VERSION" "$PLATFORM" "${EXTRA_NAMELIST}" "${EXTRA_CONFIGURATION}"
diff --git a/spack_repo/packages/icon-nwp/package.py b/spack_repo/packages/icon-nwp/package.py
index 2464092..a6d0909 100644
--- a/spack_repo/packages/icon-nwp/package.py
+++ b/spack_repo/packages/icon-nwp/package.py
@@ -24,7 +24,11 @@ class IconNwp(Package):
     # version("2.5.0-nwp3", branch="icon-nwp/op-release-2.5.0-nwp3")
     version("2.6.4-nwp3", branch="icon-nwp/op-release-2.6.4-nwp3")
     version("2.6.5-nwp0", branch="icon-nwp/op-release-2.6.5-nwp0")
+    # Rolling version of psp pointing to a branch
     version("psp", branch="icon-nwp/icon-nwp-psp")
+    # PSP 2.6.5 pointing to a commit.
+    version("icon-2.6.5-psp", commit="cb2ccf0ece15da3a27ebba8a3835bed77ffb8be3")
+
     version("plexrt", branch="icon-nwp/icon-nwp-plexrt")
     version("master", branch="master")
 
-- 
GitLab