From 2924c228bfe4d784248c49bb8d5afb791432e03c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Oriol=20Tint=C3=B3?= <oriol.tinto@lmu.de>
Date: Mon, 12 Jun 2023 11:11:25 +0200
Subject: [PATCH] Increase stack size in run_icon.sh

---
 templates/common/run_icon.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/templates/common/run_icon.sh b/templates/common/run_icon.sh
index 3215e74..1d7ecc6 100644
--- a/templates/common/run_icon.sh
+++ b/templates/common/run_icon.sh
@@ -22,5 +22,8 @@ spack load --first icon-nwp@%ICON_VERSION%
 # Set environment variable for eccodes-dwd definitions:
 source ${WORKDIR}/eccodes_defs.env
 
+# Increase stack size limit
+ulimit -s unlimited
+
 # Run icon
 srun icon
-- 
GitLab