Commit 7821ea13 authored by Nils Erik Krumnack's avatar Nils Erik Krumnack Committed by Atlas Nightlybuild
Browse files

Merge branch 'el_ext_file' into '21.2'

support external files in EventLoopGrid

See merge request atlas/athena!43681

(cherry picked from commit 4cc0499dfa8c4452e7cde190f3a69da42b5d4c20)

093d5666 support external files in EventLoopGrid
parent 85d4504a
Pipeline #2630834 passed with stage
in 0 seconds
......@@ -440,6 +440,10 @@ namespace EL
/// \}
/// a list of files that need to be available within the worker job
static const std::string optUserFiles;
/// description: batch-specific options
/// rationale: these options are for configuring batch drivers
......
......@@ -105,6 +105,8 @@ namespace EL
const std::string Job::optRetries = SH::MetaNames::openRetries();
const std::string Job::optRetriesWait = SH::MetaNames::openRetriesWait();
const std::string Job::optUserFiles = "nc_EventLoop_UserFiles";
const std::string Job::optMemResidentPerEventIncreaseLimit =
"nc_resMemPerEventIncrease";
const std::string Job::optMemVirtualPerEventIncreaseLimit =
......
......@@ -96,7 +96,12 @@ def ELG_prun(sample) :
import copy
dummycmd = copy.deepcopy(cmd)
dummycmd += ["--outTarBall=jobcontents.tgz"]
dummycmd += ["--extFile=jobdef.root,runjob.sh"]
if len(sample.meta().castString('nc_EventLoop_UserFiles')) :
dummycmd += ["--extFile=jobdef.root,runjob.sh," + ",".join (sample.meta().castString('nc_EventLoop_UserFiles'))]
pass
else :
dummycmd += ["--extFile=jobdef.root,runjob.sh"]
pass
dummycmd += ["--noSubmit"]
try:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment