From 897b59438168ce2261e882b4418816036eaddd27 Mon Sep 17 00:00:00 2001
From: Franck Dary <franck.dary@lis-lab.fr>
Date: Thu, 30 Apr 2020 14:39:00 +0200
Subject: [PATCH] Added append mode to slurm scripts

---
 UD_any/launchBatches.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/UD_any/launchBatches.py b/UD_any/launchBatches.py
index 2ee79cd..8355460 100755
--- a/UD_any/launchBatches.py
+++ b/UD_any/launchBatches.py
@@ -67,6 +67,7 @@ def launchTrainSlurm(mode, expName, arguments, nbHours) :
 #SBATCH --job-name=train:{}
 #SBATCH --output={}.stdout
 #SBATCH --error={}.stderr
+#SBATCH --open-mode=append
 #SBATCH --ntasks=1
 #SBATCH --cpus-per-task=10
 #SBATCH --gres=gpu:1
@@ -130,6 +131,7 @@ def launchEvalSlurm(mode, expName, nbHours) :
 #SBATCH --job-name=eval:{}
 #SBATCH --output={}.stdout
 #SBATCH --error={}.stderr
+#SBATCH --open-mode=append
 #SBATCH --ntasks=1
 #SBATCH --cpus-per-task=10
 #SBATCH --gres=gpu:1
-- 
GitLab