|
ATLAS Offline Software
|
Go to the documentation of this file.
50 using namespace msgEventLoop;
56 data.batchJobId =
"EL_JOBID=$PBS_ARRAYID\n";
67 assert (!
data.batchJobIndices.empty());
68 assert (
data.batchJobIndices.back() + 1 ==
data.batchJobIndices.size());
69 const std::size_t njob =
data.batchJobIndices.size();
71 std::ostringstream
cmd;
72 cmd <<
"cd " <<
data.submitDir <<
"/submit && qsub "
74 <<
" -t 0-" << (njob-1) <<
" run";
75 if (gSystem->Exec (
cmd.str().c_str()) != 0)
77 data.submitted =
true;
84 return ::StatusCode::SUCCESS;
char data[hepevt_bytes_allocation_ATLAS]
@ batchScriptVar
create the variables needed for the batch-run script
virtual ::StatusCode doManagerStep(Detail::ManagerData &data) const override
void testInvariant() const
effects: test the invariant of this object guarantee: no-fail
@ doResubmit
call the actual doResubmit method
::StatusCode StatusCode
StatusCode definition for legacy code.
a Driver for running on Torque batch systems
This module defines the arguments passed from the BATCH driver to the BATCH worker.
static const std::string optSubmitFlags
description: the name of the option for supplying extra submit parameters to batch systems rationale:...
TorqueDriver()
effects: standard default constructor guarantee: strong failures: low level errors I
virtual ::StatusCode doManagerStep(Detail::ManagerData &data) const override
#define RCU_THROW_MSG(message)
ClassImp(EL::TorqueDriver) namespace EL
#define RCU_READ_INVARIANT(x)
@ submitJob
do the actual job submission
#define RCU_NEW_INVARIANT(x)