From 77f732bf8777b7fbca176618eec4a2760ee15426 Mon Sep 17 00:00:00 2001
From: Andrea Valassi <andrea.valassi@cern.ch>
Date: Thu, 18 Jul 2019 14:56:41 +0200
Subject: [PATCH 1/4] Test 8 threads on a 4-vcpu node

---
 cms/digi/cms-digi.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cms/digi/cms-digi.spec b/cms/digi/cms-digi.spec
index 13cc0a5c..955d2d99 100644
--- a/cms/digi/cms-digi.spec
+++ b/cms/digi/cms-digi.spec
@@ -1,7 +1,7 @@
 HEPWL_BMKEXE=cms-digi-bmk.sh
-HEPWL_BMKOPTS="-t 4 -e 1000"
+HEPWL_BMKOPTS="-t 8 -e 1000"
 HEPWL_BMKDIR=cms-digi
 HEPWL_BMKDESCRIPTION="CMS DIGI of ttbar events based on CMSSW_10_2_9"
 HEPWL_DOCKERIMAGENAME=cms-digi-bmk
-HEPWL_DOCKERIMAGETAG=v0.10
+HEPWL_DOCKERIMAGETAG=testv0.10
 HEPWL_CVMFSREPOS=cms.cern.ch
-- 
GitLab


From 25dbcc5959990ade3a00bbce8e2217ec06bb3289 Mon Sep 17 00:00:00 2001
From: Andrea Valassi <andrea.valassi@cern.ch>
Date: Thu, 18 Jul 2019 15:01:31 +0200
Subject: [PATCH 2/4] Explicitly fix 1 copy with 8 threads as a test

---
 cms/digi/cms-digi.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cms/digi/cms-digi.spec b/cms/digi/cms-digi.spec
index 955d2d99..b1f9e8f3 100644
--- a/cms/digi/cms-digi.spec
+++ b/cms/digi/cms-digi.spec
@@ -1,5 +1,5 @@
 HEPWL_BMKEXE=cms-digi-bmk.sh
-HEPWL_BMKOPTS="-t 8 -e 1000"
+HEPWL_BMKOPTS="-n 1 -t 8 -e 1000"
 HEPWL_BMKDIR=cms-digi
 HEPWL_BMKDESCRIPTION="CMS DIGI of ttbar events based on CMSSW_10_2_9"
 HEPWL_DOCKERIMAGENAME=cms-digi-bmk
-- 
GitLab


From ac30134d2880669d74123d7d77d10921cb608c4d Mon Sep 17 00:00:00 2001
From: Andrea Valassi <andrea.valassi@cern.ch>
Date: Thu, 18 Jul 2019 15:09:35 +0200
Subject: [PATCH 3/4] Use only 20 events per thread on 4 threads as default CMS
 digi build (BMK-15)

---
 cms/digi/cms-digi.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cms/digi/cms-digi.spec b/cms/digi/cms-digi.spec
index b1f9e8f3..22f60960 100644
--- a/cms/digi/cms-digi.spec
+++ b/cms/digi/cms-digi.spec
@@ -1,5 +1,5 @@
 HEPWL_BMKEXE=cms-digi-bmk.sh
-HEPWL_BMKOPTS="-n 1 -t 8 -e 1000"
+HEPWL_BMKOPTS="-t 4 -e 20" # NB the input file has only 100 events
 HEPWL_BMKDIR=cms-digi
 HEPWL_BMKDESCRIPTION="CMS DIGI of ttbar events based on CMSSW_10_2_9"
 HEPWL_DOCKERIMAGENAME=cms-digi-bmk
-- 
GitLab


From 5cd72522ff9f786d8fdea6478a2cf0717ff8dbfa Mon Sep 17 00:00:00 2001
From: Andrea Valassi <andrea.valassi@cern.ch>
Date: Thu, 18 Jul 2019 15:11:28 +0200
Subject: [PATCH 4/4] Update to v0.10

---
 cms/digi/cms-digi.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cms/digi/cms-digi.spec b/cms/digi/cms-digi.spec
index 22f60960..a057cb04 100644
--- a/cms/digi/cms-digi.spec
+++ b/cms/digi/cms-digi.spec
@@ -3,5 +3,5 @@ HEPWL_BMKOPTS="-t 4 -e 20" # NB the input file has only 100 events
 HEPWL_BMKDIR=cms-digi
 HEPWL_BMKDESCRIPTION="CMS DIGI of ttbar events based on CMSSW_10_2_9"
 HEPWL_DOCKERIMAGENAME=cms-digi-bmk
-HEPWL_DOCKERIMAGETAG=testv0.10
+HEPWL_DOCKERIMAGETAG=v0.10
 HEPWL_CVMFSREPOS=cms.cern.ch
-- 
GitLab