From fcca99efb9a1b8668f46bd2da47eab9d7f69e8e8 Mon Sep 17 00:00:00 2001
From: "Takumi.Matsunobu" <Takumi.Matsunobu@physik.uni-muenchen.de>
Date: Thu, 24 Aug 2023 09:00:09 +0200
Subject: [PATCH] making directory for putput  in advance

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

diff --git a/templates/common/run_icon.sh b/templates/common/run_icon.sh
index e1335a2..c144fb2 100644
--- a/templates/common/run_icon.sh
+++ b/templates/common/run_icon.sh
@@ -40,4 +40,5 @@ ${ICON_LAUNCH_CMD} icon
 
 # copy namelists to output directory
 OUTPUT_DIR=${WORKDIR}/output/${STARTDATE}/${MEMBER}
+mkdir -p ${OUTPUT_DIR}
 cp *.namelist ${OUTPUT_DIR}
\ No newline at end of file
-- 
GitLab