From a0aeaa236116c78453c4fa86fc8562afe4dde46c Mon Sep 17 00:00:00 2001
From: Ignacio Pisso <Ignacio.Pisso@nilu.no>
Date: Sat, 25 Aug 2018 18:19:47 +0200
Subject: [PATCH] fix slurm bugs

---
 Makefile                |  2 +-
 README                  | 27 +++++++++++++++++++++++++--
 gen_batch_jobs_SLURM.sh |  2 +-
 3 files changed, 27 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index 959257c..0744c18 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ run:
 clean:
 	rm -r options* pathnames* output* *.sl *.cl
 cleanSLURM:
-	rm output-prod-cn* error-prod-cn*
+	rm output-*.out error-*.err
 archive_dir := archive_$(shell date "+%y-%m-%d_%H%M%S")
 archive:
 	@echo "archive generated files"
diff --git a/README b/README
index fd70a29..1551a57 100644
--- a/README
+++ b/README
@@ -188,9 +188,32 @@ gen_batch_jobs_SLURM.sh
 run_batch_SLURM.sh
 
 
+./export_flexgen.sh exportA-I _[A-I]
 
-
-
+1 
+ A fwd bin
+ B fwd ncd
+2
+ C bwd
+3
+ D part
+./export_flexgen.sh exportD _D
+./gen_options_all.sh ; ./gen_pathnames.sh ; ./gen_batch_jobs_SLURM.sh
+4
+ E unit ind fwd and bwd
+./export_flexgen.sh exportD _D
+./gen_options_all.sh ; ./gen_pathnames.sh ; ./gen_batch_jobs_SLURM.sh
+
+5
+ F species
+6
+ G nested 
+7
+ H domainfill
+8
+ I init cond
+9 
+ J CBL
 
 
 
diff --git a/gen_batch_jobs_SLURM.sh b/gen_batch_jobs_SLURM.sh
index c8e1925..1adbe0a 100755
--- a/gen_batch_jobs_SLURM.sh
+++ b/gen_batch_jobs_SLURM.sh
@@ -9,7 +9,7 @@
 pathnames_list_default="$(ls -1 pathnames*)"
 OUTPUT=${2:-$pathnames_list_default}
 
-#OUTPUTpwd="$(pwd)"
+OUTPUTpwd="$(pwd)"
 
 FLEXPARTdefault=FLEXPART
 #FLEXPART=FLEXPART_8d70e43
-- 
GitLab