40 testInvariant ()
const
55 ::StatusCode LLDriver ::
56 doManagerStep (Detail::ManagerData&
data)
const
59 using namespace msgEventLoop;
65 data.batchName =
"run{JOBID}.cmd";
68 "# @ job_name = EventLoopAnalysis{JOBID}\n"
69 "# @ job_type = serial\n"
70 "# @ error = $(Cluster).err\n"
71 "# @ output = $(Cluster).out\n"
72 "# @ class = " + queue +
"\n"
73 "# @ resources = ConsumableCpus(1) ConsumableMemory(4gb)\n"
74 "# @ wall_clock_limit = 00:20:00\n"
85 for (std::size_t iter :
data.batchJobIndices)
89 std::ostringstream cmd;
90 cmd <<
"cd " <<
data.submitDir <<
"/submit && llsubmit "
92 <<
" run"<<iter<<
".cmd";
94 if (gSystem->Exec (cmd.str().c_str()) != 0)
97 data.submitted =
true;
104 return ::StatusCode::SUCCESS;
#define RCU_NEW_INVARIANT(x)
#define RCU_READ_INVARIANT(x)
char data[hepevt_bytes_allocation_ATLAS]
ClassImp(EL::LLDriver) namespace EL
std::string convertInt(int number)
#define RCU_THROW_MSG(message)
virtual::StatusCode doManagerStep(Detail::ManagerData &data) const override
static const std::string optSubmitFlags
description: the name of the option for supplying extra submit parameters to batch systems rationale:...
a Driver for running on IBM Load Leveler batch systems
@ doResubmit
call the actual doResubmit method
@ submitJob
do the actual job submission
@ batchScriptVar
create the variables needed for the batch-run script
This module defines the arguments passed from the BATCH driver to the BATCH worker.
std::string number(const double &d, const std::string &s)