From 2c227bf8870b65036699bc10bbd7cb5267cb21d3 Mon Sep 17 00:00:00 2001
From: Vakho Tsulaia <vakhtang.tsulaia@cern.ch>
Date: Tue, 2 Jul 2019 07:13:20 +0200
Subject: [PATCH] Implemented new interface to Job Transforms for activating MT
 and MP jobs

As it was described in the How to run multi-core jobs in production
document, we are introducing two command-line options for the job transform:
	--multithreaded
	--multiprocess

As the names suggest, the former is used for running AthenaMT and the latter
for running AthenaMP. The number of threads/processes is taken from a new
ATHENA_CORE_NUMBER environment.

Now, we have two equivalent ways to run a job in AthenaMT
(Reco_tf is used here as an example):

ATHENA_CORE_NUMBER=N Reco_tf.py --multithreaded [Other Options]
Reco_tf.py --athenaopts=--threads=N [Other Options]

Similarly, for running AthenaMP we have two options:

ATHENA_CORE_NUMBER=N Reco_tf.py	--multiprocess [Other Options]
Reco_tf.py --athenaopts=--nprocs=N [Other Options]

We will get a configuration error from the transform if one of the following occurs:

* ATHENA_PROC_NUMBER was not set but either --multiprocess or --multithreaded was provided
* Both --multiprocess and --multithreaded options were provided to the same job
* --multiprocess was used in combination with either --athenaopts=--nprocs=N or --athenaopts=--threads=N
* --multithreaded was used in combination with --athenaopts=--threads=N or --athenaopts=--nprocs=N

By implementing	these changes we declare the old ATHENA_RPOC_NUMBER environment
obsolete. Athena repository has	been cleaned up	from the dependency on this
environment. The only exception is Generator code, which is yet to be migrated.
---
 .../test/AthenaMP_Reco_trf_Test.xml           |  2 +-
 .../test/AthenaMP_SimulationTest.xml          |  8 +--
 .../AthenaCommon/python/AthOptionsParser.py   |  9 ----
 .../BSEventSelector_test_jobOptions_mp.py     |  3 --
 Event/ByteStreamCnvSvc/test/pre_mp.sh         |  2 +-
 .../SCT_Digitization/CMakeLists.txt           |  2 +-
 .../InDetSLHC_Example_TestConfiguration.xml   |  6 +--
 .../test/test_muonrecrtt_jpsi_no_pileup.sh    |  1 -
 .../test/test_muonrecrtt_jpsi_with_pileup.sh  |  4 +-
 .../test/test_muonrecrtt_toroid_off.sh        |  4 +-
 .../test/test_muonrecrtt_ttbar_no_pileup.sh   |  4 +-
 .../test/test_muonrecrtt_ttbar_with_pileup.sh |  4 +-
 .../test/test_muonrecrtt_z_no_pileup.sh       |  4 +-
 .../test/test_muonrecrtt_z_with_pileup.sh     |  4 +-
 .../test/test_muonrecrtt_zprime_no_pileup.sh  |  4 +-
 .../test_muonrecrtt_zprime_with_pileup.sh     |  4 +-
 ...alotopoclustering_fromesd_MT_twoThreads.sh |  2 -
 ...exreco_art_egamma_fromesd_MT_twoThreads.sh |  2 -
 ...cexreco_art_muons_fromesd_MT_twoThreads.sh |  2 -
 ...exreco_art_noalgs_fromesd_MT_twoThreads.sh |  2 -
 ...rt_pflow_and_jets_fromesd_MT_twoThreads.sh |  2 -
 ...cexreco_art_refit_fromesd_MT_twoThreads.sh |  2 -
 ...recexreco_art_tau_fromesd_MT_twoThreads.sh |  2 -
 .../test/RecPerfTests_TestConfiguration.xml   | 20 +++----
 .../egammaValidation/test/test_electron.sh    |  6 +--
 .../test/test_electron_pileup.sh              |  6 +--
 .../egammaValidation/test/test_gamma.sh       |  6 +--
 .../test/test_gamma_pileup.sh                 |  6 +--
 ...st_Digi_tf_mc15_2015_ttbar_no_pileup_MT.sh |  2 -
 ...tf_mc15_2015_ttbar_no_pileup_MT_1thread.sh |  2 -
 ...i_tf_mc15_2015_ttbar_no_pileup_no_ID_MT.sh |  2 -
 .../test/test_MCOverlay_MT_ttbar_1thread.sh   |  2 -
 .../test/test_MCOverlay_MT_ttbar_4threads.sh  |  2 -
 .../test/test_AtlasG4_TTbarSim_MT.sh          |  2 -
 Tools/DirectIOART/generateARTtests.py         |  8 +--
 ...rectioart_athenamp_recotf_with_raw_davs.sh |  6 +--
 ...ectioart_athenamp_recotf_with_raw_https.sh |  6 +--
 ...rectioart_athenamp_recotf_with_raw_root.sh |  6 +--
 ...rectioart_athenamp_recotf_with_rdo_davs.sh |  6 +--
 ...ectioart_athenamp_recotf_with_rdo_https.sh |  6 +--
 ...rectioart_athenamp_recotf_with_rdo_root.sh |  6 +--
 Tools/PyJobTransforms/python/trfArgs.py       |  4 ++
 Tools/PyJobTransforms/python/trfExe.py        | 45 +++++++++++++---
 Tools/PyJobTransforms/python/trfMPTools.py    | 20 ++++---
 Tools/PyJobTransforms/python/trfMTTools.py    | 52 +++++++++++++++++++
 Tools/PyJobTransforms/test/test_trfMPTools.py | 25 +--------
 Tools/PyUtils/python/AthFile/impl.py          |  6 ---
 Tools/PyUtils/python/AthFileLite.py           |  2 -
 ...test_trigindetvalidation_all_ttbar_pu40.sh |  2 -
 ...test_trigindetvalidation_all_ttbar_pu60.sh |  2 -
 ...test_trigindetvalidation_all_ttbar_pu80.sh |  2 -
 ...trigindetvalidation_beamspot_ttbar_pu40.sh |  2 -
 ...tvalidation_beamspot_ttbar_pu40_zfinder.sh |  2 -
 ...tvalidation_beamspot_ttbar_pu80_zfinder.sh |  2 -
 .../test_trigindetvalidation_bjet_ibl_pu40.sh |  2 -
 ...ndetvalidation_bjet_ibl_pu40_2016config.sh |  2 -
 ...igindetvalidation_bjet_ibl_pu40_offline.sh |  2 -
 ...dation_bjet_ibl_pu40_offline_2016config.sh |  2 -
 .../test_trigindetvalidation_bjet_ibl_pu80.sh |  2 -
 ...test_trigindetvalidation_el_jpsiee_pu40.sh |  2 -
 ...rigindetvalidation_el_single_e_7-80_ibl.sh |  2 -
 ...detvalidation_el_single_e_7-80_ibl_pu40.sh |  2 -
 ...ndetvalidation_el_single_e_7-80_larged0.sh |  2 -
 ...tvalidation_el_single_e_7-80_larged0_pu.sh |  2 -
 .../test_trigindetvalidation_el_ttbar_pu40.sh |  2 -
 .../test_trigindetvalidation_el_ttbar_pu80.sh |  2 -
 ...est_trigindetvalidation_el_zee_ibl_pu40.sh |  2 -
 ...indetvalidation_el_zee_ibl_pu40_offline.sh |  2 -
 ...ation_el_zee_ibl_pu40_offline_rzmatcher.sh |  2 -
 ...detvalidation_el_zee_ibl_pu40_rzmatcher.sh |  2 -
 ..._trigindetvalidation_ftk_beamspot_ttbar.sh |  2 -
 ...test_trigindetvalidation_ftk_bjet_ttbar.sh |  2 -
 ...gindetvalidation_ftk_bjet_ttbar_offline.sh |  2 -
 .../test_trigindetvalidation_ftk_mu_ttbar.sh  |  2 -
 ...rigindetvalidation_ftk_mu_ttbar_offline.sh |  2 -
 ...test_trigindetvalidation_ftk_tau_tautau.sh |  2 -
 .../test/test_trigindetvalidation_minbias.sh  |  2 -
 ...est_trigindetvalidation_minbias_offline.sh |  2 -
 .../test_trigindetvalidation_mu_bphys_ibl.sh  |  2 -
 ...rigindetvalidation_mu_single_mu_larged0.sh |  2 -
 ...indetvalidation_mu_single_mu_larged0_pu.sh |  2 -
 ...t_trigindetvalidation_mu_zmumu_ibl_pu40.sh |  2 -
 ...detvalidation_mu_zmumu_ibl_pu40_offline.sh |  2 -
 ...ion_mu_zmumu_ibl_pu40_offline_rzmatcher.sh |  2 -
 ...tvalidation_mu_zmumu_ibl_pu40_rzmatcher.sh |  2 -
 .../test_trigindetvalidation_tau_ibl_pu46.sh  |  2 -
 ...gindetvalidation_tau_ibl_pu46_nodoublet.sh |  2 -
 ...rigindetvalidation_tau_ibl_pu46_offline.sh |  2 -
 ...igindetvalidation_tau_ibl_pu46_roiparam.sh |  2 -
 .../test/trigindetvalidation_cosmic.sh        |  2 -
 .../TrigInDetValidation/utils/template.sh     |  2 -
 91 files changed, 167 insertions(+), 252 deletions(-)
 create mode 100644 Tools/PyJobTransforms/python/trfMTTools.py

diff --git a/AtlasTest/AthenaMPTest/test/AthenaMP_Reco_trf_Test.xml b/AtlasTest/AthenaMPTest/test/AthenaMP_Reco_trf_Test.xml
index 3f95f1b9d54..021666bd5da 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.UseSharedReader=True' 'rec.doTrigger=False'</options_atn>
+	    <options_atn>TRF_ECHO=1 ATHENA_CORE_NUMBER=2 Reco_tf.py --multiprocess '--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 95de15f593a..bab383d6084 100644
--- a/AtlasTest/AthenaMPTest/test/AthenaMP_SimulationTest.xml
+++ b/AtlasTest/AthenaMPTest/test/AthenaMP_SimulationTest.xml
@@ -16,8 +16,8 @@
 
    <TEST name="AtlasG4_tfMP" type="script" suite="AthenaMPSim">
       <package_atn>AtlasTest/AthenaMPTest</package_atn>
-      <doc>Tests MP simulation in TF with ATHENA_PROC_NUMBER</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 'HITSMPSim.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'</options_atn>
+      <doc>Tests MP simulation in TF</doc>
+      <options_atn>TRF_ECHO=1 ATHENA_CORE_NUMBER=2 AtlasG4_tf.py --multiprocess --inputEVNTFile '/afs/cern.ch/atlas/offline/ProdData/16.6.X/16.6.7.Y/ttbar_muplusjets-pythia6-7000.evgen.pool.root' --outputHITSFile 'HITSMPSim.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'</options_atn>
       <timelimit>30</timelimit>
       <author>Vakho Tsulaia</author>
       <mailto>tsulaia@cern.ch</mailto>
@@ -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.UseSharedReader=True'</options_atn>
+      <options_atn>TRF_ECHO=1 ATHENA_CORE_NUMBER=2 AtlasG4_tf.py --multiprocess --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>
@@ -41,7 +41,7 @@
     <TEST name="DigiTfPileUpMP" type="script" suite="AthenaMPDigi">
       <package_atn>AtlasTest/AthenaMPTest</package_atn>
       <doc>Tests MP pile-up digitization</doc>
-      <options_atn>ATHENA_PROC_NUMBER=4 Digi_tf.py @/afs/cern.ch/user/t/tsulaia/public/DigiTfPileUpMP/HitsFile --conditionsTag default:OFLCOND-RUN12-SDR-25 --digiSeedOffset1 170 --digiSeedOffset2 170 --geometryVersion ATLAS-R2-2015-03-01-00 @/afs/cern.ch/user/t/tsulaia/public/DigiTfPileUpMP/HighPtMinbiasHitsFile @/afs/cern.ch/user/t/tsulaia/public/DigiTfPileUpMP/LowPtMinbiasHitsFile --jobNumber 1 --maxEvents 12 --numberOfCavernBkg 0 --numberOfHighPtMinBias 0.12268057 --numberOfLowPtMinBias 39.8773194 --outputRDOFile mc15_2015_ttbar.RDO.pool.root --postExec 'all:CfgMgr.MessageSvc().setError+=["HepMcParticleLink"]' 'HITtoRDO:from AthenaCommon.CfgGetter import getPublicTool;getPublicTool("MergeMcEventCollTool").OnlySaveSignalTruth=True;ToolSvc.LArAutoCorrTotalToolDefault.deltaBunch=1' --postInclude 'default:PyJobTransforms/UseFrontier.py' --pileupFinalBunch 6 --preExec    'all:from AthenaCommon.BeamFlags import jobproperties;jobproperties.Beam.numberOfCollisions.set_Value_and_Lock(20.0);from LArROD.LArRODFlags import larRODFlags;larRODFlags.NumberOfCollisions.set_Value_and_Lock(20);larRODFlags.nSamples.set_Value_and_Lock(4);larRODFlags.doOFCPileupOptimization.set_Value_and_Lock(True);larRODFlags.firstSample.set_Value_and_Lock(0);larRODFlags.useHighestGainAutoCorr.set_Value_and_Lock(True)' --preInclude 'HITtoRDO:Digitization/ForceUseOfPileUpTools.py,SimulationJobOptions/preInclude.PileUpBunchTrainsMC15_2015_25ns_Config1.py,RunDependentSimData/configLumi_run222525_v1.py' --skipEvents 0</options_atn>
+      <options_atn>ATHENA_CORE_NUMBER=4 Digi_tf.py @/afs/cern.ch/user/t/tsulaia/public/DigiTfPileUpMP/HitsFile --multiproces --conditionsTag default:OFLCOND-RUN12-SDR-25 --digiSeedOffset1 170 --digiSeedOffset2 170 --geometryVersion ATLAS-R2-2015-03-01-00 @/afs/cern.ch/user/t/tsulaia/public/DigiTfPileUpMP/HighPtMinbiasHitsFile @/afs/cern.ch/user/t/tsulaia/public/DigiTfPileUpMP/LowPtMinbiasHitsFile --jobNumber 1 --maxEvents 12 --numberOfCavernBkg 0 --numberOfHighPtMinBias 0.12268057 --numberOfLowPtMinBias 39.8773194 --outputRDOFile mc15_2015_ttbar.RDO.pool.root --postExec 'all:CfgMgr.MessageSvc().setError+=["HepMcParticleLink"]' 'HITtoRDO:from AthenaCommon.CfgGetter import getPublicTool;getPublicTool("MergeMcEventCollTool").OnlySaveSignalTruth=True;ToolSvc.LArAutoCorrTotalToolDefault.deltaBunch=1' --postInclude 'default:PyJobTransforms/UseFrontier.py' --pileupFinalBunch 6 --preExec    'all:from AthenaCommon.BeamFlags import jobproperties;jobproperties.Beam.numberOfCollisions.set_Value_and_Lock(20.0);from LArROD.LArRODFlags import larRODFlags;larRODFlags.NumberOfCollisions.set_Value_and_Lock(20);larRODFlags.nSamples.set_Value_and_Lock(4);larRODFlags.doOFCPileupOptimization.set_Value_and_Lock(True);larRODFlags.firstSample.set_Value_and_Lock(0);larRODFlags.useHighestGainAutoCorr.set_Value_and_Lock(True)' --preInclude 'HITtoRDO:Digitization/ForceUseOfPileUpTools.py,SimulationJobOptions/preInclude.PileUpBunchTrainsMC15_2015_25ns_Config1.py,RunDependentSimData/configLumi_run222525_v1.py' --skipEvents 0</options_atn>
       <timelimit>30</timelimit>
       <author>Vakho Tsulaia</author>
       <mailto>tsulaia@cern.ch</mailto>
diff --git a/Control/AthenaCommon/python/AthOptionsParser.py b/Control/AthenaCommon/python/AthOptionsParser.py
index 5b998c9249e..c5c4e0e8472 100644
--- a/Control/AthenaCommon/python/AthOptionsParser.py
+++ b/Control/AthenaCommon/python/AthOptionsParser.py
@@ -433,15 +433,6 @@ def parse(chk_tcmalloc=True):
     # This behavior can be controlled by a flag, if needed
     os.environ['LIBC_FATAL_STDERR_']='1'
 
-    # overwrite nprovs if ATHENA_PROC_NUMBER is set
-    envNProcs = os.getenv('ATHENA_PROC_NUMBER')
-    if envNProcs :
-        envNProcs = int(envNProcs)
-        print ("ATHENA_PROC_NUMBER set to ", envNProcs, " will run by default with --nprocs=", envNProcs)
-        opts.nprocs = envNProcs      # enable AthenaMP if >= 1 or == -1
-        from AthenaCommon.ConcurrencyFlags import jobproperties as jps
-        jps.ConcurrencyFlags.NumProcs = envNProcs
-    
     # for the benefit of PyROOT
     if not opts.display and '-b' not in sys.argv:
         sys.argv = sys.argv[:1] + ['-b'] + sys.argv[1:]
diff --git a/Event/ByteStreamCnvSvc/share/BSEventSelector_test_jobOptions_mp.py b/Event/ByteStreamCnvSvc/share/BSEventSelector_test_jobOptions_mp.py
index 7d11a32eb8a..78e9addee84 100644
--- a/Event/ByteStreamCnvSvc/share/BSEventSelector_test_jobOptions_mp.py
+++ b/Event/ByteStreamCnvSvc/share/BSEventSelector_test_jobOptions_mp.py
@@ -4,9 +4,6 @@
 #
 #==============================================================
 # Input 
-import os 
-os.environ['ATHENA_PROC_NUMBER']='2'
-
 include( "ByteStreamCnvSvc/BSEventStorageEventSelector_jobOptions.py" )
 
 svcMgr.ByteStreamInputSvc.FullFileName = [ "/afs/cern.ch/atlas/offline/test/daq.m4_combined.0020720.extract.L1TT-b00000010._0001.data" ]
diff --git a/Event/ByteStreamCnvSvc/test/pre_mp.sh b/Event/ByteStreamCnvSvc/test/pre_mp.sh
index a7b4ba68951..d37d32a16a8 100644
--- a/Event/ByteStreamCnvSvc/test/pre_mp.sh
+++ b/Event/ByteStreamCnvSvc/test/pre_mp.sh
@@ -1,2 +1,2 @@
-export ATHENA_PROC_NUMBER=2
+export ATHENA_CORE_NUMBER=2
 source ../cmt/setup.sh
