From 7f3b85d264ad4684f4710c4d7153d97b72ad7de9 Mon Sep 17 00:00:00 2001 From: Guillaume S <gsamson@mercator-ocean.fr> Date: Thu, 9 Mar 2023 17:36:08 +0100 Subject: [PATCH] disable "detect_missing_value" attribute in field_def_nemo-ice.xml for Mercator Belenos & AA HPCs --- sette/BATCH_TEMPLATE/batch-X64_AA_INTEL_OMPI | 3 +++ sette/BATCH_TEMPLATE/batch-X64_BELENOS_INTEL_IMPI | 6 +++++- sette/BATCH_TEMPLATE/batch-X64_BELENOS_INTEL_OMPI | 4 +++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/sette/BATCH_TEMPLATE/batch-X64_AA_INTEL_OMPI b/sette/BATCH_TEMPLATE/batch-X64_AA_INTEL_OMPI index 3a2e37f4..4d6933b8 100644 --- a/sette/BATCH_TEMPLATE/batch-X64_AA_INTEL_OMPI +++ b/sette/BATCH_TEMPLATE/batch-X64_AA_INTEL_OMPI @@ -67,6 +67,9 @@ module list # change to the working directory # cd ${EXE_DIR} + if [[ ${NEW_CONF} =~ "ICE_AGRIF" ]]; then + sed -i'' -e 's/detect_missing_value="true"/detect_missing_value="false"/' field_def_nemo-ice.xml + fi echo Running on host `hostname` echo Time is `date` echo Directory is `pwd` diff --git a/sette/BATCH_TEMPLATE/batch-X64_BELENOS_INTEL_IMPI b/sette/BATCH_TEMPLATE/batch-X64_BELENOS_INTEL_IMPI index d8239fe0..8dc05d97 100644 --- a/sette/BATCH_TEMPLATE/batch-X64_BELENOS_INTEL_IMPI +++ b/sette/BATCH_TEMPLATE/batch-X64_BELENOS_INTEL_IMPI @@ -22,6 +22,8 @@ # Test specific settings. Do not hand edit these lines; the fcm_job.sh script will set these # (via sed operating on this template job file). # +set -x + echo " "; OCORES=NPROCS XCORES=NXIOPROCS @@ -71,7 +73,9 @@ export XIO_HOME=${XIOS_DIR} # change to the working directory # cd $EXE_DIR - + if [[ ${NEW_CONF} =~ "ICE_AGRIF" ]]; then + sed -i'' -e 's/detect_missing_value="true"/detect_missing_value="false"/' field_def_nemo-ice.xml + fi echo Running on host `hostname` echo Time is `date` echo Directory is `pwd` diff --git a/sette/BATCH_TEMPLATE/batch-X64_BELENOS_INTEL_OMPI b/sette/BATCH_TEMPLATE/batch-X64_BELENOS_INTEL_OMPI index cf73cb0c..a5c367bc 100644 --- a/sette/BATCH_TEMPLATE/batch-X64_BELENOS_INTEL_OMPI +++ b/sette/BATCH_TEMPLATE/batch-X64_BELENOS_INTEL_OMPI @@ -14,7 +14,6 @@ ##SBATCH --qos=normal #SBATCH --qos=coper -set -x # Test specific settings. Do not hand edit these lines; the fcm_job.sh script will set these # (via sed operating on this template job file). @@ -74,6 +73,9 @@ export OMPI_F90=ifort # change to the working directory # cd ${EXE_DIR} + if [[ ${NEW_CONF} =~ "ICE_AGRIF" ]]; then + sed -i'' -e 's/detect_missing_value="true"/detect_missing_value="false"/' field_def_nemo-ice.xml + fi echo Running on host `hostname` echo Time is `date` echo Directory is `pwd` -- GitLab