|
ATLAS Offline Software
|
Go to the documentation of this file.
51 using namespace msgEventLoop;
57 data.batchJobId =
"EL_JOBID=$(($SGE_TASK_ID-1))\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 1-" << (njob) <<
" 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
ClassImp(EL::SoGEDriver) namespace EL
virtual ::StatusCode doManagerStep(Detail::ManagerData &data) const override
@ doResubmit
call the actual doResubmit method
a Driver for running on SoGE(?) batch systems
::StatusCode StatusCode
StatusCode definition for legacy code.
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:...
SoGEDriver()
effects: standard default constructor guarantee: strong failures: low level errors I
#define RCU_THROW_MSG(message)
#define RCU_READ_INVARIANT(x)
@ submitJob
do the actual job submission
void testInvariant() const
effects: test the invariant of this object guarantee: no-fail
#define RCU_NEW_INVARIANT(x)