diff --git a/InnerDetector/InDetDigitization/SCT_Digitization/CMakeLists.txt b/InnerDetector/InDetDigitization/SCT_Digitization/CMakeLists.txt
index 4b88111403f..48dc3ec8f27 100644
--- a/InnerDetector/InDetDigitization/SCT_Digitization/CMakeLists.txt
+++ b/InnerDetector/InDetDigitization/SCT_Digitization/CMakeLists.txt
@@ -43,7 +43,7 @@ atlas_add_component( SCT_Digitization
                      LINK_LIBRARIES ${ROOT_LIBRARIES} ${Boost_LIBRARIES} ${CLHEP_LIBRARIES} CommissionEvent AthenaBaseComps AthenaKernel PileUpToolsLib Identifier xAODEventInfo GaudiKernel SiDigitization InDetRawData InDetSimEvent HitManagement GeneratorObjects SiPropertiesToolLib InDetIdentifier InDetReadoutGeometry InDetSimData )
 
 atlas_add_test( SCT_DigitizationMT_test
-                SCRIPT Digi_tf.py --inputHITSFile /cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/DigitizationTests/HITS.04919495._001041.pool.root.1 --conditionsTag default:OFLCOND-RUN12-SDR-25 --digiSeedOffset1 170 --digiSeedOffset2 170 --geometryVersion ATLAS-R2-2015-03-01-00 --DataRunNumber 222525 --outputRDOFile mc15_2015_ttbar.RDO.pool.root --preInclude HITtoRDO:SimulationJobOptions/preInclude.SCTOnlyConfig.py,Digitization/ForceUseOfAlgorithms.py --postInclude Digitization/FixDataDependenciesForMT.py --skipEvents 0  --maxEvents 100 --athenaopts '--threads 10'
+                SCRIPT Digi_tf.py --inputHITSFile /cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/DigitizationTests/HITS.04919495._001041.pool.root.1 --conditionsTag default:OFLCOND-RUN12-SDR-25 --digiSeedOffset1 170 --digiSeedOffset2 170 --geometryVersion ATLAS-R2-2015-03-01-00 --DataRunNumber 222525 --outputRDOFile mc15_2015_ttbar.RDO.pool.root --preInclude HITtoRDO:SimulationJobOptions/preInclude.SCTOnlyConfig.py,Digitization/ForceUseOfAlgorithms.py --postInclude Digitization/FixDataDependenciesForMT.py --skipEvents 0  --maxEvents 100 --athenaopts=--threads=10
                 PROPERTIES TIMEOUT 1200
                 ENVIRONMENT THREADS=10 )
 
diff --git a/InnerDetector/InDetExample/InDetSLHC_Example/test/InDetSLHC_Example_TestConfiguration.xml b/InnerDetector/InDetExample/InDetSLHC_Example/test/InDetSLHC_Example_TestConfiguration.xml
index 2ec85742a7f..94c1fb45cf0 100755
--- a/InnerDetector/InDetExample/InDetSLHC_Example/test/InDetSLHC_Example_TestConfiguration.xml
+++ b/InnerDetector/InDetExample/InDetSLHC_Example/test/InDetSLHC_Example_TestConfiguration.xml
@@ -425,7 +425,7 @@
 	    <jobTransformJobName>chainSimsFCalSLHCRTT</jobTransformJobName>
 	    <jobTransformCmd>
 	      xrdcp root://eosatlas.cern.ch//eos/atlas/atlascerngroupdisk/det-slhc/users/oda/EVNTexample/mc12_14TeV.105204.McAtNloJimmy_AUET2CT10_ttbar_allhad.evgen.EVNT.e2238_tid01485091_00/EVNT.01485091._001049.pool.root.1 .
-	      ATHENA_PROC_NUMBER=3 Sim_tf.py --inputEVNTFile=EVNT.01485091._001049.pool.root.1 --outputHITSFile=SLHCtest.sFCal.HITS.pool.root --maxEvents=6 --skipEvents=0 --randomSeed=10 --preInclude='all:InDetSLHC_Example/preInclude.SLHC.py,InDetSLHC_Example/preInclude.NoTRT.py' --geometryVersion=ATLAS-P2-SFCAL-01-00-00_VALIDATION --conditionsTag=OFLCOND-MC15c-SDR-06 --postInclude='all:InDetSLHC_Example/postInclude.SLHC_Setup.py' --postExec 'sim:ToolSvc.ISF_ParticlePositionFilterDynamic.CheckRegion=[1]' --DataRunNumber 240120
+	      ATHENA_CORE_NUMBER=3 Sim_tf.py --multiprocess --inputEVNTFile=EVNT.01485091._001049.pool.root.1 --outputHITSFile=SLHCtest.sFCal.HITS.pool.root --maxEvents=6 --skipEvents=0 --randomSeed=10 --preInclude='all:InDetSLHC_Example/preInclude.SLHC.py,InDetSLHC_Example/preInclude.NoTRT.py' --geometryVersion=ATLAS-P2-SFCAL-01-00-00_VALIDATION --conditionsTag=OFLCOND-MC15c-SDR-06 --postInclude='all:InDetSLHC_Example/postInclude.SLHC_Setup.py' --postExec 'sim:ToolSvc.ISF_ParticlePositionFilterDynamic.CheckRegion=[1]' --DataRunNumber 240120
 	    </jobTransformCmd>
 	    <group>SLHCFCTTransform</group>
 	    <queue>long</queue>
@@ -442,7 +442,7 @@
 	      xrdcp root://eosatlas.cern.ch//eos/atlas/atlascerngroupdisk/det-slhc/users/oda/HITSexample/mc15_14TeV.119995.Pythia8_A2MSTW2008LO_minbias_inelastic_low.simul.HITS.e1133_s2638_tid05646683_00/HITS.05646683._000002.pool.root.1 .;
 	      xrdcp root://eosatlas.cern.ch//eos/atlas/atlascerngroupdisk/det-slhc/users/oda/HITSexample/mc15_14TeV.119995.Pythia8_A2MSTW2008LO_minbias_inelastic_low.simul.HITS.e1133_s2638_tid05646683_00/HITS.05646683._000003.pool.root.1 .;
 	      xrdcp root://eosatlas.cern.ch//eos/atlas/atlascerngroupdisk/det-slhc/users/oda/HITSexample/mc15_14TeV.119996.Pythia8_A2MSTW2008LO_minbias_inelastic_high.simul.HITS.e1133_s2638_tid05646691_00/HITS.05646691._000001.pool.root.1 .;
-              ATHENA_PROC_NUMBER=3 Digi_tf.py --inputHITSFile SLHCtest.sFCal.HITS.pool.root --outputRDOFile SLHCtest.sFCal.RDO.pool.root --LowPtMinbiasHitsFile HITS.05646683._00000[1,2,3].pool.root.1 --numberOfLowPtMinBias 199.3040 --HighPtMinbiasHitsFile HITS.05646691._000001.pool.root.1 --numberOfHighPtMinBias 0.69064 --conditionsTag OFLCOND-MC15c-SDR-06 --geometryVersion ATLAS-P2-SFCAL-01-00-00 --DataRunNumber 240120 --pileupFinalBunch 6 --preInclude 'all:InDetSLHC_Example/preInclude.SLHC.py,InDetSLHC_Example/preInclude.NoTRT.py' 'HITtoRDO:Digitization/ForceUseOfPileUpTools.py,SimulationJobOptions/preInclude.PileUpBunchTrains2012Config1_DigitConfig.py,RunDependentSimData/configLumi_user.py' --postInclude 'all:PyJobTransforms/UseFrontier.py,InDetSLHC_Example/postInclude.SLHC_Setup.py' 'HITtoRDO:InDetSLHC_Example/postInclude.SLHC_Digitization_lowthresh.py' --preExec 'HITtoRDO:from AthenaCommon.BeamFlags import jobproperties; jobproperties.Beam.bunchSpacing=25;from LArROD.LArRODFlags import larRODFlags; larRODFlags.doOFCPileupOptimization.set_Value_and_Lock(True);larRODFlags.NumberOfCollisions.set_Value_and_Lock(200);from CaloTools.CaloNoiseFlags import jobproperties;jobproperties.CaloNoiseFlags.FixedLuminosity.set_Value_and_Lock(200.0*1.45/8*50/25);rec.doTrigger.set_Value_and_Lock(False);userRunLumiOverride={"run":240120, "lb":1, "starttstamp":1410120000, "mu":200.0};from Digitization.DigitizationFlags import digitizationFlags;digitizationFlags.overrideMetadata+=["SimLayout","PhysicsList"];digitizationFlags.doInDetNoise.set_Value_and_Lock(False)' --postExec 'HITtoRDO:mergeMcEventCollTool=job.StandardPileUpToolsAlg.PileUpTools["MergeMcEventCollTool"];mergeMcEventCollTool.FirstXing=0;mergeMcEventCollTool.LastXing=0;mergeMcEventCollTool.DoSlimming=False;pixeldigi.EnableSpecialPixels=False;CfgMgr.MessageSvc().setError+=["HepMcParticleLink"];conddb.addOverride("/LAR/Identifier/OnOffIdMap","LARIdentifierOnOffIdMap-SFCAL-000");conddb.addOverride("/LAR/Identifier/CalibIdMap","LARIdentifierCalibIdMap-SFCAL-000")' --skipEvents 0 --maxEvents 2 --digiSeedOffset1 50100 --digiSeedOffset2 50122 --jobNumber 123 --ignorePatterns 'ALL ,LArTTCellMap , ERROR .*'
+              ATHENA_CORE_NUMBER=3 Digi_tf.py --multiprocess --inputHITSFile SLHCtest.sFCal.HITS.pool.root --outputRDOFile SLHCtest.sFCal.RDO.pool.root --LowPtMinbiasHitsFile HITS.05646683._00000[1,2,3].pool.root.1 --numberOfLowPtMinBias 199.3040 --HighPtMinbiasHitsFile HITS.05646691._000001.pool.root.1 --numberOfHighPtMinBias 0.69064 --conditionsTag OFLCOND-MC15c-SDR-06 --geometryVersion ATLAS-P2-SFCAL-01-00-00 --DataRunNumber 240120 --pileupFinalBunch 6 --preInclude 'all:InDetSLHC_Example/preInclude.SLHC.py,InDetSLHC_Example/preInclude.NoTRT.py' 'HITtoRDO:Digitization/ForceUseOfPileUpTools.py,SimulationJobOptions/preInclude.PileUpBunchTrains2012Config1_DigitConfig.py,RunDependentSimData/configLumi_user.py' --postInclude 'all:PyJobTransforms/UseFrontier.py,InDetSLHC_Example/postInclude.SLHC_Setup.py' 'HITtoRDO:InDetSLHC_Example/postInclude.SLHC_Digitization_lowthresh.py' --preExec 'HITtoRDO:from AthenaCommon.BeamFlags import jobproperties; jobproperties.Beam.bunchSpacing=25;from LArROD.LArRODFlags import larRODFlags; larRODFlags.doOFCPileupOptimization.set_Value_and_Lock(True);larRODFlags.NumberOfCollisions.set_Value_and_Lock(200);from CaloTools.CaloNoiseFlags import jobproperties;jobproperties.CaloNoiseFlags.FixedLuminosity.set_Value_and_Lock(200.0*1.45/8*50/25);rec.doTrigger.set_Value_and_Lock(False);userRunLumiOverride={"run":240120, "lb":1, "starttstamp":1410120000, "mu":200.0};from Digitization.DigitizationFlags import digitizationFlags;digitizationFlags.overrideMetadata+=["SimLayout","PhysicsList"];digitizationFlags.doInDetNoise.set_Value_and_Lock(False)' --postExec 'HITtoRDO:mergeMcEventCollTool=job.StandardPileUpToolsAlg.PileUpTools["MergeMcEventCollTool"];mergeMcEventCollTool.FirstXing=0;mergeMcEventCollTool.LastXing=0;mergeMcEventCollTool.DoSlimming=False;pixeldigi.EnableSpecialPixels=False;CfgMgr.MessageSvc().setError+=["HepMcParticleLink"];conddb.addOverride("/LAR/Identifier/OnOffIdMap","LARIdentifierOnOffIdMap-SFCAL-000");conddb.addOverride("/LAR/Identifier/CalibIdMap","LARIdentifierCalibIdMap-SFCAL-000")' --skipEvents 0 --maxEvents 2 --digiSeedOffset1 50100 --digiSeedOffset2 50122 --jobNumber 123 --ignorePatterns 'ALL ,LArTTCellMap , ERROR .*'
 	    </jobTransformCmd>
 	    <group>SLHCFCTTransform</group>
 	    <chaindataset_info>
@@ -463,7 +463,7 @@
 	    <doc>SLHCReconstruction</doc>
 	    <jobTransformJobName>chainRecosFCalSLHCRTT</jobTransformJobName>
 	    <jobTransformCmd>
-	      ATHENA_PROC_NUMBER=3 Reco_tf.py --inputRDOFile SLHCtest.sFCal.RDO.pool.root --outputESDFile SLHCtest.sFCal.ESD.pool.root --outputAODFile SLHCtest.sFCal.AOD.pool.root --geometryVersion 'all:ATLAS-P2-SFCAL-01-00-00' --conditionsTag 'all:OFLCOND-MC15c-SDR-06' --preInclude 'all:InDetSLHC_Example/preInclude.SLHC.NoTRT.Reco.py' --postInclude 'all:PyJobTransforms/UseFrontier.py,InDetSLHC_Example/postInclude.SLHC_Setup.py' 'RAWtoESD:InDetSLHC_Example/postInclude.DigitalClustering.py' --preExec 'all:from CaloTools.CaloNoiseFlags import jobproperties; jobproperties.CaloNoiseFlags.FixedLuminosity.set_Value_and_Lock(200.0*1.45/8*50/25)' --postExec 'all:from IOVDbSvc.CondDB import conddb;conddb.addOverride("/LAR/Identifier/OnOffIdMap","LARIdentifierOnOffIdMap-SFCAL-000");conddb.addOverride("/LAR/Identifier/CalibIdMap","LARIdentifierCalibIdMap-SFCAL-000")' 'RAWtoESD:xAODMaker__xAODTruthCnvAlg("GEN_AOD2xAOD",WriteInTimePileUpTruth=True)' --ignorePatterns 'ALL ,LArTTCellMap , ERROR .*'
+	      ATHENA_CORE_NUMBER=3 Reco_tf.py --multiprocess --inputRDOFile SLHCtest.sFCal.RDO.pool.root --outputESDFile SLHCtest.sFCal.ESD.pool.root --outputAODFile SLHCtest.sFCal.AOD.pool.root --geometryVersion 'all:ATLAS-P2-SFCAL-01-00-00' --conditionsTag 'all:OFLCOND-MC15c-SDR-06' --preInclude 'all:InDetSLHC_Example/preInclude.SLHC.NoTRT.Reco.py' --postInclude 'all:PyJobTransforms/UseFrontier.py,InDetSLHC_Example/postInclude.SLHC_Setup.py' 'RAWtoESD:InDetSLHC_Example/postInclude.DigitalClustering.py' --preExec 'all:from CaloTools.CaloNoiseFlags import jobproperties; jobproperties.CaloNoiseFlags.FixedLuminosity.set_Value_and_Lock(200.0*1.45/8*50/25)' --postExec 'all:from IOVDbSvc.CondDB import conddb;conddb.addOverride("/LAR/Identifier/OnOffIdMap","LARIdentifierOnOffIdMap-SFCAL-000");conddb.addOverride("/LAR/Identifier/CalibIdMap","LARIdentifierCalibIdMap-SFCAL-000")' 'RAWtoESD:xAODMaker__xAODTruthCnvAlg("GEN_AOD2xAOD",WriteInTimePileUpTruth=True)' --ignorePatterns 'ALL ,LArTTCellMap , ERROR .*'
 	    </jobTransformCmd>
 	    <group>SLHCFCTTransform</group>
 	    <chaindataset_info>
diff --git a/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonRecRTT/test/test_muonrecrtt_jpsi_no_pileup.sh b/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonRecRTT/test/test_muonrecrtt_jpsi_no_pileup.sh
index d7f7dc729df..0c784b48991 100755
--- a/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonRecRTT/test/test_muonrecrtt_jpsi_no_pileup.sh
+++ b/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonRecRTT/test/test_muonrecrtt_jpsi_no_pileup.sh
@@ -44,7 +44,6 @@ case $ArtProcess in
      infile="../${file[${ArtProcess}]}"
      echo "Processing files: " ${infile}
      unset  ATHENA_NUM_PROC
-     unset  ATHENA_PROC_NUMBER
 
      Reco_tf.py --maxEvents=-1 --inputRDOFile=${infile} --outputAODFile=valid1.424100.Pythia8B_A14_CTEQ6L1_Jpsimu4mu4_no_pileup.AOD.pool.root $ValOption  --preExec 'from RecExConfig.RecFlags  import rec; rec.doTrigger=False; import MuonCombinedRecExample.MuonCombinedRecOnlySetup' --postExec 'r2e:topSequence.BeamBackgroundFiller.Enable = False'
 
diff --git a/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonRecRTT/test/test_muonrecrtt_jpsi_with_pileup.sh b/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonRecRTT/test/test_muonrecrtt_jpsi_with_pileup.sh
index 2567d52e293..5b7d354b165 100755
--- a/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonRecRTT/test/test_muonrecrtt_jpsi_with_pileup.sh
+++ b/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonRecRTT/test/test_muonrecrtt_jpsi_with_pileup.sh
@@ -44,8 +44,6 @@ case $ArtProcess in
      infile="../${file[${ArtProcess}]}"
      echo "Processing files: " ${infile}
      unset  ATHENA_NUM_PROC
-     unset  ATHENA_PROC_NUMBER
-
 
      Reco_tf.py --maxEvents=-1 --inputRDOFile=${infile} --outputAODFile=valid1.424100.Pythia8B_A14_CTEQ6L1_Jpsimu4mu4_with_pileup.AOD.pool.root $ValOption --preExec 'from RecExConfig.RecFlags  import rec; rec.doTrigger=False; import MuonCombinedRecExample.MuonCombinedRecOnlySetup' --postExec 'r2e:topSequence.BeamBackgroundFiller.Enable = False'
 
@@ -54,4 +52,4 @@ case $ArtProcess in
      rm -f tmp.ESD
      rm -f core.*
      ;;
