diff --git a/Simulation/SimulationJobOptions/share/specialConfig/preInclude.RHadrons.py b/Simulation/SimulationJobOptions/share/specialConfig/preInclude.RHadrons.py index 3b66fd21e584d94fc30ccd7a43cabb95d8c4ec75..8deb44b9d1df545f50a0386110a66bf18fb12aa4 100644 --- a/Simulation/SimulationJobOptions/share/specialConfig/preInclude.RHadrons.py +++ b/Simulation/SimulationJobOptions/share/specialConfig/preInclude.RHadrons.py @@ -463,6 +463,12 @@ if usePythia8: from EvgenJobTransforms.jo_proxy import mk_jo_proxy mk_jo_proxy(cvmfs_mc15, "MC15JobOptions", "_joproxy15") + # Updating JOBOPTSEARCHPATH env var on the athena side + import re,os + from AthenaCommon import Include + Include.optionsPathEnv = os.environ[ 'JOBOPTSEARCHPATH' ] + Include.optionsPath = re.split( ',|' + os.pathsep, Include.optionsPathEnv ) + # Include the job options themselves include(JO)