From ccddaa3317820358dcb53cffc04413df3c6ed69f Mon Sep 17 00:00:00 2001
From: Vakho Tsulaia <vakhtang.tsulaia@cern.ch>
Date: Tue, 25 Jul 2017 02:44:07 +0200
Subject: [PATCH] Corrected the way the SharedReader gets activated
 (ATLASSIM-3297)

---
 AtlasTest/AthenaMPTest/test/AthenaMP_Reco_trf_Test.xml  | 2 +-
 AtlasTest/AthenaMPTest/test/AthenaMP_SimulationTest.xml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/AtlasTest/AthenaMPTest/test/AthenaMP_Reco_trf_Test.xml b/AtlasTest/AthenaMPTest/test/AthenaMP_Reco_trf_Test.xml
index bc6d8039f7d4..3f95f1b9d54b 100644
--- a/AtlasTest/AthenaMPTest/test/AthenaMP_Reco_trf_Test.xml
+++ b/AtlasTest/AthenaMPTest/test/AthenaMP_Reco_trf_Test.xml
@@ -17,7 +17,7 @@
         
         <TEST name="SharedPoolReader" type="script" suite="athenamp">
             <package_atn>AtlasTest/AthenaMPTest</package_atn>
-	    <options_atn>TRF_ECHO=1 ATHENA_PROC_NUMBER=2 Reco_tf.py '--inputRDOFile' '/afs/cern.ch/atlas/project/rig/referencefiles/MC/valid1.110401.PowhegPythia_P2012_ttbar_nonallhad.e3099_s2578/RDO.04919495._000958.pool.root.1' '--outputESDFile' 'ESD.pool.root' '--autoConfiguration' 'everything' '--maxEvents=4' '--preExec' 'from AthenaMP.AthenaMPFlags import jobproperties as jps' 'jps.AthenaMPFlags.Strategy="SharedReader"' 'rec.doTrigger=False'</options_atn>
+	    <options_atn>TRF_ECHO=1 ATHENA_PROC_NUMBER=2 Reco_tf.py '--inputRDOFile' '/afs/cern.ch/atlas/project/rig/referencefiles/MC/valid1.110401.PowhegPythia_P2012_ttbar_nonallhad.e3099_s2578/RDO.04919495._000958.pool.root.1' '--outputESDFile' 'ESD.pool.root' '--autoConfiguration' 'everything' '--maxEvents=4' '--preExec' 'from AthenaMP.AthenaMPFlags import jobproperties as jps' 'jps.AthenaMPFlags.UseSharedReader=True' 'rec.doTrigger=False'</options_atn>
             <timelimit>30</timelimit>
             <author> Vakho Tsulaia </author>
             <mailto> tsulaia@cern.ch  </mailto>
diff --git a/AtlasTest/AthenaMPTest/test/AthenaMP_SimulationTest.xml b/AtlasTest/AthenaMPTest/test/AthenaMP_SimulationTest.xml
index cc42db84b869..95de15f593a7 100644
--- a/AtlasTest/AthenaMPTest/test/AthenaMP_SimulationTest.xml
+++ b/AtlasTest/AthenaMPTest/test/AthenaMP_SimulationTest.xml
@@ -29,7 +29,7 @@
    <TEST name="AtlasG4_tfMP-SharedReader" type="script" suite="AthenaMPSimSharedReader">
       <package_atn>AtlasTest/AthenaMPTest</package_atn>
       <doc>Tests MP simulation in TF with the Shared Reader process</doc>
-      <options_atn>TRF_ECHO=1 ATHENA_PROC_NUMBER=2 AtlasG4_tf.py --inputEVNTFile '/afs/cern.ch/atlas/offline/ProdData/16.6.X/16.6.7.Y/ttbar_muplusjets-pythia6-7000.evgen.pool.root' --outputHITSFile 'HITSMPSimSharedReader.pool.root' --maxEvents '4' --skipEvents '0' --randomSeed '10' --geometryVersion 'ATLAS-R2-2015-03-01-00_VALIDATION' --conditionsTag 'OFLCOND-RUN12-SDR-19' --DataRunNumber '222525' --physicsList 'FTFP_BERT' --postInclude 'PyJobTransforms/UseFrontier.py' 'AtlasG4Tf:G4AtlasTests/postInclude.DCubeTest.py' --preExec 'AtlasG4Tf:simFlags.ReleaseGeoModel=False;from AthenaMP.AthenaMPFlags import jobproperties as jps;jps.AthenaMPFlags.Strategy="SharedReader"'</options_atn>
+      <options_atn>TRF_ECHO=1 ATHENA_PROC_NUMBER=2 AtlasG4_tf.py --inputEVNTFile '/afs/cern.ch/atlas/offline/ProdData/16.6.X/16.6.7.Y/ttbar_muplusjets-pythia6-7000.evgen.pool.root' --outputHITSFile 'HITSMPSimSharedReader.pool.root' --maxEvents '4' --skipEvents '0' --randomSeed '10' --geometryVersion 'ATLAS-R2-2015-03-01-00_VALIDATION' --conditionsTag 'OFLCOND-RUN12-SDR-19' --DataRunNumber '222525' --physicsList 'FTFP_BERT' --postInclude 'PyJobTransforms/UseFrontier.py' 'AtlasG4Tf:G4AtlasTests/postInclude.DCubeTest.py' --preExec 'AtlasG4Tf:simFlags.ReleaseGeoModel=False;from AthenaMP.AthenaMPFlags import jobproperties as jps;jps.AthenaMPFlags.UseSharedReader=True'</options_atn>
       <timelimit>30</timelimit>
       <author>Vakho Tsulaia</author>
       <mailto>tsulaia@cern.ch</mailto>
-- 
GitLab