-esac
\ No newline at end of file
+esac
diff --git a/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonRecRTT/test/test_muonrecrtt_toroid_off.sh b/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonRecRTT/test/test_muonrecrtt_toroid_off.sh
index 3ab060c1c5a..9f5389794de 100755
--- a/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonRecRTT/test/test_muonrecrtt_toroid_off.sh
+++ b/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonRecRTT/test/test_muonrecrtt_toroid_off.sh
@@ -30,8 +30,6 @@ case $ArtProcess in
      infile="../${file[${ArtProcess}]}"
      echo "Processing files: " ${infile}
      unset  ATHENA_NUM_PROC
-     unset  ATHENA_PROC_NUMBER
-
 
      Reco_tf.py --maxEvents=-1 --conditionsTag RAWtoESD:CONDBR2-BLKPA-2017-12 --geometryVersion ATLAS-R2-2016-01-00-01 --inputBSFile=${infile} --outputAODFile=MuonToroidOff_Reco.AOD.pool.root --preExec 'from RecExConfig.RecFlags  import rec; rec.doTrigger=False; import MuonCombinedRecExample.MuonCombinedRecOnlySetup' --postExec 'r2e:topSequence.BeamBackgroundFiller.Enable = False'
 
@@ -40,4 +38,4 @@ case $ArtProcess in
      rm -f tmp.ESD
      rm -f core.*
      ;;
-esac
\ No newline at end of file
+esac
diff --git a/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonRecRTT/test/test_muonrecrtt_ttbar_no_pileup.sh b/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonRecRTT/test/test_muonrecrtt_ttbar_no_pileup.sh
index 9182b6a23ea..6a4d002b8ca 100755
--- a/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonRecRTT/test/test_muonrecrtt_ttbar_no_pileup.sh
+++ b/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonRecRTT/test/test_muonrecrtt_ttbar_no_pileup.sh
@@ -44,8 +44,6 @@ case $ArtProcess in
      infile="../${file[${ArtProcess}]}"
      echo "Processing files: " ${infile}
      unset  ATHENA_NUM_PROC
-     unset  ATHENA_PROC_NUMBER
-
 
      Reco_tf.py --maxEvents=-1 --inputRDOFile=${infile} --outputAODFile=valid1.410000.PowhegPythiaEvtGen_P2012_ttbar_hdamp172p5_nonallhad_no_pileup.AOD.pool.root $ValOption --preExec 'from RecExConfig.RecFlags  import rec; rec.doTrigger=False; import MuonCombinedRecExample.MuonCombinedRecOnlySetup' --postExec 'r2e:topSequence.BeamBackgroundFiller.Enable = False'
 
@@ -54,4 +52,4 @@ case $ArtProcess in
      rm -f tmp.ESD
      rm -f core.*
      ;;
-esac
\ No newline at end of file
+esac
diff --git a/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonRecRTT/test/test_muonrecrtt_ttbar_with_pileup.sh b/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonRecRTT/test/test_muonrecrtt_ttbar_with_pileup.sh
index 5ef869ec578..aa5ce3cf2f3 100755
--- a/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonRecRTT/test/test_muonrecrtt_ttbar_with_pileup.sh
+++ b/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonRecRTT/test/test_muonrecrtt_ttbar_with_pileup.sh
@@ -44,8 +44,6 @@ case $ArtProcess in
      infile="../${file[${ArtProcess}]}"
      echo "Processing files: " ${infile}
      unset  ATHENA_NUM_PROC
-     unset  ATHENA_PROC_NUMBER
-
 
      Reco_tf.py --maxEvents=-1 --inputRDOFile=${infile} --outputAODFile=valid1.410000.PowhegPythiaEvtGen_P2012_ttbar_hdamp172p5_nonallhad_with_pileup.AOD.pool.root $ValOption --preExec 'from RecExConfig.RecFlags  import rec; rec.doTrigger=False; import MuonCombinedRecExample.MuonCombinedRecOnlySetup' --postExec 'r2e:topSequence.BeamBackgroundFiller.Enable = False'
 
@@ -54,4 +52,4 @@ case $ArtProcess in
      rm -f tmp.ESD
      rm -f core.*
      ;;
-esac
\ No newline at end of file
+esac
diff --git a/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonRecRTT/test/test_muonrecrtt_z_no_pileup.sh b/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonRecRTT/test/test_muonrecrtt_z_no_pileup.sh
index 5c70d2ebd97..8efcae62a6a 100755
--- a/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonRecRTT/test/test_muonrecrtt_z_no_pileup.sh
+++ b/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonRecRTT/test/test_muonrecrtt_z_no_pileup.sh
@@ -44,8 +44,6 @@ case $ArtProcess in
      infile="../${file[${ArtProcess}]}"
      echo "Processing files: " ${infile}
      unset  ATHENA_NUM_PROC
-     unset  ATHENA_PROC_NUMBER
-
 
      Reco_tf.py --maxEvents=-1 --inputRDOFile=${infile} --outputAODFile=valid1.361107.PowhegPythia8EvtGen_AZNLOCTEQ6L1_Zmumu_no_pileup.AOD.pool.root     $ValOption  --preExec 'from RecExConfig.RecFlags  import rec; rec.doTrigger=False; import MuonCombinedRecExample.MuonCombinedRecOnlySetup' --postExec 'r2e:topSequence.BeamBackgroundFiller.Enable = False'
 
@@ -54,4 +52,4 @@ case $ArtProcess in
      rm -f tmp.ESD
      rm -f core.*
      ;;
-esac
\ No newline at end of file
+esac
diff --git a/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonRecRTT/test/test_muonrecrtt_z_with_pileup.sh b/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonRecRTT/test/test_muonrecrtt_z_with_pileup.sh
index bf4dbc4595c..83c435527fb 100755
--- a/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonRecRTT/test/test_muonrecrtt_z_with_pileup.sh
+++ b/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonRecRTT/test/test_muonrecrtt_z_with_pileup.sh
@@ -44,8 +44,6 @@ case $ArtProcess in
      infile="../${file[${ArtProcess}]}"
      echo "Processing files: " ${infile}
      unset  ATHENA_NUM_PROC
-     unset  ATHENA_PROC_NUMBER
-
 
      Reco_tf.py --maxEvents=-1 --inputRDOFile=${infile} --outputAODFile=valid1.361107.PowhegPythia8EvtGen_AZNLOCTEQ6L1_Zmumu_with_pileup.AOD.pool.root $ValOption --preExec 'from RecExConfig.RecFlags  import rec; rec.doTrigger=False; import MuonCombinedRecExample.MuonCombinedRecOnlySetup' --postExec 'r2e:topSequence.BeamBackgroundFiller.Enable = False'
 
@@ -54,4 +52,4 @@ case $ArtProcess in
      rm -f tmp.ESD
      rm -f core.*
      ;;
-esac
\ No newline at end of file
+esac
diff --git a/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonRecRTT/test/test_muonrecrtt_zprime_no_pileup.sh b/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonRecRTT/test/test_muonrecrtt_zprime_no_pileup.sh
index d51bd4bf175..bc67a9f769b 100755
--- a/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonRecRTT/test/test_muonrecrtt_zprime_no_pileup.sh
+++ b/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonRecRTT/test/test_muonrecrtt_zprime_no_pileup.sh
@@ -44,8 +44,6 @@ case $ArtProcess in
      infile="../${file[${ArtProcess}]}"
      echo "Processing files: " ${infile}
      unset  ATHENA_NUM_PROC
-     unset  ATHENA_PROC_NUMBER
-
 
      Reco_tf.py --maxEvents=-1 --inputRDOFile=${infile} --outputAODFile=valid1.361405.Sherpa_CT10_Zmumu_Pt280_500_CVetoBVeto_no_pileup.AOD.pool.root $ValOption --preExec 'from RecExConfig.RecFlags  import rec; rec.doTrigger=False; import MuonCombinedRecExample.MuonCombinedRecOnlySetup' --postExec 'r2e:topSequence.BeamBackgroundFiller.Enable = False'
 
@@ -54,4 +52,4 @@ case $ArtProcess in
      rm -f tmp.ESD
      rm -f core.*
      ;;
-esac
\ No newline at end of file
+esac
diff --git a/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonRecRTT/test/test_muonrecrtt_zprime_with_pileup.sh b/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonRecRTT/test/test_muonrecrtt_zprime_with_pileup.sh
index b7cd7f90821..8c631aa4e95 100755
--- a/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonRecRTT/test/test_muonrecrtt_zprime_with_pileup.sh
+++ b/MuonSpectrometer/MuonValidation/MuonRecValidation/MuonRecRTT/test/test_muonrecrtt_zprime_with_pileup.sh
@@ -44,8 +44,6 @@ case $ArtProcess in
      infile="../${file[${ArtProcess}]}"
      echo "Processing files: " ${infile}
      unset  ATHENA_NUM_PROC
-     unset  ATHENA_PROC_NUMBER
-
 
      Reco_tf.py --maxEvents=-1 --inputRDOFile=${infile} --outputAODFile=valid1.361405.Sherpa_CT10_Zmumu_Pt280_500_CVetoBVeto_with_pileup.AOD.pool.root $ValOption --preExec 'from RecExConfig.RecFlags  import rec; rec.doTrigger=False; import MuonCombinedRecExample.MuonCombinedRecOnlySetup' --postExec 'r2e:topSequence.BeamBackgroundFiller.Enable = False'
 
@@ -54,4 +52,4 @@ case $ArtProcess in
      rm -f tmp.ESD
      rm -f core.*
      ;;
-esac
\ No newline at end of file
+esac
diff --git a/Reconstruction/RecExample/RecExRecoTest/test/test_recexreco_art_calotopoclustering_fromesd_MT_twoThreads.sh b/Reconstruction/RecExample/RecExRecoTest/test/test_recexreco_art_calotopoclustering_fromesd_MT_twoThreads.sh
index 38ec96309d7..a8ecf64cc95 100755
--- a/Reconstruction/RecExample/RecExRecoTest/test/test_recexreco_art_calotopoclustering_fromesd_MT_twoThreads.sh
+++ b/Reconstruction/RecExample/RecExRecoTest/test/test_recexreco_art_calotopoclustering_fromesd_MT_twoThreads.sh
@@ -5,8 +5,6 @@
 # art-include: master/Athena
 # art-athena-mt: 4
 
-unset ATHENA_PROC_NUMBER
-    
 art.py createpoolfile
 
 athena --threads=2 RecExRecoTest/RecExRecoTest_ART_caloTopoClustering_fromESD.py | tee temp.log
diff --git a/Reconstruction/RecExample/RecExRecoTest/test/test_recexreco_art_egamma_fromesd_MT_twoThreads.sh b/Reconstruction/RecExample/RecExRecoTest/test/test_recexreco_art_egamma_fromesd_MT_twoThreads.sh
index 458d1518c42..f5f9300bd3e 100755
--- a/Reconstruction/RecExample/RecExRecoTest/test/test_recexreco_art_egamma_fromesd_MT_twoThreads.sh
+++ b/Reconstruction/RecExample/RecExRecoTest/test/test_recexreco_art_egamma_fromesd_MT_twoThreads.sh
@@ -5,8 +5,6 @@
 # art-include: master/Athena
 # art-athena-mt: 4
 
-unset ATHENA_PROC_NUMBER
-
 art.py createpoolfile
 
 athena --threads=2 RecExRecoTest/RecExRecoTest_ART_egamma_fromESD.py | tee temp.log
diff --git a/Reconstruction/RecExample/RecExRecoTest/test/test_recexreco_art_muons_fromesd_MT_twoThreads.sh b/Reconstruction/RecExample/RecExRecoTest/test/test_recexreco_art_muons_fromesd_MT_twoThreads.sh
index ba27b66ffb1..ff2699dcc68 100755
--- a/Reconstruction/RecExample/RecExRecoTest/test/test_recexreco_art_muons_fromesd_MT_twoThreads.sh
+++ b/Reconstruction/RecExample/RecExRecoTest/test/test_recexreco_art_muons_fromesd_MT_twoThreads.sh
@@ -5,8 +5,6 @@
 # art-include: master/Athena
 # art-athena-mt: 4
 
-unset ATHENA_PROC_NUMBER
-
 art.py createpoolfile
 
 athena --threads=2 RecExRecoTest/RecExRecoTest_ART_muons_fromESD.py | tee temp.log
diff --git a/Reconstruction/RecExample/RecExRecoTest/test/test_recexreco_art_noalgs_fromesd_MT_twoThreads.sh b/Reconstruction/RecExample/RecExRecoTest/test/test_recexreco_art_noalgs_fromesd_MT_twoThreads.sh
index 6dfc925cc96..cc2cfce1a15 100755
--- a/Reconstruction/RecExample/RecExRecoTest/test/test_recexreco_art_noalgs_fromesd_MT_twoThreads.sh
+++ b/Reconstruction/RecExample/RecExRecoTest/test/test_recexreco_art_noalgs_fromesd_MT_twoThreads.sh
@@ -5,8 +5,6 @@
 # art-include: master/Athena
 # art-athena-mt: 4
 
-unset ATHENA_PROC_NUMBER
-
 art.py createpoolfile
 
 athena --threads=2 RecExRecoTest/RecExRecoTest_ART_noAlgs_fromESD.py | tee temp.log
diff --git a/Reconstruction/RecExample/RecExRecoTest/test/test_recexreco_art_pflow_and_jets_fromesd_MT_twoThreads.sh b/Reconstruction/RecExample/RecExRecoTest/test/test_recexreco_art_pflow_and_jets_fromesd_MT_twoThreads.sh
index c403419ec4b..4b5a02f8d74 100755
--- a/Reconstruction/RecExample/RecExRecoTest/test/test_recexreco_art_pflow_and_jets_fromesd_MT_twoThreads.sh
+++ b/Reconstruction/RecExample/RecExRecoTest/test/test_recexreco_art_pflow_and_jets_fromesd_MT_twoThreads.sh
@@ -5,8 +5,6 @@
 # art-include: master/Athena
 # art-athena-mt: 4
 
-unset ATHENA_PROC_NUMBER
-
 art.py createpoolfile
 
 athena --threads=2 eflowRec/run_ESDStandardReco.py | tee temp.log
diff --git a/Reconstruction/RecExample/RecExRecoTest/test/test_recexreco_art_refit_fromesd_MT_twoThreads.sh b/Reconstruction/RecExample/RecExRecoTest/test/test_recexreco_art_refit_fromesd_MT_twoThreads.sh
index 69f27e355eb..8863efa4f1e 100755
--- a/Reconstruction/RecExample/RecExRecoTest/test/test_recexreco_art_refit_fromesd_MT_twoThreads.sh
+++ b/Reconstruction/RecExample/RecExRecoTest/test/test_recexreco_art_refit_fromesd_MT_twoThreads.sh
@@ -5,8 +5,6 @@
 # art-include: master/Athena
 # art-athena-mt: 4
 
-unset ATHENA_PROC_NUMBER
-
 athena --threads=2 RecExRecoTest/RecExRecoTest_ART_refit_fromESD.py | tee temp.log
 echo "art-result: ${PIPESTATUS[0]}"
 
diff --git a/Reconstruction/RecExample/RecExRecoTest/test/test_recexreco_art_tau_fromesd_MT_twoThreads.sh b/Reconstruction/RecExample/RecExRecoTest/test/test_recexreco_art_tau_fromesd_MT_twoThreads.sh
index 297d2c6e9d8..e34b75dbe93 100755
--- a/Reconstruction/RecExample/RecExRecoTest/test/test_recexreco_art_tau_fromesd_MT_twoThreads.sh
+++ b/Reconstruction/RecExample/RecExRecoTest/test/test_recexreco_art_tau_fromesd_MT_twoThreads.sh
@@ -5,8 +5,6 @@
 # art-include: master/Athena
 # art-athena-mt: 4
 
-unset ATHENA_PROC_NUMBER
-
 art.py createpoolfile
 
 athena --threads=2 tauRec/run_tau_standalone.py | tee temp.log
diff --git a/Reconstruction/RecExample/RecPerfTests/test/RecPerfTests_TestConfiguration.xml b/Reconstruction/RecExample/RecPerfTests/test/RecPerfTests_TestConfiguration.xml
index 65fcf353a9e..7b913fb194b 100644
--- a/Reconstruction/RecExample/RecPerfTests/test/RecPerfTests_TestConfiguration.xml
+++ b/Reconstruction/RecExample/RecPerfTests/test/RecPerfTests_TestConfiguration.xml
@@ -287,8 +287,8 @@
 	<doc>Reco_tf runs on 13TeV collision data from the mainxf stream</doc>
 	<jobTransformJobName>mp_monitoring_reco_data15_main</jobTransformJobName>
 	<jobTransformCmd>
-	  export ATHENA_PROC_NUMBER=4
-	  export TRF_ECHO=1; xrdcp root://eosatlas.cern.ch//eos/atlas/user/a/atlaspmb/data15_13TeV/data15_13TeV.00284484.physics_Main.daq.RAW._lb0037._SFO-1._0001.data data15_13TeV.00284484.physics_Main.daq.RAW._lb0037._SFO-1._0001.data ;  Reco_tf.py --inputBSFile data15_13TeV.00284484.physics_Main.daq.RAW._lb0037._SFO-1._0001.data  --outputESDFile myESD.pool.root --outputAODFile myAOD.pool.root --AMI q431 --maxEvent 150 --athenaopts='--pmon=sdmonfp' --ignoreErrors 'True' | tee  __log.txt; 
+	  export ATHENA_CORE_NUMBER=4
+	  export TRF_ECHO=1; xrdcp root://eosatlas.cern.ch//eos/atlas/user/a/atlaspmb/data15_13TeV/data15_13TeV.00284484.physics_Main.daq.RAW._lb0037._SFO-1._0001.data data15_13TeV.00284484.physics_Main.daq.RAW._lb0037._SFO-1._0001.data ;  Reco_tf.py --multiprocess --inputBSFile data15_13TeV.00284484.physics_Main.daq.RAW._lb0037._SFO-1._0001.data  --outputESDFile myESD.pool.root --outputAODFile myAOD.pool.root --AMI q431 --maxEvent 150 --athenaopts='--pmon=sdmonfp' --ignoreErrors 'True' | tee  __log.txt; 
 	  echo $? &gt;  __exitcode ; 
 	  touch __done ;
 	  grep  -i "Reco_tf" jobReport.txt  | head -n1 | awk -F\" '{print $2}' &gt; __command.sh;
@@ -313,8 +313,8 @@
 	<doc>Reco_tf runs on 13TeV collision data from the mainxf stream</doc>
 	<jobTransformJobName>mp8_monitoring_reco_data15_main</jobTransformJobName>
 	<jobTransformCmd>
-	  export ATHENA_PROC_NUMBER=8
-	  export TRF_ECHO=1; xrdcp root://eosatlas.cern.ch//eos/atlas/user/a/atlaspmb/data15_13TeV/data15_13TeV.00284484.physics_Main.daq.RAW._lb0037._SFO-1._0001.data data15_13TeV.00284484.physics_Main.daq.RAW._lb0037._SFO-1._0001.data ;  Reco_tf.py --inputBSFile data15_13TeV.00284484.physics_Main.daq.RAW._lb0037._SFO-1._0001.data  --outputESDFile myESD.pool.root --outputAODFile myAOD.pool.root --AMI q431 --maxEvent 150 --athenaopts='--pmon=sdmonfp' --ignoreErrors 'True' | tee  __log.txt; 
+	  export ATHENA_CORE_NUMBER=8
+	  export TRF_ECHO=1; xrdcp root://eosatlas.cern.ch//eos/atlas/user/a/atlaspmb/data15_13TeV/data15_13TeV.00284484.physics_Main.daq.RAW._lb0037._SFO-1._0001.data data15_13TeV.00284484.physics_Main.daq.RAW._lb0037._SFO-1._0001.data ;  Reco_tf.py --multiprocess --inputBSFile data15_13TeV.00284484.physics_Main.daq.RAW._lb0037._SFO-1._0001.data  --outputESDFile myESD.pool.root --outputAODFile myAOD.pool.root --AMI q431 --maxEvent 150 --athenaopts='--pmon=sdmonfp' --ignoreErrors 'True' | tee  __log.txt; 
 	  echo $? &gt;  __exitcode ; 
 	  touch __done ;
 	  grep  -i "Reco_tf" jobReport.txt  | head -n1 | awk -F\" '{print $2}' &gt; __command.sh;
@@ -366,8 +366,8 @@
 	<doc>Reco_tf runs on 13TeV collision data from the mainxf stream</doc>
 	<jobTransformJobName>mp_rawtoall_monitoring_reco_data15_main</jobTransformJobName>
 	<jobTransformCmd>
-	  export ATHENA_PROC_NUMBER=4
-	  export TRF_ECHO=1; xrdcp root://eosatlas.cern.ch//eos/atlas/user/a/atlaspmb/data15_13TeV/data15_13TeV.00284484.physics_Main.daq.RAW._lb0037._SFO-1._0001.data data15_13TeV.00284484.physics_Main.daq.RAW._lb0037._SFO-1._0001.data ;  Reco_tf.py --inputBSFile data15_13TeV.00284484.physics_Main.daq.RAW._lb0037._SFO-1._0001.data --outputAODFile myAOD.pool.root --outputHISTFile myHIST.pool.root --AMI q431 --maxEvent 150 --athenaopts='--pmon=sdmonfp' --ignoreErrors 'True' --steering doRAWtoALL | tee  __log.txt; 
+	  export ATHENA_CORE_NUMBER=4
+	  export TRF_ECHO=1; xrdcp root://eosatlas.cern.ch//eos/atlas/user/a/atlaspmb/data15_13TeV/data15_13TeV.00284484.physics_Main.daq.RAW._lb0037._SFO-1._0001.data data15_13TeV.00284484.physics_Main.daq.RAW._lb0037._SFO-1._0001.data ;  Reco_tf.py --multiprocess --inputBSFile data15_13TeV.00284484.physics_Main.daq.RAW._lb0037._SFO-1._0001.data --outputAODFile myAOD.pool.root --outputHISTFile myHIST.pool.root --AMI q431 --maxEvent 150 --athenaopts='--pmon=sdmonfp' --ignoreErrors 'True' --steering doRAWtoALL | tee  __log.txt; 
 	  echo $? &gt;  __exitcode ; 
 	  touch __done ;
 	  grep  -i "Reco_tf" jobReport.txt  | head -n1 | awk -F\" '{print $2}' &gt; __command.sh;
@@ -392,8 +392,8 @@
 	<doc>Reco_tf runs on 13TeV collision data from the mainxf stream</doc>
 	<jobTransformJobName>mp8_rawtoall_monitoring_reco_data15_main</jobTransformJobName>
 	<jobTransformCmd>
-	  export ATHENA_PROC_NUMBER=8
-	  export TRF_ECHO=1; xrdcp root://eosatlas.cern.ch//eos/atlas/user/a/atlaspmb/data15_13TeV/data15_13TeV.00284484.physics_Main.daq.RAW._lb0037._SFO-1._0001.data data15_13TeV.00284484.physics_Main.daq.RAW._lb0037._SFO-1._0001.data ;  Reco_tf.py --inputBSFile data15_13TeV.00284484.physics_Main.daq.RAW._lb0037._SFO-1._0001.data --outputAODFile myAOD.pool.root --outputHISTFile myHIST.pool.root --AMI q431 --maxEvent 150 --athenaopts='--pmon=sdmonfp' --ignoreErrors 'True' --steering doRAWtoALL | tee  __log.txt; 
+	  export ATHENA_CORE_NUMBER=8
+	  export TRF_ECHO=1; xrdcp root://eosatlas.cern.ch//eos/atlas/user/a/atlaspmb/data15_13TeV/data15_13TeV.00284484.physics_Main.daq.RAW._lb0037._SFO-1._0001.data data15_13TeV.00284484.physics_Main.daq.RAW._lb0037._SFO-1._0001.data ;  Reco_tf.py --multiproces --inputBSFile data15_13TeV.00284484.physics_Main.daq.RAW._lb0037._SFO-1._0001.data --outputAODFile myAOD.pool.root --outputHISTFile myHIST.pool.root --AMI q431 --maxEvent 150 --athenaopts='--pmon=sdmonfp' --ignoreErrors 'True' --steering doRAWtoALL | tee  __log.txt; 
 	  echo $? &gt;  __exitcode ; 
 	  touch __done ;
 	  grep  -i "Reco_tf" jobReport.txt  | head -n1 | awk -F\" '{print $2}' &gt; __command.sh;
@@ -580,8 +580,8 @@
 	<doc>Full chain (MC15 production setup)</doc>
 	<jobTransformJobName>mp_fullchain_mc15_ttbar_valid_13tev_25ns_mu40</jobTransformJobName>
 	<jobTransformCmd>
-	  export ATHENA_PROC_NUMBER=4
-	  export TRF_ECHO=1; Reco_tf.py --inputHITSFile root://eosatlas.cern.ch//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc15a/valid1.110401.PowhegPythia_P2012_ttbar_nonallhad.simul.HITS.e3099_s2578_tid04919495_00/HITS.04919495._001041.pool.root.1 --conditionsTag 'default:OFLCOND-RUN12-SDR-31' --conditionsTag 'default:OFLCOND-RUN12-SDR-31' --digiSeedOffset1 170 --digiSeedOffset2 170  --geometryVersion 'default:ATLAS-R2-2015-03-01-00' --inputHighPtMinbiasHitsFile  root://eosatlas.cern.ch//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc15a/mc15_valid.361035.Pythia8EvtGen_A2MSTW2008LO_minbias_inelastic_high.merge.HITS.e3581_s2578_s2169_tid05098387_00/HITS.05098387.*.pool.root.? --inputLowPtMinbiasHitsFile  root://eosatlas.cern.ch//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc15a/mc15_valid.361034.Pythia8EvtGen_A2MSTW2008LO_minbias_inelastic_low.merge.HITS.e3581_s2578_s2169_tid05098374_00/HITS.05098374.*.pool.root.?  --jobNumber 1 --maxEvents 100 --numberOfCavernBkg="0" --numberOfHighPtMinBias '0.122680569785' --numberOfLowPtMinBias '39.8773194302'  --outputAODFile="myAOD.pool.root" --outputESDFile="myESD.pool.root" --outputRDOFile="myRDO.pool.root"  --pileupFinalBunch '6' --postExec 'all:CfgMgr.MessageSvc().setError+=["HepMcParticleLink"]' 'HITtoRDO:job.StandardPileUpToolsAlg.PileUpTools["MergeMcEventCollTool"].OnlySaveSignalTruth=True;job.StandardPileUpToolsAlg.PileUpTools["MdtDigitizationTool"].LastXing=150' 'RDOtoRDOTrigger:from AthenaCommon.AlgSequence import AlgSequence;AlgSequence().LVL1TGCTrigger.TILEMU=True;from AthenaCommon.AppMgr import ServiceMgr;import MuonRPC_Cabling.MuonRPC_CablingConfig;ServiceMgr.MuonRPC_CablingSvc.RPCTriggerRoadsfromCool=False' --postInclude 'default:RecJobTransforms/UseFrontier.py' --preExec 'all:rec.Commissioning.set_Value_and_Lock(True);from AthenaCommon.BeamFlags import jobproperties;jobproperties.Beam.numberOfCollisions.set_Value_and_Lock(40.0);from LArROD.LArRODFlags import larRODFlags;larRODFlags.NumberOfCollisions.set_Value_and_Lock(40);larRODFlags.nSamples.set_Value_and_Lock(4);larRODFlags.doOFCPileupOptimization.set_Value_and_Lock(True);larRODFlags.firstSample.set_Value_and_Lock(0);larRODFlags.useHighestGainAutoCorr.set_Value_and_Lock(True)' 'RAWtoESD:from CaloRec.CaloCellFlags import jobproperties;jobproperties.CaloCellFlags.doLArCellEmMisCalib=False;from TriggerJobOpts.TriggerFlags import TriggerFlags;TriggerFlags.triggerMenuSetup="MC_pp_v6_tight_mc_prescale"' 'ESDtoAOD:TriggerFlags.AODEDMSet="AODSLIM"' 'HITtoRDO:userRunLumiOverride={"run":222525, "startmu":40.0, "endmu":41.0, "stepmu":1.0, "startlb":1, "timestamp": 1376703331}'  --numberOfCavernBkg '0' --preInclude 'HITtoRDO:Digitization/ForceUseOfPileUpTools.py,SimulationJobOptions/preInclude.PileUpBunchTrainsMC15_2015_25ns_Config1.py,RunDependentSimData/configLumi_muRange.py'  --mts ESD:0 --steering "RAWtoESD:in-RDO,in+RDO_TRIG,in-BS" --ignoreErrors 'True' | tee  __log.txt; 
+	  export ATHENA_CORE_NUMBER=4
+	  export TRF_ECHO=1; Reco_tf.py --multiprocess --inputHITSFile root://eosatlas.cern.ch//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc15a/valid1.110401.PowhegPythia_P2012_ttbar_nonallhad.simul.HITS.e3099_s2578_tid04919495_00/HITS.04919495._001041.pool.root.1 --conditionsTag 'default:OFLCOND-RUN12-SDR-31' --conditionsTag 'default:OFLCOND-RUN12-SDR-31' --digiSeedOffset1 170 --digiSeedOffset2 170  --geometryVersion 'default:ATLAS-R2-2015-03-01-00' --inputHighPtMinbiasHitsFile  root://eosatlas.cern.ch//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc15a/mc15_valid.361035.Pythia8EvtGen_A2MSTW2008LO_minbias_inelastic_high.merge.HITS.e3581_s2578_s2169_tid05098387_00/HITS.05098387.*.pool.root.? --inputLowPtMinbiasHitsFile  root://eosatlas.cern.ch//eos/atlas/atlascerngroupdisk/proj-sit/digitization/RTT/mc15a/mc15_valid.361034.Pythia8EvtGen_A2MSTW2008LO_minbias_inelastic_low.merge.HITS.e3581_s2578_s2169_tid05098374_00/HITS.05098374.*.pool.root.?  --jobNumber 1 --maxEvents 100 --numberOfCavernBkg="0" --numberOfHighPtMinBias '0.122680569785' --numberOfLowPtMinBias '39.8773194302'  --outputAODFile="myAOD.pool.root" --outputESDFile="myESD.pool.root" --outputRDOFile="myRDO.pool.root"  --pileupFinalBunch '6' --postExec 'all:CfgMgr.MessageSvc().setError+=["HepMcParticleLink"]' 'HITtoRDO:job.StandardPileUpToolsAlg.PileUpTools["MergeMcEventCollTool"].OnlySaveSignalTruth=True;job.StandardPileUpToolsAlg.PileUpTools["MdtDigitizationTool"].LastXing=150' 'RDOtoRDOTrigger:from AthenaCommon.AlgSequence import AlgSequence;AlgSequence().LVL1TGCTrigger.TILEMU=True;from AthenaCommon.AppMgr import ServiceMgr;import MuonRPC_Cabling.MuonRPC_CablingConfig;ServiceMgr.MuonRPC_CablingSvc.RPCTriggerRoadsfromCool=False' --postInclude 'default:RecJobTransforms/UseFrontier.py' --preExec 'all:rec.Commissioning.set_Value_and_Lock(True);from AthenaCommon.BeamFlags import jobproperties;jobproperties.Beam.numberOfCollisions.set_Value_and_Lock(40.0);from LArROD.LArRODFlags import larRODFlags;larRODFlags.NumberOfCollisions.set_Value_and_Lock(40);larRODFlags.nSamples.set_Value_and_Lock(4);larRODFlags.doOFCPileupOptimization.set_Value_and_Lock(True);larRODFlags.firstSample.set_Value_and_Lock(0);larRODFlags.useHighestGainAutoCorr.set_Value_and_Lock(True)' 'RAWtoESD:from CaloRec.CaloCellFlags import jobproperties;jobproperties.CaloCellFlags.doLArCellEmMisCalib=False;from TriggerJobOpts.TriggerFlags import TriggerFlags;TriggerFlags.triggerMenuSetup="MC_pp_v6_tight_mc_prescale"' 'ESDtoAOD:TriggerFlags.AODEDMSet="AODSLIM"' 'HITtoRDO:userRunLumiOverride={"run":222525, "startmu":40.0, "endmu":41.0, "stepmu":1.0, "startlb":1, "timestamp": 1376703331}'  --numberOfCavernBkg '0' --preInclude 'HITtoRDO:Digitization/ForceUseOfPileUpTools.py,SimulationJobOptions/preInclude.PileUpBunchTrainsMC15_2015_25ns_Config1.py,RunDependentSimData/configLumi_muRange.py'  --mts ESD:0 --steering "RAWtoESD:in-RDO,in+RDO_TRIG,in-BS" --ignoreErrors 'True' | tee  __log.txt; 
 	  echo $? &gt;  __exitcode ; 
 	  touch __done ;
 	  grep  -i "Digi_tf" jobReport.txt  | head -n1 | awk -F\" '{print $2}' &gt; __command.sh;
diff --git a/Reconstruction/egamma/egammaValidation/test/test_electron.sh b/Reconstruction/egamma/egammaValidation/test/test_electron.sh
index e99826c2cf8..95a7ac452a8 100755
--- a/Reconstruction/egamma/egammaValidation/test/test_electron.sh
+++ b/Reconstruction/egamma/egammaValidation/test/test_electron.sh
@@ -25,9 +25,8 @@ case $ArtProcess in
 	echo "Ending"
 	
 	echo "Merging AODs"
-        echo "Unsetting ATHENA_NUM_PROC=${ATHENA_NUM_PROC} and ATHENA_PROC_NUMBER=${ATHENA_PROC_NUMBER}"
+        echo "Unsetting ATHENA_NUM_PROC=${ATHENA_NUM_PROC}"
         unset  ATHENA_NUM_PROC
-        unset  ATHENA_PROC_NUMBER
 
 	AODMerge_tf.py --inputAODFile=art_core_*/Nightly_AOD_electron.pool.root --outputAOD_MRGFile=Nightly_AOD_electron.pool.root --postExec "all:CILMergeAOD.removeItem(\"xAOD::CaloClusterAuxContainer#CaloCalTopoClustersAux.SECOND_R.SECOND_LAMBDA.CENTER_MAG.CENTER_LAMBDA.FIRST_ENG_DENS.ENG_FRAC_MAX.ISOLATION.ENG_BAD_CELLS.N_BAD_CELLS.BADLARQ_FRAC.ENG_POS.AVG_LAR_Q.AVG_TILE_Q.EM_PROBABILITY.BadChannelList\");CILMergeAOD.add(\"xAOD::CaloClusterAuxContainer#CaloCalTopoClustersAux.SECOND_R.SECOND_LAMBDA.CENTER_MAG.CENTER_LAMBDA.FIRST_ENG_DENS.ENG_FRAC_MAX.ISOLATION.ENG_BAD_CELLS.N_BAD_CELLS.BADLARQ_FRAC.ENG_POS.AVG_LAR_Q.AVG_TILE_Q.EM_PROBABILITY.BadChannelList.ENG_CALIB_TOT.ENG_CALIB_OUT_L.ENG_CALIB_EMB0.ENG_CALIB_EME0.ENG_CALIB_TILEG3.ENG_CALIB_DEAD_TOT.ENG_CALIB_DEAD_EMB0.ENG_CALIB_DEAD_TILE0.ENG_CALIB_DEAD_TILEG3.ENG_CALIB_DEAD_EME0.ENG_CALIB_DEAD_HEC0.ENG_CALIB_DEAD_FCAL.ENG_CALIB_DEAD_LEAKAGE.ENG_CALIB_DEAD_UNCLASS.ENG_CALIB_FRAC_EM.ENG_CALIB_FRAC_HAD.ENG_CALIB_FRAC_REST.LATERAL.ENG_FRAC_EM\");StreamAOD.ItemList=CILMergeAOD()"
 	
@@ -60,9 +59,8 @@ case $ArtProcess in
 	file=${file[${ArtProcess}]}
 	x="../$file"
 
-	echo "Unsetting ATHENA_NUM_PROC=${ATHENA_NUM_PROC} and ATHENA_PROC_NUMBER=${ATHENA_PROC_NUMBER}"
+	echo "Unsetting ATHENA_NUM_PROC=${ATHENA_NUM_PROC}"
 	unset  ATHENA_NUM_PROC
-	unset  ATHENA_PROC_NUMBER
 	
 	Reco_tf.py --inputRDOFile=$x --outputAODFile=Nightly_AOD_electron.pool.root --maxEvents=2000 --autoConfiguration="everything" --preExec="from ParticleBuilderOptions.AODFlags import AODFlags; AODFlags.ThinGeantTruth.set_Value_and_Lock(False);AODFlags.TauTrackSlimmer.set_Value_and_Lock(False);AODFlags.ThinInDetForwardTrackParticles.set_Value_and_Lock(False); rec.doTrigger=False; rec.doMuon=False; rec.doTau=False ; from RecExConfig.RecAlgsFlags import recAlgs; recAlgs.doMuonSpShower=False ; rec.doBTagging=False ; recAlgs.doEFlow=False ; recAlgs.doEFlowJet=False ; recAlgs.doMissingET=False ; recAlgs.doMissingETSig=False ; from JetRec.JetRecFlags import jetFlags ; jetFlags.Enabled=False ; " --postExec "ESDtoAOD:CILMergeAOD.removeItem(\"xAOD::CaloClusterAuxContainer#CaloCalTopoClustersAux.SECOND_R.SECOND_LAMBDA.CENTER_MAG.CENTER_LAMBDA.FIRST_ENG_DENS.ENG_FRAC_MAX.ISOLATION.ENG_BAD_CELLS.N_BAD_CELLS.BADLARQ_FRAC.ENG_POS.AVG_LAR_Q.AVG_TILE_Q.EM_PROBABILITY.BadChannelList\");CILMergeAOD.add(\"xAOD::CaloClusterAuxContainer#CaloCalTopoClustersAux.SECOND_R.LATERAL.ENG_FRAC_EM.SECOND_LAMBDA.CENTER_MAG.CENTER_LAMBDA.FIRST_ENG_DENS.ENG_FRAC_MAX.ISOLATION.ENG_BAD_CELLS.N_BAD_CELLS.BADLARQ_FRAC.ENG_POS.AVG_LAR_Q.AVG_TILE_Q.EM_PROBABILITY.BadChannelList.ENG_CALIB_TOT.ENG_CALIB_OUT_L.ENG_CALIB_EMB0.ENG_CALIB_EME0.ENG_CALIB_TILEG3.ENG_CALIB_DEAD_TOT.ENG_CALIB_DEAD_EMB0.ENG_CALIB_DEAD_TILE0.ENG_CALIB_DEAD_TILEG3.ENG_CALIB_DEAD_EME0.ENG_CALIB_DEAD_HEC0.ENG_CALIB_DEAD_FCAL.ENG_CALIB_DEAD_LEAKAGE.ENG_CALIB_DEAD_UNCLASS.ENG_CALIB_FRAC_EM.ENG_CALIB_FRAC_HAD.ENG_CALIB_FRAC_REST\");StreamAOD.ItemList=CILMergeAOD()" "POOLMergeAthenaMPAOD0:CILMergeAOD.removeItem(\"xAOD::CaloClusterAuxContainer#CaloCalTopoClustersAux.SECOND_R.SECOND_LAMBDA.CENTER_MAG.CENTER_LAMBDA.FIRST_ENG_DENS.ENG_FRAC_MAX.ISOLATION.ENG_BAD_CELLS.N_BAD_CELLS.BADLARQ_FRAC.ENG_POS.AVG_LAR_Q.AVG_TILE_Q.EM_PROBABILITY.BadChannelList\");CILMergeAOD.add(\"xAOD::CaloClusterAuxContainer#CaloCalTopoClustersAux.SECOND_R.LATERAL.ENG_FRAC_EM.SECOND_LAMBDA.CENTER_MAG.CENTER_LAMBDA.FIRST_ENG_DENS.ENG_FRAC_MAX.ISOLATION.ENG_BAD_CELLS.N_BAD_CELLS.BADLARQ_FRAC.ENG_POS.AVG_LAR_Q.AVG_TILE_Q.EM_PROBABILITY.BadChannelList.ENG_CALIB_TOT.ENG_CALIB_OUT_L.ENG_CALIB_EMB0.ENG_CALIB_EME0.ENG_CALIB_TILEG3.ENG_CALIB_DEAD_TOT.ENG_CALIB_DEAD_EMB0.ENG_CALIB_DEAD_TILE0.ENG_CALIB_DEAD_TILEG3.ENG_CALIB_DEAD_EME0.ENG_CALIB_DEAD_HEC0.ENG_CALIB_DEAD_FCAL.ENG_CALIB_DEAD_LEAKAGE.ENG_CALIB_DEAD_UNCLASS.ENG_CALIB_FRAC_EM.ENG_CALIB_FRAC_HAD.ENG_CALIB_FRAC_REST\");StreamAOD.ItemList=CILMergeAOD()"
 	
diff --git a/Reconstruction/egamma/egammaValidation/test/test_electron_pileup.sh b/Reconstruction/egamma/egammaValidation/test/test_electron_pileup.sh
index 49ec374b7d1..8323b6dfc74 100755
--- a/Reconstruction/egamma/egammaValidation/test/test_electron_pileup.sh
+++ b/Reconstruction/egamma/egammaValidation/test/test_electron_pileup.sh
@@ -25,9 +25,8 @@ case $ArtProcess in
 	echo "Ending"
 	
 	echo "Merging AODs"
-        echo "Unsetting ATHENA_NUM_PROC=${ATHENA_NUM_PROC} and ATHENA_PROC_NUMBER=${ATHENA_PROC_NUMBER}"
+        echo "Unsetting ATHENA_NUM_PROC=${ATHENA_NUM_PROC}"
         unset  ATHENA_NUM_PROC
-        unset  ATHENA_PROC_NUMBER
 
 	AODMerge_tf.py --inputAODFile=art_core_*/Nightly_AOD_electron.pool.root --outputAOD_MRGFile=Nightly_AOD_electron.pool.root --postExec "all:CILMergeAOD.removeItem(\"xAOD::CaloClusterAuxContainer#CaloCalTopoClustersAux.SECOND_R.SECOND_LAMBDA.CENTER_MAG.CENTER_LAMBDA.FIRST_ENG_DENS.ENG_FRAC_MAX.ISOLATION.ENG_BAD_CELLS.N_BAD_CELLS.BADLARQ_FRAC.ENG_POS.AVG_LAR_Q.AVG_TILE_Q.EM_PROBABILITY.BadChannelList\");CILMergeAOD.add(\"xAOD::CaloClusterAuxContainer#CaloCalTopoClustersAux.SECOND_R.SECOND_LAMBDA.CENTER_MAG.CENTER_LAMBDA.FIRST_ENG_DENS.ENG_FRAC_MAX.ISOLATION.ENG_BAD_CELLS.N_BAD_CELLS.BADLARQ_FRAC.ENG_POS.AVG_LAR_Q.AVG_TILE_Q.EM_PROBABILITY.BadChannelList.ENG_CALIB_TOT.ENG_CALIB_OUT_L.ENG_CALIB_EMB0.ENG_CALIB_EME0.ENG_CALIB_TILEG3.ENG_CALIB_DEAD_TOT.ENG_CALIB_DEAD_EMB0.ENG_CALIB_DEAD_TILE0.ENG_CALIB_DEAD_TILEG3.ENG_CALIB_DEAD_EME0.ENG_CALIB_DEAD_HEC0.ENG_CALIB_DEAD_FCAL.ENG_CALIB_DEAD_LEAKAGE.ENG_CALIB_DEAD_UNCLASS.ENG_CALIB_FRAC_EM.ENG_CALIB_FRAC_HAD.ENG_CALIB_FRAC_REST.LATERAL.ENG_FRAC_EM\");StreamAOD.ItemList=CILMergeAOD()"
 	
@@ -60,9 +59,8 @@ case $ArtProcess in
 	file=${file[${ArtProcess}]}
 	x="../$file"
 
-	echo "Unsetting ATHENA_NUM_PROC=${ATHENA_NUM_PROC} and ATHENA_PROC_NUMBER=${ATHENA_PROC_NUMBER}"
+	echo "Unsetting ATHENA_NUM_PROC=${ATHENA_NUM_PROC}"
 	unset  ATHENA_NUM_PROC
-	unset  ATHENA_PROC_NUMBER
 	
 	Reco_tf.py --inputRDOFile=$x --outputAODFile=Nightly_AOD_electron.pool.root --maxEvents=2000 --autoConfiguration="everything" --preExec="from ParticleBuilderOptions.AODFlags import AODFlags; AODFlags.ThinGeantTruth.set_Value_and_Lock(False);AODFlags.TauTrackSlimmer.set_Value_and_Lock(False);AODFlags.ThinInDetForwardTrackParticles.set_Value_and_Lock(False); rec.doTrigger=False; rec.doMuon=False; rec.doTau=False ; from RecExConfig.RecAlgsFlags import recAlgs; recAlgs.doMuonSpShower=False ; rec.doBTagging=False ; recAlgs.doEFlow=False ; recAlgs.doEFlowJet=False ; recAlgs.doMissingET=False ; recAlgs.doMissingETSig=False ; from JetRec.JetRecFlags import jetFlags ; jetFlags.Enabled=False ; " --postExec "ESDtoAOD:CILMergeAOD.removeItem(\"xAOD::CaloClusterAuxContainer#CaloCalTopoClustersAux.SECOND_R.SECOND_LAMBDA.CENTER_MAG.CENTER_LAMBDA.FIRST_ENG_DENS.ENG_FRAC_MAX.ISOLATION.ENG_BAD_CELLS.N_BAD_CELLS.BADLARQ_FRAC.ENG_POS.AVG_LAR_Q.AVG_TILE_Q.EM_PROBABILITY.BadChannelList\");CILMergeAOD.add(\"xAOD::CaloClusterAuxContainer#CaloCalTopoClustersAux.SECOND_R.LATERAL.ENG_FRAC_EM.SECOND_LAMBDA.CENTER_MAG.CENTER_LAMBDA.FIRST_ENG_DENS.ENG_FRAC_MAX.ISOLATION.ENG_BAD_CELLS.N_BAD_CELLS.BADLARQ_FRAC.ENG_POS.AVG_LAR_Q.AVG_TILE_Q.EM_PROBABILITY.BadChannelList.ENG_CALIB_TOT.ENG_CALIB_OUT_L.ENG_CALIB_EMB0.ENG_CALIB_EME0.ENG_CALIB_TILEG3.ENG_CALIB_DEAD_TOT.ENG_CALIB_DEAD_EMB0.ENG_CALIB_DEAD_TILE0.ENG_CALIB_DEAD_TILEG3.ENG_CALIB_DEAD_EME0.ENG_CALIB_DEAD_HEC0.ENG_CALIB_DEAD_FCAL.ENG_CALIB_DEAD_LEAKAGE.ENG_CALIB_DEAD_UNCLASS.ENG_CALIB_FRAC_EM.ENG_CALIB_FRAC_HAD.ENG_CALIB_FRAC_REST\");StreamAOD.ItemList=CILMergeAOD()" "POOLMergeAthenaMPAOD0:CILMergeAOD.removeItem(\"xAOD::CaloClusterAuxContainer#CaloCalTopoClustersAux.SECOND_R.SECOND_LAMBDA.CENTER_MAG.CENTER_LAMBDA.FIRST_ENG_DENS.ENG_FRAC_MAX.ISOLATION.ENG_BAD_CELLS.N_BAD_CELLS.BADLARQ_FRAC.ENG_POS.AVG_LAR_Q.AVG_TILE_Q.EM_PROBABILITY.BadChannelList\");CILMergeAOD.add(\"xAOD::CaloClusterAuxContainer#CaloCalTopoClustersAux.SECOND_R.LATERAL.ENG_FRAC_EM.SECOND_LAMBDA.CENTER_MAG.CENTER_LAMBDA.FIRST_ENG_DENS.ENG_FRAC_MAX.ISOLATION.ENG_BAD_CELLS.N_BAD_CELLS.BADLARQ_FRAC.ENG_POS.AVG_LAR_Q.AVG_TILE_Q.EM_PROBABILITY.BadChannelList.ENG_CALIB_TOT.ENG_CALIB_OUT_L.ENG_CALIB_EMB0.ENG_CALIB_EME0.ENG_CALIB_TILEG3.ENG_CALIB_DEAD_TOT.ENG_CALIB_DEAD_EMB0.ENG_CALIB_DEAD_TILE0.ENG_CALIB_DEAD_TILEG3.ENG_CALIB_DEAD_EME0.ENG_CALIB_DEAD_HEC0.ENG_CALIB_DEAD_FCAL.ENG_CALIB_DEAD_LEAKAGE.ENG_CALIB_DEAD_UNCLASS.ENG_CALIB_FRAC_EM.ENG_CALIB_FRAC_HAD.ENG_CALIB_FRAC_REST\");StreamAOD.ItemList=CILMergeAOD()"
 	
diff --git a/Reconstruction/egamma/egammaValidation/test/test_gamma.sh b/Reconstruction/egamma/egammaValidation/test/test_gamma.sh
index 2aebb798d33..dce8a08c1f7 100755
--- a/Reconstruction/egamma/egammaValidation/test/test_gamma.sh
+++ b/Reconstruction/egamma/egammaValidation/test/test_gamma.sh
@@ -26,9 +26,8 @@ case $ArtProcess in
 	echo "Ending"
 	
 	echo "Merging AODs"
-        echo "Unsetting ATHENA_NUM_PROC=${ATHENA_NUM_PROC} and ATHENA_PROC_NUMBER=${ATHENA_PROC_NUMBER}"
+        echo "Unsetting ATHENA_NUM_PROC=${ATHENA_NUM_PROC}"
         unset  ATHENA_NUM_PROC
-        unset  ATHENA_PROC_NUMBER
 
         AODMerge_tf.py --inputAODFile=art_core_*/Nightly_AOD_gamma.pool.root --outputAOD_MRGFile=Nightly_AOD_gamma.pool.root --postExec "all:CILMergeAOD.removeItem(\"xAOD::CaloClusterAuxContainer#CaloCalTopoClustersAux.SECOND_R.SECOND_LAMBDA.CENTER_MAG.CENTER_LAMBDA.FIRST_ENG_DENS.ENG_FRAC_MAX.ISOLATION.ENG_BAD_CELLS.N_BAD_CELLS.BADLARQ_FRAC.ENG_POS.AVG_LAR_Q.AVG_TILE_Q.EM_PROBABILITY.BadChannelList\");CILMergeAOD.add(\"xAOD::CaloClusterAuxContainer#CaloCalTopoClustersAux.SECOND_R.SECOND_LAMBDA.CENTER_MAG.CENTER_LAMBDA.FIRST_ENG_DENS.ENG_FRAC_MAX.ISOLATION.ENG_BAD_CELLS.N_BAD_CELLS.BADLARQ_FRAC.ENG_POS.AVG_LAR_Q.AVG_TILE_Q.EM_PROBABILITY.BadChannelList.ENG_CALIB_TOT.ENG_CALIB_OUT_L.ENG_CALIB_EMB0.ENG_CALIB_EME0.ENG_CALIB_TILEG3.ENG_CALIB_DEAD_TOT.ENG_CALIB_DEAD_EMB0.ENG_CALIB_DEAD_TILE0.ENG_CALIB_DEAD_TILEG3.ENG_CALIB_DEAD_EME0.ENG_CALIB_DEAD_HEC0.ENG_CALIB_DEAD_FCAL.ENG_CALIB_DEAD_LEAKAGE.ENG_CALIB_DEAD_UNCLASS.ENG_CALIB_FRAC_EM.ENG_CALIB_FRAC_HAD.ENG_CALIB_FRAC_REST.LATERAL.ENG_FRAC_EM\");StreamAOD.ItemList=CILMergeAOD()"
 	
@@ -61,9 +60,8 @@ case $ArtProcess in
         file=${file[${ArtProcess}]}
 	x="../$file"
 		
-	echo "Unsetting ATHENA_NUM_PROC=${ATHENA_NUM_PROC} and ATHENA_PROC_NUMBER=${ATHENA_PROC_NUMBER}"
+	echo "Unsetting ATHENA_NUM_PROC=${ATHENA_NUM_PROC}"
 	unset  ATHENA_NUM_PROC
-	unset  ATHENA_PROC_NUMBER
 	
 	Reco_tf.py --inputRDOFile=$x --outputAODFile=Nightly_AOD_gamma.pool.root --maxEvents=2000 --autoConfiguration="everything" --preExec="from ParticleBuilderOptions.AODFlags import AODFlags; AODFlags.ThinGeantTruth.set_Value_and_Lock(False);AODFlags.TauTrackSlimmer.set_Value_and_Lock(False);AODFlags.ThinInDetForwardTrackParticles.set_Value_and_Lock(False); rec.doTrigger=False; rec.doMuon=False; rec.doTau=False ; from RecExConfig.RecAlgsFlags import recAlgs; recAlgs.doMuonSpShower=False ; rec.doBTagging=False ; recAlgs.doEFlow=False ; recAlgs.doEFlowJet=False ; recAlgs.doMissingET=False ; recAlgs.doMissingETSig=False ; from JetRec.JetRecFlags import jetFlags ; jetFlags.Enabled=False ; " --postExec "ESDtoAOD:CILMergeAOD.removeItem(\"xAOD::CaloClusterAuxContainer#CaloCalTopoClustersAux.SECOND_R.SECOND_LAMBDA.CENTER_MAG.CENTER_LAMBDA.FIRST_ENG_DENS.ENG_FRAC_MAX.ISOLATION.ENG_BAD_CELLS.N_BAD_CELLS.BADLARQ_FRAC.ENG_POS.AVG_LAR_Q.AVG_TILE_Q.EM_PROBABILITY.BadChannelList\");CILMergeAOD.add(\"xAOD::CaloClusterAuxContainer#CaloCalTopoClustersAux.SECOND_R.LATERAL.ENG_FRAC_EM.SECOND_LAMBDA.CENTER_MAG.CENTER_LAMBDA.FIRST_ENG_DENS.ENG_FRAC_MAX.ISOLATION.ENG_BAD_CELLS.N_BAD_CELLS.BADLARQ_FRAC.ENG_POS.AVG_LAR_Q.AVG_TILE_Q.EM_PROBABILITY.BadChannelList.ENG_CALIB_TOT.ENG_CALIB_OUT_L.ENG_CALIB_EMB0.ENG_CALIB_EME0.ENG_CALIB_TILEG3.ENG_CALIB_DEAD_TOT.ENG_CALIB_DEAD_EMB0.ENG_CALIB_DEAD_TILE0.ENG_CALIB_DEAD_TILEG3.ENG_CALIB_DEAD_EME0.ENG_CALIB_DEAD_HEC0.ENG_CALIB_DEAD_FCAL.ENG_CALIB_DEAD_LEAKAGE.ENG_CALIB_DEAD_UNCLASS.ENG_CALIB_FRAC_EM.ENG_CALIB_FRAC_HAD.ENG_CALIB_FRAC_REST\");StreamAOD.ItemList=CILMergeAOD()" "POOLMergeAthenaMPAOD0:CILMergeAOD.removeItem(\"xAOD::CaloClusterAuxContainer#CaloCalTopoClustersAux.SECOND_R.SECOND_LAMBDA.CENTER_MAG.CENTER_LAMBDA.FIRST_ENG_DENS.ENG_FRAC_MAX.ISOLATION.ENG_BAD_CELLS.N_BAD_CELLS.BADLARQ_FRAC.ENG_POS.AVG_LAR_Q.AVG_TILE_Q.EM_PROBABILITY.BadChannelList\");CILMergeAOD.add(\"xAOD::CaloClusterAuxContainer#CaloCalTopoClustersAux.SECOND_R.LATERAL.ENG_FRAC_EM.SECOND_LAMBDA.CENTER_MAG.CENTER_LAMBDA.FIRST_ENG_DENS.ENG_FRAC_MAX.ISOLATION.ENG_BAD_CELLS.N_BAD_CELLS.BADLARQ_FRAC.ENG_POS.AVG_LAR_Q.AVG_TILE_Q.EM_PROBABILITY.BadChannelList.ENG_CALIB_TOT.ENG_CALIB_OUT_L.ENG_CALIB_EMB0.ENG_CALIB_EME0.ENG_CALIB_TILEG3.ENG_CALIB_DEAD_TOT.ENG_CALIB_DEAD_EMB0.ENG_CALIB_DEAD_TILE0.ENG_CALIB_DEAD_TILEG3.ENG_CALIB_DEAD_EME0.ENG_CALIB_DEAD_HEC0.ENG_CALIB_DEAD_FCAL.ENG_CALIB_DEAD_LEAKAGE.ENG_CALIB_DEAD_UNCLASS.ENG_CALIB_FRAC_EM.ENG_CALIB_FRAC_HAD.ENG_CALIB_FRAC_REST\");StreamAOD.ItemList=CILMergeAOD()"
 	
diff --git a/Reconstruction/egamma/egammaValidation/test/test_gamma_pileup.sh b/Reconstruction/egamma/egammaValidation/test/test_gamma_pileup.sh
index 147afa87296..93a8cac12d1 100755
--- a/Reconstruction/egamma/egammaValidation/test/test_gamma_pileup.sh
+++ b/Reconstruction/egamma/egammaValidation/test/test_gamma_pileup.sh
@@ -26,9 +26,8 @@ case $ArtProcess in
 	echo "Ending"
 	
 	echo "Merging AODs"
-        echo "Unsetting ATHENA_NUM_PROC=${ATHENA_NUM_PROC} and ATHENA_PROC_NUMBER=${ATHENA_PROC_NUMBER}"
+        echo "Unsetting ATHENA_NUM_PROC=${ATHENA_NUM_PROC}"
         unset  ATHENA_NUM_PROC
-        unset  ATHENA_PROC_NUMBER
 
         AODMerge_tf.py --inputAODFile=art_core_*/Nightly_AOD_gamma.pool.root --outputAOD_MRGFile=Nightly_AOD_gamma.pool.root --postExec "all:CILMergeAOD.removeItem(\"xAOD::CaloClusterAuxContainer#CaloCalTopoClustersAux.SECOND_R.SECOND_LAMBDA.CENTER_MAG.CENTER_LAMBDA.FIRST_ENG_DENS.ENG_FRAC_MAX.ISOLATION.ENG_BAD_CELLS.N_BAD_CELLS.BADLARQ_FRAC.ENG_POS.AVG_LAR_Q.AVG_TILE_Q.EM_PROBABILITY.BadChannelList\");CILMergeAOD.add(\"xAOD::CaloClusterAuxContainer#CaloCalTopoClustersAux.SECOND_R.SECOND_LAMBDA.CENTER_MAG.CENTER_LAMBDA.FIRST_ENG_DENS.ENG_FRAC_MAX.ISOLATION.ENG_BAD_CELLS.N_BAD_CELLS.BADLARQ_FRAC.ENG_POS.AVG_LAR_Q.AVG_TILE_Q.EM_PROBABILITY.BadChannelList.ENG_CALIB_TOT.ENG_CALIB_OUT_L.ENG_CALIB_EMB0.ENG_CALIB_EME0.ENG_CALIB_TILEG3.ENG_CALIB_DEAD_TOT.ENG_CALIB_DEAD_EMB0.ENG_CALIB_DEAD_TILE0.ENG_CALIB_DEAD_TILEG3.ENG_CALIB_DEAD_EME0.ENG_CALIB_DEAD_HEC0.ENG_CALIB_DEAD_FCAL.ENG_CALIB_DEAD_LEAKAGE.ENG_CALIB_DEAD_UNCLASS.ENG_CALIB_FRAC_EM.ENG_CALIB_FRAC_HAD.ENG_CALIB_FRAC_REST.LATERAL.ENG_FRAC_EM\");StreamAOD.ItemList=CILMergeAOD()"
 	
@@ -61,9 +60,8 @@ case $ArtProcess in
         file=${file[${ArtProcess}]}
 	x="../$file"
 		
-	echo "Unsetting ATHENA_NUM_PROC=${ATHENA_NUM_PROC} and ATHENA_PROC_NUMBER=${ATHENA_PROC_NUMBER}"
+	echo "Unsetting ATHENA_NUM_PROC=${ATHENA_NUM_PROC}"
 	unset  ATHENA_NUM_PROC
-	unset  ATHENA_PROC_NUMBER
 	
 	Reco_tf.py --inputRDOFile=$x --outputAODFile=Nightly_AOD_gamma.pool.root --maxEvents=2000 --autoConfiguration="everything" --preExec="from ParticleBuilderOptions.AODFlags import AODFlags; AODFlags.ThinGeantTruth.set_Value_and_Lock(False);AODFlags.TauTrackSlimmer.set_Value_and_Lock(False);AODFlags.ThinInDetForwardTrackParticles.set_Value_and_Lock(False); rec.doTrigger=False; rec.doMuon=False; rec.doTau=False ; from RecExConfig.RecAlgsFlags import recAlgs; recAlgs.doMuonSpShower=False ; rec.doBTagging=False ; recAlgs.doEFlow=False ; recAlgs.doEFlowJet=False ; recAlgs.doMissingET=False ; recAlgs.doMissingETSig=False ; from JetRec.JetRecFlags import jetFlags ; jetFlags.Enabled=False ; " --postExec "ESDtoAOD:CILMergeAOD.removeItem(\"xAOD::CaloClusterAuxContainer#CaloCalTopoClustersAux.SECOND_R.SECOND_LAMBDA.CENTER_MAG.CENTER_LAMBDA.FIRST_ENG_DENS.ENG_FRAC_MAX.ISOLATION.ENG_BAD_CELLS.N_BAD_CELLS.BADLARQ_FRAC.ENG_POS.AVG_LAR_Q.AVG_TILE_Q.EM_PROBABILITY.BadChannelList\");CILMergeAOD.add(\"xAOD::CaloClusterAuxContainer#CaloCalTopoClustersAux.SECOND_R.LATERAL.ENG_FRAC_EM.SECOND_LAMBDA.CENTER_MAG.CENTER_LAMBDA.FIRST_ENG_DENS.ENG_FRAC_MAX.ISOLATION.ENG_BAD_CELLS.N_BAD_CELLS.BADLARQ_FRAC.ENG_POS.AVG_LAR_Q.AVG_TILE_Q.EM_PROBABILITY.BadChannelList.ENG_CALIB_TOT.ENG_CALIB_OUT_L.ENG_CALIB_EMB0.ENG_CALIB_EME0.ENG_CALIB_TILEG3.ENG_CALIB_DEAD_TOT.ENG_CALIB_DEAD_EMB0.ENG_CALIB_DEAD_TILE0.ENG_CALIB_DEAD_TILEG3.ENG_CALIB_DEAD_EME0.ENG_CALIB_DEAD_HEC0.ENG_CALIB_DEAD_FCAL.ENG_CALIB_DEAD_LEAKAGE.ENG_CALIB_DEAD_UNCLASS.ENG_CALIB_FRAC_EM.ENG_CALIB_FRAC_HAD.ENG_CALIB_FRAC_REST\");StreamAOD.ItemList=CILMergeAOD()" "POOLMergeAthenaMPAOD0:CILMergeAOD.removeItem(\"xAOD::CaloClusterAuxContainer#CaloCalTopoClustersAux.SECOND_R.SECOND_LAMBDA.CENTER_MAG.CENTER_LAMBDA.FIRST_ENG_DENS.ENG_FRAC_MAX.ISOLATION.ENG_BAD_CELLS.N_BAD_CELLS.BADLARQ_FRAC.ENG_POS.AVG_LAR_Q.AVG_TILE_Q.EM_PROBABILITY.BadChannelList\");CILMergeAOD.add(\"xAOD::CaloClusterAuxContainer#CaloCalTopoClustersAux.SECOND_R.LATERAL.ENG_FRAC_EM.SECOND_LAMBDA.CENTER_MAG.CENTER_LAMBDA.FIRST_ENG_DENS.ENG_FRAC_MAX.ISOLATION.ENG_BAD_CELLS.N_BAD_CELLS.BADLARQ_FRAC.ENG_POS.AVG_LAR_Q.AVG_TILE_Q.EM_PROBABILITY.BadChannelList.ENG_CALIB_TOT.ENG_CALIB_OUT_L.ENG_CALIB_EMB0.ENG_CALIB_EME0.ENG_CALIB_TILEG3.ENG_CALIB_DEAD_TOT.ENG_CALIB_DEAD_EMB0.ENG_CALIB_DEAD_TILE0.ENG_CALIB_DEAD_TILEG3.ENG_CALIB_DEAD_EME0.ENG_CALIB_DEAD_HEC0.ENG_CALIB_DEAD_FCAL.ENG_CALIB_DEAD_LEAKAGE.ENG_CALIB_DEAD_UNCLASS.ENG_CALIB_FRAC_EM.ENG_CALIB_FRAC_HAD.ENG_CALIB_FRAC_REST\");StreamAOD.ItemList=CILMergeAOD()"
 	
diff --git a/Simulation/Tests/DigitizationTestsMT/test/test_Digi_tf_mc15_2015_ttbar_no_pileup_MT.sh b/Simulation/Tests/DigitizationTestsMT/test/test_Digi_tf_mc15_2015_ttbar_no_pileup_MT.sh
index fd2242c9916..af416bb6371 100755
--- a/Simulation/Tests/DigitizationTestsMT/test/test_Digi_tf_mc15_2015_ttbar_no_pileup_MT.sh
+++ b/Simulation/Tests/DigitizationTestsMT/test/test_Digi_tf_mc15_2015_ttbar_no_pileup_MT.sh
@@ -8,8 +8,6 @@
 # art-output: mc15_2015_ttbar_no_pileup.RDO.pool.root
 # art-output: log.*
 
-unset ATHENA_PROC_NUMBER
-
 Digi_tf.py \
 --inputHITSFile /cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/DigitizationTests/HITS.04919495._001041.pool.root.1 \
 --conditionsTag default:OFLCOND-RUN12-SDR-25 \
diff --git a/Simulation/Tests/DigitizationTestsMT/test/test_Digi_tf_mc15_2015_ttbar_no_pileup_MT_1thread.sh b/Simulation/Tests/DigitizationTestsMT/test/test_Digi_tf_mc15_2015_ttbar_no_pileup_MT_1thread.sh
index b8c33c4cdde..d77c04547fd 100755
--- a/Simulation/Tests/DigitizationTestsMT/test/test_Digi_tf_mc15_2015_ttbar_no_pileup_MT_1thread.sh
+++ b/Simulation/Tests/DigitizationTestsMT/test/test_Digi_tf_mc15_2015_ttbar_no_pileup_MT_1thread.sh
@@ -8,8 +8,6 @@
 # art-output: mc15_2015_ttbar_no_pileup.RDO.pool.root
 # art-output: log.*
 
-unset ATHENA_PROC_NUMBER
-
 Digi_tf.py \
 --inputHITSFile /cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/DigitizationTests/HITS.04919495._001041.pool.root.1 \
 --conditionsTag default:OFLCOND-RUN12-SDR-25 \
diff --git a/Simulation/Tests/DigitizationTestsMT/test/test_Digi_tf_mc15_2015_ttbar_no_pileup_no_ID_MT.sh b/Simulation/Tests/DigitizationTestsMT/test/test_Digi_tf_mc15_2015_ttbar_no_pileup_no_ID_MT.sh
index eb2a0a56bf3..bd489f0fe0c 100755
--- a/Simulation/Tests/DigitizationTestsMT/test/test_Digi_tf_mc15_2015_ttbar_no_pileup_no_ID_MT.sh
+++ b/Simulation/Tests/DigitizationTestsMT/test/test_Digi_tf_mc15_2015_ttbar_no_pileup_no_ID_MT.sh
@@ -8,8 +8,6 @@
 # art-output: mc15_2015_ttbar_no_pileup.RDO.pool.root
 # art-output: log.*
 
-unset ATHENA_PROC_NUMBER
-
 Digi_tf.py \
 --inputHITSFile /cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/DigitizationTests/HITS.04919495._001041.pool.root.1 \
 --conditionsTag default:OFLCOND-RUN12-SDR-25 \
diff --git a/Simulation/Tests/OverlayTestsMT/test/test_MCOverlay_MT_ttbar_1thread.sh b/Simulation/Tests/OverlayTestsMT/test/test_MCOverlay_MT_ttbar_1thread.sh
index 7849ef524c1..4b8784f8165 100755
--- a/Simulation/Tests/OverlayTestsMT/test/test_MCOverlay_MT_ttbar_1thread.sh
+++ b/Simulation/Tests/OverlayTestsMT/test/test_MCOverlay_MT_ttbar_1thread.sh
@@ -11,8 +11,6 @@
 # art-output: mem.full.*
 # art-output: runargs.*
 
-unset ATHENA_PROC_NUMBER
-
 Overlay_tf.py \
 --athenaopts '--threads 1' \
 --inputHITSFile /cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/OverlayMonitoringRTT/valid1.410000.PowhegPythiaEvtGen_P2012_ttbar_hdamp172p5_nonallhad.simul.HITS.e4993_s3091/HITS.10504490._000425.pool.root.1 \
diff --git a/Simulation/Tests/OverlayTestsMT/test/test_MCOverlay_MT_ttbar_4threads.sh b/Simulation/Tests/OverlayTestsMT/test/test_MCOverlay_MT_ttbar_4threads.sh
index f9c85f21d31..9c6bca35fcf 100755
--- a/Simulation/Tests/OverlayTestsMT/test/test_MCOverlay_MT_ttbar_4threads.sh
+++ b/Simulation/Tests/OverlayTestsMT/test/test_MCOverlay_MT_ttbar_4threads.sh
@@ -11,8 +11,6 @@
 # art-output: mem.full.*
 # art-output: runargs.*
 
-unset ATHENA_PROC_NUMBER
-
 Overlay_tf.py \
 --athenaopts '--threads 4' \
 --inputHITSFile /cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/OverlayMonitoringRTT/valid1.410000.PowhegPythiaEvtGen_P2012_ttbar_hdamp172p5_nonallhad.simul.HITS.e4993_s3091/HITS.10504490._000425.pool.root.1 \
diff --git a/Simulation/Tests/SimCoreTestsMT/test/test_AtlasG4_TTbarSim_MT.sh b/Simulation/Tests/SimCoreTestsMT/test/test_AtlasG4_TTbarSim_MT.sh
index 88fe5fb99c1..af81c39918b 100755
--- a/Simulation/Tests/SimCoreTestsMT/test/test_AtlasG4_TTbarSim_MT.sh
+++ b/Simulation/Tests/SimCoreTestsMT/test/test_AtlasG4_TTbarSim_MT.sh
@@ -9,8 +9,6 @@
 # art-output: log.*
 # art-output: tree-orderer.log
 
-unset ATHENA_PROC_NUMBER
-
 AtlasG4_tf.py \
 --athenaopts '--threads 4' \
 --inputEVNTFile '/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/SimCoreTests/ttbar_muplusjets-pythia6-7000.evgen.pool.root' \
diff --git a/Tools/DirectIOART/generateARTtests.py b/Tools/DirectIOART/generateARTtests.py
index 3953108018c..24be7f0c87c 100755
--- a/Tools/DirectIOART/generateARTtests.py
+++ b/Tools/DirectIOART/generateARTtests.py
@@ -100,8 +100,8 @@ echo \"art-result: $? DirectIOART_Athena_RecoTF_inputRDO_protocol_{protocol}\"""
 # art-include: 21.0/Athena
 # art-include: master/Athena\n
 set -e\n
-export ATHENA_PROC_NUMBER=2
-Reco_tf.py --AMI q221 --inputRDOFile {turl} --outputRDO_TRIGFile art.pool.root\n
+export ATHENA_CORE_NUMBER=2
+Reco_tf.py --AMI q221 --multiprocess --inputRDOFile {turl} --outputRDO_TRIGFile art.pool.root\n
 echo \"art-result: $? DirectIOART_AthenaMP_RecoTF_inputRDO_protocol_{protocol}\"""".format(turl=item.values()[0], protocol=item.keys()[0])
         outfile.write(outstring)
         outfile.close()
@@ -138,8 +138,8 @@ echo \"art-result: $? DirectIOART_Athena_RecoTF_inputBS_protocol_{protocol}\""""
 # art-include: 21.0/Athena
 # art-include: master/Athena\n
 set -e\n
-export ATHENA_PROC_NUMBER=2
-Reco_tf.py --AMI q431 --inputBSFile {turl} --outputESDFile art.pool.root\n
+export ATHENA_CORE_NUMBER=2
+Reco_tf.py --AMI q431 --multiprocess --inputBSFile {turl} --outputESDFile art.pool.root\n
 echo \"art-result: $? DirectIOART_AthenaMP_RecoTF_inputBS_protocol_{protocol}\"""".format(turl=item.values()[0], protocol=item.keys()[0])
         outfile.write(outstring)
         outfile.close()
diff --git a/Tools/DirectIOART/test/test_directioart_athenamp_recotf_with_raw_davs.sh b/Tools/DirectIOART/test/test_directioart_athenamp_recotf_with_raw_davs.sh
index bf779a011ce..af2e83e3dda 100755
--- a/Tools/DirectIOART/test/test_directioart_athenamp_recotf_with_raw_davs.sh
+++ b/Tools/DirectIOART/test/test_directioart_athenamp_recotf_with_raw_davs.sh
@@ -8,7 +8,7 @@
 
 set -e
 
-export ATHENA_PROC_NUMBER=2
-Reco_tf.py --AMI q431 --inputBSFile davs://lcg-lrz-http.grid.lrz.de:443/pnfs/lrz-muenchen.de/data/atlas/dq2/atlasdatadisk/rucio/data15_13TeV/71/42/data15_13TeV.00284285.physics_Main.daq.RAW._lb0856._SFO-1._0003.data --outputESDFile art.pool.root
+export ATHENA_CORE_NUMBER=2
+Reco_tf.py --AMI q431 --multiprocess --inputBSFile davs://lcg-lrz-http.grid.lrz.de:443/pnfs/lrz-muenchen.de/data/atlas/dq2/atlasdatadisk/rucio/data15_13TeV/71/42/data15_13TeV.00284285.physics_Main.daq.RAW._lb0856._SFO-1._0003.data --outputESDFile art.pool.root
 
-echo "art-result: $? DirectIOART_AthenaMP_RecoTF_inputBS_protocol_DAVS"
\ No newline at end of file
+echo "art-result: $? DirectIOART_AthenaMP_RecoTF_inputBS_protocol_DAVS"
diff --git a/Tools/DirectIOART/test/test_directioart_athenamp_recotf_with_raw_https.sh b/Tools/DirectIOART/test/test_directioart_athenamp_recotf_with_raw_https.sh
index 5e19d2cfd43..f60236d56b2 100755
--- a/Tools/DirectIOART/test/test_directioart_athenamp_recotf_with_raw_https.sh
+++ b/Tools/DirectIOART/test/test_directioart_athenamp_recotf_with_raw_https.sh
@@ -8,7 +8,7 @@
 
 set -e
 
-export ATHENA_PROC_NUMBER=2
-Reco_tf.py --AMI q431 --inputBSFile https://lcg-lrz-http.grid.lrz.de:443/pnfs/lrz-muenchen.de/data/atlas/dq2/atlasdatadisk/rucio/data15_13TeV/71/42/data15_13TeV.00284285.physics_Main.daq.RAW._lb0856._SFO-1._0003.data --outputESDFile art.pool.root
+export ATHENA_CORE_NUMBER=2
+Reco_tf.py --AMI q431 --multiprocess--inputBSFile https://lcg-lrz-http.grid.lrz.de:443/pnfs/lrz-muenchen.de/data/atlas/dq2/atlasdatadisk/rucio/data15_13TeV/71/42/data15_13TeV.00284285.physics_Main.daq.RAW._lb0856._SFO-1._0003.data --outputESDFile art.pool.root
 
-echo "art-result: $? DirectIOART_AthenaMP_RecoTF_inputBS_protocol_HTTPS"
\ No newline at end of file
+echo "art-result: $? DirectIOART_AthenaMP_RecoTF_inputBS_protocol_HTTPS"
diff --git a/Tools/DirectIOART/test/test_directioart_athenamp_recotf_with_raw_root.sh b/Tools/DirectIOART/test/test_directioart_athenamp_recotf_with_raw_root.sh
index cd3b4a7da69..7e19dba9ff4 100755
--- a/Tools/DirectIOART/test/test_directioart_athenamp_recotf_with_raw_root.sh
+++ b/Tools/DirectIOART/test/test_directioart_athenamp_recotf_with_raw_root.sh
@@ -8,7 +8,7 @@
 
 set -e
 
-export ATHENA_PROC_NUMBER=2
-Reco_tf.py --AMI q431 --inputBSFile root://lcg-lrz-rootd.grid.lrz.de:1094/pnfs/lrz-muenchen.de/data/atlas/dq2/atlasdatadisk/rucio/data15_13TeV/71/42/data15_13TeV.00284285.physics_Main.daq.RAW._lb0856._SFO-1._0003.data --outputESDFile art.pool.root
+export ATHENA_CORE_NUMBER=2
+Reco_tf.py --AMI q431 --multiproces --inputBSFile root://lcg-lrz-rootd.grid.lrz.de:1094/pnfs/lrz-muenchen.de/data/atlas/dq2/atlasdatadisk/rucio/data15_13TeV/71/42/data15_13TeV.00284285.physics_Main.daq.RAW._lb0856._SFO-1._0003.data --outputESDFile art.pool.root
 
-echo "art-result: $? DirectIOART_AthenaMP_RecoTF_inputBS_protocol_ROOT"
\ No newline at end of file
+echo "art-result: $? DirectIOART_AthenaMP_RecoTF_inputBS_protocol_ROOT"
diff --git a/Tools/DirectIOART/test/test_directioart_athenamp_recotf_with_rdo_davs.sh b/Tools/DirectIOART/test/test_directioart_athenamp_recotf_with_rdo_davs.sh
index 73c39c6b470..9ccc5f57ad8 100755
--- a/Tools/DirectIOART/test/test_directioart_athenamp_recotf_with_rdo_davs.sh
+++ b/Tools/DirectIOART/test/test_directioart_athenamp_recotf_with_rdo_davs.sh
@@ -8,7 +8,7 @@
 
 set -e
 
-export ATHENA_PROC_NUMBER=2
-Reco_tf.py --AMI q221 --inputRDOFile davs://lcg-lrz-http.grid.lrz.de:443/pnfs/lrz-muenchen.de/data/atlas/dq2/atlasdatadisk/rucio/mc16_13TeV/90/96/RDO.11373415._000001.pool.root.1 --outputRDO_TRIGFile art.pool.root
+export ATHENA_CORE_NUMBER=2
+Reco_tf.py --AMI q221 --multiprocess --inputRDOFile davs://lcg-lrz-http.grid.lrz.de:443/pnfs/lrz-muenchen.de/data/atlas/dq2/atlasdatadisk/rucio/mc16_13TeV/90/96/RDO.11373415._000001.pool.root.1 --outputRDO_TRIGFile art.pool.root
 
-echo "art-result: $? DirectIOART_AthenaMP_RecoTF_inputRDO_protocol_DAVS"
\ No newline at end of file
+echo "art-result: $? DirectIOART_AthenaMP_RecoTF_inputRDO_protocol_DAVS"
diff --git a/Tools/DirectIOART/test/test_directioart_athenamp_recotf_with_rdo_https.sh b/Tools/DirectIOART/test/test_directioart_athenamp_recotf_with_rdo_https.sh
index 1f56f36ac9c..354848b5cb3 100755
--- a/Tools/DirectIOART/test/test_directioart_athenamp_recotf_with_rdo_https.sh
+++ b/Tools/DirectIOART/test/test_directioart_athenamp_recotf_with_rdo_https.sh
@@ -8,7 +8,7 @@
 
 set -e
 
-export ATHENA_PROC_NUMBER=2
-Reco_tf.py --AMI q221 --inputRDOFile https://lcg-lrz-http.grid.lrz.de:443/pnfs/lrz-muenchen.de/data/atlas/dq2/atlasdatadisk/rucio/mc16_13TeV/90/96/RDO.11373415._000001.pool.root.1 --outputRDO_TRIGFile art.pool.root
+export ATHENA_CORE_NUMBER=2
+Reco_tf.py --AMI q221 --multiprocess --inputRDOFile https://lcg-lrz-http.grid.lrz.de:443/pnfs/lrz-muenchen.de/data/atlas/dq2/atlasdatadisk/rucio/mc16_13TeV/90/96/RDO.11373415._000001.pool.root.1 --outputRDO_TRIGFile art.pool.root
 
-echo "art-result: $? DirectIOART_AthenaMP_RecoTF_inputRDO_protocol_HTTPS"
\ No newline at end of file
+echo "art-result: $? DirectIOART_AthenaMP_RecoTF_inputRDO_protocol_HTTPS"
diff --git a/Tools/DirectIOART/test/test_directioart_athenamp_recotf_with_rdo_root.sh b/Tools/DirectIOART/test/test_directioart_athenamp_recotf_with_rdo_root.sh
index 56bbfeb3c62..56d91792bc7 100755
--- a/Tools/DirectIOART/test/test_directioart_athenamp_recotf_with_rdo_root.sh
+++ b/Tools/DirectIOART/test/test_directioart_athenamp_recotf_with_rdo_root.sh
@@ -8,7 +8,7 @@
 
 set -e
 
-export ATHENA_PROC_NUMBER=2
-Reco_tf.py --AMI q221 --inputRDOFile root://lcg-lrz-rootd.grid.lrz.de:1094/pnfs/lrz-muenchen.de/data/atlas/dq2/atlasdatadisk/rucio/mc16_13TeV/90/96/RDO.11373415._000001.pool.root.1 --outputRDO_TRIGFile art.pool.root
+export ATHENA_CORE_NUMBER=2
+Reco_tf.py --AMI q221 --multiprocess --inputRDOFile root://lcg-lrz-rootd.grid.lrz.de:1094/pnfs/lrz-muenchen.de/data/atlas/dq2/atlasdatadisk/rucio/mc16_13TeV/90/96/RDO.11373415._000001.pool.root.1 --outputRDO_TRIGFile art.pool.root
 
-echo "art-result: $? DirectIOART_AthenaMP_RecoTF_inputRDO_protocol_ROOT"
\ No newline at end of file
+echo "art-result: $? DirectIOART_AthenaMP_RecoTF_inputRDO_protocol_ROOT"
diff --git a/Tools/PyJobTransforms/python/trfArgs.py b/Tools/PyJobTransforms/python/trfArgs.py
index ccab1ba9d92..4fd1ac7dcfb 100644
--- a/Tools/PyJobTransforms/python/trfArgs.py
+++ b/Tools/PyJobTransforms/python/trfArgs.py
@@ -113,6 +113,10 @@ def addAthenaArguments(parser, maxEventsDefaultSubstep='first', addValgrind=True
     parser.add_argument('--eventService', type=trfArgClasses.argFactory(trfArgClasses.argBool, runarg=True),
                         metavar='BOOL', group='Athena',
                         help='Switch AthenaMP to the Event Service configuration')
+    parser.add_argument('--multithreaded', group='Athena', action='store_true',
+                        help='Multithreaded mode active')
+    parser.add_argument('--multiprocess', group='Athena', action='store_true',
+                        help='Multiprocess mode active')
 
     if addValgrind:
         addValgrindArguments(parser)
diff --git a/Tools/PyJobTransforms/python/trfExe.py b/Tools/PyJobTransforms/python/trfExe.py
index e3b8ca97a09..9139d1b708a 100755
--- a/Tools/PyJobTransforms/python/trfExe.py
+++ b/Tools/PyJobTransforms/python/trfExe.py
@@ -41,7 +41,7 @@ from PyJobTransforms.trfUtils import bind_port
 from PyJobTransforms.trfExitCodes import trfExit
 from PyJobTransforms.trfLogger import stdLogLevels
 from PyJobTransforms.trfMPTools import detectAthenaMPProcs, athenaMPOutputHandler
-
+from PyJobTransforms.trfMTTools import detectAthenaMTThreads
 
 import PyJobTransforms.trfExceptions as trfExceptions
 import PyJobTransforms.trfValidation as trfValidation
@@ -170,6 +170,7 @@ class transformExecutor(object):
         self._memStats = {}
         self._eventCount = None
         self._athenaMP = None
+        self._athenaMT = None
         self._dbMonitor = None
         
         # Holder for execution information about any merges done by this executor in MP mode
@@ -791,8 +792,7 @@ class athenaExecutor(scriptExecutor):
     #  executor to the workflow graph, run the executor manually with these data parameters (useful for 
     #  post-facto executors, e.g., for AthenaMP merging)
     #  @param memMonitor Enable subprocess memory monitoring
-    #  @param disableMP Ensure that AthenaMP is not used (i.e., also unset 
-    #  @c ATHENA_PROC_NUMBER before execution)
+    #  @param disableMP Ensure that AthenaMP is not used
     #  @note The difference between @c extraRunargs, @c runtimeRunargs and @c literalRunargs is that: @c extraRunargs 
     #  uses repr(), so the RHS is the same as the python object in the transform; @c runtimeRunargs uses str() so 
     #  that a string can be interpreted at runtime; @c literalRunargs allows the direct insertion of arbitary python
@@ -903,12 +903,34 @@ class athenaExecutor(scriptExecutor):
             msg.info('input event count is UNDEFINED, setting expectedEvents to 0')
             expectedEvents = 0
         
+        # Check the consistency of parallel configuration: CLI flags + evnironment
+        # 1. Both --multithreaded and --multiprocess flags have been set
+        if ('multithreaded' in self.conf._argdict and
+            'multiprocess' in self.conf._argdict):
+            raise trfExceptions.TransformExecutionException(trfExit.nameToCode('TRF_SETUP'),
+                                                            'both --multithreaded and --multiprocess command line options provided. Please use only one of them')
+
+        # 2. One of the parallel command-line flags has been provided but ATHENA_CORE_NUMBER environment has not been set
+        if (('multithreaded' in self.conf._argdict or 'multiprocess' in self.conf._argdict) and
+            (not 'ATHENA_CORE_NUMBER' in os.environ)):
+            raise trfExceptions.TransformExecutionException(trfExit.nameToCode('TRF_SETUP'),
+                                                            'either --multithreaded nor --multiprocess command line option provided but ATHENA_CORE_NUMBER environment has not been set')
+
+        # Try to detect AthenaMT mode and number of threads
+        self._athenaMT = detectAthenaMTThreads(self.conf.argdict)
+
         # Try to detect AthenaMP mode and number of workers
+        self._athenaMP = detectAthenaMPProcs(self.conf.argdict)
+
+        # Another constistency check: make sure we don't have a configuration like follows:
+        # ... --multithreaded --athenaopts=--nprocs=N
+        if (self._athenaMT != 0 and self._athenaMP != 0):
+            raise trfExceptions.TransformExecutionException(trfExit.nameToCode('TRF_SETUP'),
+                                                            'transform configured to run Athena in both MT and MP modes. Only one parallel mode at a time must be used')
+
         if self._disableMP:
             self._athenaMP = 0
         else:
-            self._athenaMP = detectAthenaMPProcs(self.conf.argdict)
-
             # Small hack to detect cases where there are so few events that it's not worthwhile running in MP mode
             # which also avoids issues with zero sized files
             if expectedEvents < self._athenaMP:
@@ -1223,6 +1245,18 @@ class athenaExecutor(scriptExecutor):
         else:
             msg.info('Skipping test for "--drop-and-reload" in this executor')
             
+        # For AthenaMT apply --threads=N if threads have been configured via ATHENA_CORE_NUMBER + multithreaded
+        if self._athenaMT != 0 :
+            if not ('athenaopts' in self.conf.argdict and
+                any('--threads' in opt for opt in self.conf.argdict['athenaopts'].value[currentSubstep])):
+                self._cmd.append('--threads=%s' % str(self._athenaMT))
+
+        # For AthenaMP apply --threads=N if threads have been configured via ATHENA_CORE_NUMBER + multiprocess
+        if (self._athenaMP !=0 and not self._disableMP):
+            if not ('athenaopts' in self.conf.argdict and
+                any('--nprocs' in opt for opt in self.conf.argdict['athenaopts'].value[currentSubstep])):
+                self._cmd.append('--nprocs=%s' % str(self._athenaMP))
+
         # Add topoptions
         if self._skeleton is not None:
             self._cmd += self._topOptionsFiles
@@ -1273,7 +1307,6 @@ class athenaExecutor(scriptExecutor):
                     print('DATAPATH={dbroot}:$DATAPATH'.format(dbroot = dbroot), file=wrapper)
                 if self._disableMP:
                     print("# AthenaMP explicitly disabled for this executor", file=wrapper)
-                    print("export ATHENA_PROC_NUMBER=0", file=wrapper)
                 if self._envUpdate.len > 0:
                     print("# Customised environment", file=wrapper)
                     for envSetting in  self._envUpdate.values:
diff --git a/Tools/PyJobTransforms/python/trfMPTools.py b/Tools/PyJobTransforms/python/trfMPTools.py
index 795b3f47e52..f2e8e80bd30 100644
--- a/Tools/PyJobTransforms/python/trfMPTools.py
+++ b/Tools/PyJobTransforms/python/trfMPTools.py
@@ -32,23 +32,27 @@ def detectAthenaMPProcs(argdict = {}):
     
     # Try and detect if any AthenaMP has been enabled 
     try:
-        if 'ATHENA_PROC_NUMBER' in os.environ:
-            athenaMPProcs = int(os.environ['ATHENA_PROC_NUMBER'])
-            if athenaMPProcs < 0:
-                raise ValueError("ATHENA_PROC_NUMBER value was less than zero")
-            msg.info('AthenaMP detected from ATHENA_PROC_NUMBER with {0} workers'.format(athenaMPProcs))
-        elif 'athenaopts' in argdict:
+        if 'athenaopts' in argdict:
             for substep in argdict['athenaopts'].value:
                 procArg = [opt.replace("--nprocs=", "") for opt in argdict['athenaopts'].value[substep] if '--nprocs' in opt]
                 if len(procArg) == 0:
                     athenaMPProcs = 0
                 elif len(procArg) == 1:
+                    if 'multiprocess' in argdict:
+                        raise ValueError("Detected conflicting methods to configure AthenaMP: --multiprocess and --nprocs=N (via athenaopts). Only one method must be used")
                     athenaMPProcs = int(procArg[0])
-                    if athenaMPProcs < 0:
-                        raise ValueError("--nprocs was set to a value less than zero")
+                    if athenaMPProcs < -1:
+                        raise ValueError("--nprocs was set to a value less than -1")
                 else:
                     raise ValueError("--nprocs was set more than once in 'athenaopts'")
                 msg.info('AthenaMP detected from "nprocs" setting with {0} workers for substep {1}'.format(athenaMPProcs,substep))
+        if (athenaMPProcs == 0 and
+            'ATHENA_CORE_NUMBER' in os.environ and
+            'multiprocess' in argdict):
+            athenaMPProcs = int(os.environ['ATHENA_CORE_NUMBER'])
+            if athenaMPProcs < -1:
+                raise ValueError("ATHENA_CORE_NUMBER value was less than -1")
+            msg.info('AthenaMP detected from ATHENA_CORE_NUMBER with {0} workers'.format(athenaMPProcs))
     except ValueError as errMsg:
         myError = 'Problem discovering AthenaMP setup: {0}'.format(errMsg)
         raise trfExceptions.TransformExecutionException(trfExit.nameToCode('TRF_EXEC_SETUP_FAIL'), myError)
diff --git a/Tools/PyJobTransforms/python/trfMTTools.py b/Tools/PyJobTransforms/python/trfMTTools.py
new file mode 100644
index 00000000000..d5f4bbf816c
--- /dev/null
+++ b/Tools/PyJobTransforms/python/trfMTTools.py
@@ -0,0 +1,52 @@
+# Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
+
+## @package PyJobTransforms.trfMTTools
+#
+# @brief Utilities for handling AthenaMT jobs
+# 
+
+__version__ = '$Revision'
+
+import os
+
+import logging
+msg = logging.getLogger(__name__)
+
+from PyJobTransforms.trfExitCodes import trfExit
+
+import PyJobTransforms.trfExceptions as trfExceptions
+
+## @brief Detect if AthenaMT has been requested
+#  @param argdict Argument dictionary, used to access athenaopts for the job
+#  @return Integer with the number of threads, N.B. 0 means non-MT serial mode
+def detectAthenaMTThreads(argdict = {}):
+    athenaMTThreads = 0
+
+    # Try and detect if any AthenaMT has been enabled 
+    try:
+        if 'athenaopts' in argdict:
+            for substep in argdict['athenaopts'].value:
+                threadArg = [opt.replace("--threads=", "") for opt in argdict['athenaopts'].value[substep] if '--threads' in opt]
+                if len(threadArg) == 0:
+                    athenaMTThreads = 0
+                elif len(threadArg) == 1:
+                    if 'multithreaded' in argdict:
+                        raise ValueError("Detected conflicting methods to configure AthenaMT: --multithreaded and --threads=N (via athenaopts). Only one method must be used")
+                    athenaMTThreads = int(threadArg[0])
+                    if athenaMTThreads < -1:
+                        raise ValueError("--threads was set to a value less than -1")
+                else:
+                    raise ValueError("--threads was set more than once in 'athenaopts'")
+                msg.info('AthenaMT detected from "threads" setting with {0} threads for substep {1}'.format(athenaMTThreads,substep))
+        if (athenaMTThreads == 0 and
+            'ATHENA_CORE_NUMBER' in os.environ and
+            'multithreaded' in argdict):
+            athenaMTThreads = int(os.environ['ATHENA_CORE_NUMBER'])
+            if athenaMTThreads < -1:
+                raise ValueError("ATHENA_CORE_NUMBER value was less than -1")
+            msg.info('AthenaMT detected from ATHENA_CORE_NUMBER with {0} threads'.format(athenaMTThreads))
+    except ValueError as errMsg:
+        myError = 'Problem discovering AthenaMT setup: {0}'.format(errMsg)
+        raise trfExceptions.TransformExecutionException(trfExit.nameToCode('TRF_EXEC_SETUP_FAIL'), myError)
+
+    return athenaMTThreads
diff --git a/Tools/PyJobTransforms/test/test_trfMPTools.py b/Tools/PyJobTransforms/test/test_trfMPTools.py
index aa585d4bb7b..287ddf1d087 100755
--- a/Tools/PyJobTransforms/test/test_trfMPTools.py
+++ b/Tools/PyJobTransforms/test/test_trfMPTools.py
@@ -25,7 +25,7 @@ import PyJobTransforms.trfExceptions as trfExceptions
 ## Unit tests
 class AthenaMPProcTests(unittest.TestCase):
     def setUp(self):
-        os.environ.pop("ATHENA_PROC_NUMBER", "")
+        os.environ.pop("ATHENA_CORE_NUMBER", "")
     
     def test_noMP(self):
         self.assertEqual(detectAthenaMPProcs(), 0)
@@ -33,21 +33,7 @@ class AthenaMPProcTests(unittest.TestCase):
     def test_noMPwithArgdict(self):
         argdict={'movealong': argList('nothing to see here'), 'athenaopts': argSubstepList(['some', 'random', 'values'])}
         self.assertEqual(detectAthenaMPProcs(argdict), 0)
-        
-    def test_MPfromEnv(self):
-        os.environ["ATHENA_PROC_NUMBER"] = "8"
-        self.assertEqual(detectAthenaMPProcs(), 8)
-        
-    def test_MPfromEnvEmpty(self):
-        os.environ["ATHENA_PROC_NUMBER"] = "0"
-        self.assertEqual(detectAthenaMPProcs(), 0)
-        
-    def test_MPBadfromEnv(self):
-        os.environ["ATHENA_PROC_NUMBER"] = "-1"
-        self.assertRaises(trfExceptions.TransformExecutionException, detectAthenaMPProcs)
-        os.environ["ATHENA_PROC_NUMBER"] = "notAnInt"
-        self.assertRaises(trfExceptions.TransformExecutionException, detectAthenaMPProcs)
-        
+             
     def test_MPfromArgdict(self):
         argdict={'movealong': argList('nothing to see here'), 'athenaopts': argSubstepList(['--nprocs=8', 'random', 'values'])}
         self.assertEqual(detectAthenaMPProcs(argdict), 8)
@@ -64,13 +50,6 @@ class AthenaMPProcTests(unittest.TestCase):
         argdict={'movealong': argList('nothing to see here'), 'athenaopts': argSubstepList(['--nprocs=4', '--nprocs=8', 'values'])}
         self.assertRaises(trfExceptions.TransformExecutionException, detectAthenaMPProcs, argdict)
 
-    def test_MPfromBoth(self):
-        # Env should have priority
-        os.environ["ATHENA_PROC_NUMBER"] = "4"
-        argdict={'movealong': argList('nothing to see here'), 'athenaopts': argSubstepList(['--nprocs=2', 'random', 'values'])}
-        self.assertEqual(detectAthenaMPProcs(argdict), 4)
-
-
 class AthenaMPOutputParseTests(unittest.TestCase):
     def setUp(self):
         # Gah, this is a pest to setup! Need to creat stub files for the mother outputs
diff --git a/Tools/PyUtils/python/AthFile/impl.py b/Tools/PyUtils/python/AthFile/impl.py
index 6528f518dad..f2e9d5f2066 100644
--- a/Tools/PyUtils/python/AthFile/impl.py
+++ b/Tools/PyUtils/python/AthFile/impl.py
@@ -1024,9 +1024,6 @@ class FilePeeker(object):
         # user-driven (and might need user-customized macros or configurations)
         self._sub_env['ROOTENV_NO_HOME'] = '1'
 
-        # prevent from running athena-mp unadvertantly...
-        self._sub_env['ATHENA_PROC_NUMBER'] ='0'
-
         # prevent from running athena in interactive mode (and freeze)
         if 'PYTHONINSPECT' in self._sub_env:
             del self._sub_env['PYTHONINSPECT']
@@ -1186,9 +1183,6 @@ class FilePeeker(object):
                             """ % str([file_name])
                         app << """
                             import os
-                            # prevent from running athena-mp in child processes
-                            os.putenv('ATHENA_PROC_NUMBER','0')
-    
                             # prevent from running athena in interactive mode (and freeze)
                             if 'PYTHONINSPECT' in os.environ:
                                 del os.environ['PYTHONINSPECT']
diff --git a/Tools/PyUtils/python/AthFileLite.py b/Tools/PyUtils/python/AthFileLite.py
index 917a32475ae..e76a2737725 100644
--- a/Tools/PyUtils/python/AthFileLite.py
+++ b/Tools/PyUtils/python/AthFileLite.py
@@ -126,7 +126,6 @@ class AthPoolFile(object):
 
             print >>jo, os.linesep.join(("FNAME=['{filename}']",
                                         "import os",
-                                        "os.environ['ATHENA_PROC_NUMBER'] = '0'",
                                         "os.environ.pop('PYTHONINSPECT', None)",
                                         "include('AthenaPython/athfile_peeker.py')",
                                         "from AthenaCommon.AlgSequence import AlgSequence",
@@ -145,7 +144,6 @@ class AthPoolFile(object):
         out = open(self._logFile, 'wb')
         try:
             athenv = os.environ.copy()
-            athenv["ATHENA_PROC_NUMBER"] = "0"   # Suppress AthenaMP running
             subprocess.check_call(['athena.py', self._jobOptionsFile], stdout=out, stderr=out, env=athenv)
         except subprocess.CalledProcessError:
             # Don't delete log files if errors occured
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_all_ttbar_pu40.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_all_ttbar_pu40.sh
index 8e6ccff91a3..6526c413eac 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_all_ttbar_pu40.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_all_ttbar_pu40.sh
@@ -112,10 +112,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_all_ttbar_pu60.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_all_ttbar_pu60.sh
index 4903f1291dd..6b84cdcf263 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_all_ttbar_pu60.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_all_ttbar_pu60.sh
@@ -112,10 +112,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_all_ttbar_pu80.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_all_ttbar_pu80.sh
index 8c3039ea081..eb49ab90978 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_all_ttbar_pu80.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_all_ttbar_pu80.sh
@@ -112,10 +112,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_beamspot_ttbar_pu40.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_beamspot_ttbar_pu40.sh
index d8e15e60aa1..3d47d77319b 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_beamspot_ttbar_pu40.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_beamspot_ttbar_pu40.sh
@@ -103,10 +103,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_beamspot_ttbar_pu40_zfinder.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_beamspot_ttbar_pu40_zfinder.sh
index 4fc9483b795..8c028a77bcd 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_beamspot_ttbar_pu40_zfinder.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_beamspot_ttbar_pu40_zfinder.sh
@@ -103,10 +103,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_beamspot_ttbar_pu80_zfinder.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_beamspot_ttbar_pu80_zfinder.sh
index cad5c246707..1459c1411ed 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_beamspot_ttbar_pu80_zfinder.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_beamspot_ttbar_pu80_zfinder.sh
@@ -103,10 +103,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_bjet_ibl_pu40.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_bjet_ibl_pu40.sh
index 54b64387fd9..46e3617bdaa 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_bjet_ibl_pu40.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_bjet_ibl_pu40.sh
@@ -106,10 +106,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_bjet_ibl_pu40_2016config.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_bjet_ibl_pu40_2016config.sh
index a83a6ce9233..81db1ed282c 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_bjet_ibl_pu40_2016config.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_bjet_ibl_pu40_2016config.sh
@@ -104,10 +104,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_bjet_ibl_pu40_offline.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_bjet_ibl_pu40_offline.sh
index 2933eabc341..82f61767404 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_bjet_ibl_pu40_offline.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_bjet_ibl_pu40_offline.sh
@@ -105,10 +105,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_bjet_ibl_pu40_offline_2016config.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_bjet_ibl_pu40_offline_2016config.sh
index 17e8d505fbc..8b62df6a2b8 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_bjet_ibl_pu40_offline_2016config.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_bjet_ibl_pu40_offline_2016config.sh
@@ -104,10 +104,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_bjet_ibl_pu80.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_bjet_ibl_pu80.sh
index 10bf0dd9ea7..7bc33b20c34 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_bjet_ibl_pu80.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_bjet_ibl_pu80.sh
@@ -104,10 +104,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_jpsiee_pu40.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_jpsiee_pu40.sh
index cf90351176b..7df1762bc70 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_jpsiee_pu40.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_jpsiee_pu40.sh
@@ -104,10 +104,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_single_e_7-80_ibl.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_single_e_7-80_ibl.sh
index d36972714f0..65feb02d213 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_single_e_7-80_ibl.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_single_e_7-80_ibl.sh
@@ -106,10 +106,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_single_e_7-80_ibl_pu40.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_single_e_7-80_ibl_pu40.sh
index 5add2cdbe8a..7ec1700b065 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_single_e_7-80_ibl_pu40.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_single_e_7-80_ibl_pu40.sh
@@ -106,10 +106,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_single_e_7-80_larged0.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_single_e_7-80_larged0.sh
index ca62ee7cb69..6870c3fc0f2 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_single_e_7-80_larged0.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_single_e_7-80_larged0.sh
@@ -106,10 +106,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_single_e_7-80_larged0_pu.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_single_e_7-80_larged0_pu.sh
index 856ca09b787..ec0c102a4eb 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_single_e_7-80_larged0_pu.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_single_e_7-80_larged0_pu.sh
@@ -106,10 +106,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_ttbar_pu40.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_ttbar_pu40.sh
index ea3b12cd0d6..f4f67768b21 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_ttbar_pu40.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_ttbar_pu40.sh
@@ -106,10 +106,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_ttbar_pu80.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_ttbar_pu80.sh
index 94e948f5a26..963ae4a4f74 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_ttbar_pu80.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_ttbar_pu80.sh
@@ -106,10 +106,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_zee_ibl_pu40.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_zee_ibl_pu40.sh
index fdb537747ac..3db3c0008e1 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_zee_ibl_pu40.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_zee_ibl_pu40.sh
@@ -106,10 +106,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_zee_ibl_pu40_offline.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_zee_ibl_pu40_offline.sh
index c4950df8e40..742ceb9b9a3 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_zee_ibl_pu40_offline.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_zee_ibl_pu40_offline.sh
@@ -106,10 +106,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_zee_ibl_pu40_offline_rzmatcher.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_zee_ibl_pu40_offline_rzmatcher.sh
index aca9132a161..9b6f6825e92 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_zee_ibl_pu40_offline_rzmatcher.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_zee_ibl_pu40_offline_rzmatcher.sh
@@ -106,10 +106,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_zee_ibl_pu40_rzmatcher.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_zee_ibl_pu40_rzmatcher.sh
index fb323072b83..dfb6eb925ce 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_zee_ibl_pu40_rzmatcher.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_el_zee_ibl_pu40_rzmatcher.sh
@@ -106,10 +106,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_ftk_beamspot_ttbar.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_ftk_beamspot_ttbar.sh
index 27bcc4853c7..5e2d9d9db9c 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_ftk_beamspot_ttbar.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_ftk_beamspot_ttbar.sh
@@ -104,10 +104,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_ftk_bjet_ttbar.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_ftk_bjet_ttbar.sh
index e516799b748..8ecff34d784 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_ftk_bjet_ttbar.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_ftk_bjet_ttbar.sh
@@ -104,10 +104,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_ftk_bjet_ttbar_offline.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_ftk_bjet_ttbar_offline.sh
index 7bd21fbb88b..d4e6b85af5b 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_ftk_bjet_ttbar_offline.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_ftk_bjet_ttbar_offline.sh
@@ -104,10 +104,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_ftk_mu_ttbar.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_ftk_mu_ttbar.sh
index 538588b2d75..4ccb2b7df7c 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_ftk_mu_ttbar.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_ftk_mu_ttbar.sh
@@ -106,10 +106,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_ftk_mu_ttbar_offline.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_ftk_mu_ttbar_offline.sh
index edd64517608..bd3cab68d97 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_ftk_mu_ttbar_offline.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_ftk_mu_ttbar_offline.sh
@@ -106,10 +106,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_ftk_tau_tautau.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_ftk_tau_tautau.sh
index 1933e632c17..e71311848c7 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_ftk_tau_tautau.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_ftk_tau_tautau.sh
@@ -104,10 +104,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_minbias.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_minbias.sh
index 4c8c0dd2bb2..735d9319b90 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_minbias.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_minbias.sh
@@ -103,10 +103,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_minbias_offline.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_minbias_offline.sh
index 73faaba405c..7e023074c9c 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_minbias_offline.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_minbias_offline.sh
@@ -103,10 +103,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_mu_bphys_ibl.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_mu_bphys_ibl.sh
index fafe0d74b17..7a2cd69f853 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_mu_bphys_ibl.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_mu_bphys_ibl.sh
@@ -104,10 +104,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_mu_single_mu_larged0.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_mu_single_mu_larged0.sh
index 569c18e758b..a1accc5c64e 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_mu_single_mu_larged0.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_mu_single_mu_larged0.sh
@@ -104,10 +104,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_mu_single_mu_larged0_pu.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_mu_single_mu_larged0_pu.sh
index efd605936a1..1a281b3cf88 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_mu_single_mu_larged0_pu.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_mu_single_mu_larged0_pu.sh
@@ -104,10 +104,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_mu_zmumu_ibl_pu40.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_mu_zmumu_ibl_pu40.sh
index a2544cfef20..3bf076611bf 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_mu_zmumu_ibl_pu40.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_mu_zmumu_ibl_pu40.sh
@@ -104,10 +104,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_mu_zmumu_ibl_pu40_offline.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_mu_zmumu_ibl_pu40_offline.sh
index c7d204658a8..067dda3f6a0 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_mu_zmumu_ibl_pu40_offline.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_mu_zmumu_ibl_pu40_offline.sh
@@ -104,10 +104,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_mu_zmumu_ibl_pu40_offline_rzmatcher.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_mu_zmumu_ibl_pu40_offline_rzmatcher.sh
index 53505c5bd69..707903d198f 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_mu_zmumu_ibl_pu40_offline_rzmatcher.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_mu_zmumu_ibl_pu40_offline_rzmatcher.sh
@@ -104,10 +104,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_mu_zmumu_ibl_pu40_rzmatcher.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_mu_zmumu_ibl_pu40_rzmatcher.sh
index 9d00cc04747..401253268fc 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_mu_zmumu_ibl_pu40_rzmatcher.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_mu_zmumu_ibl_pu40_rzmatcher.sh
@@ -104,10 +104,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_tau_ibl_pu46.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_tau_ibl_pu46.sh
index 5b6032e021d..9a728dc1159 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_tau_ibl_pu46.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_tau_ibl_pu46.sh
@@ -104,10 +104,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_tau_ibl_pu46_nodoublet.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_tau_ibl_pu46_nodoublet.sh
index cee8265c5eb..6d0e0922b47 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_tau_ibl_pu46_nodoublet.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_tau_ibl_pu46_nodoublet.sh
@@ -104,10 +104,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_tau_ibl_pu46_offline.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_tau_ibl_pu46_offline.sh
index ec2f5cfb9f8..62f06bad95d 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_tau_ibl_pu46_offline.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_tau_ibl_pu46_offline.sh
@@ -104,10 +104,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_tau_ibl_pu46_roiparam.sh b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_tau_ibl_pu46_roiparam.sh
index 8fb21e737dd..80c78c99838 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_tau_ibl_pu46_roiparam.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/test_trigindetvalidation_tau_ibl_pu46_roiparam.sh
@@ -104,10 +104,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
diff --git a/Trigger/TrigValidation/TrigInDetValidation/test/trigindetvalidation_cosmic.sh b/Trigger/TrigValidation/TrigInDetValidation/test/trigindetvalidation_cosmic.sh
index f32f905b814..f35ee082a18 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/test/trigindetvalidation_cosmic.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/test/trigindetvalidation_cosmic.sh
@@ -40,10 +40,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 # count how many jobs are running ...
diff --git a/Trigger/TrigValidation/TrigInDetValidation/utils/template.sh b/Trigger/TrigValidation/TrigInDetValidation/utils/template.sh
index afec9f3c138..56b4926d0ea 100755
--- a/Trigger/TrigValidation/TrigInDetValidation/utils/template.sh
+++ b/Trigger/TrigValidation/TrigInDetValidation/utils/template.sh
@@ -82,10 +82,8 @@ WAITING=60
 # export ATHENA_NUM_PROC=1
 
 unset  ATHENA_NUM_PROC
-unset  ATHENA_PROC_NUMBER
  
 env | grep ATHENA_NUM_PROC
-env | grep ATHENA_PROC_NUMBER
 
 
 
-- 
GitLab