27 testInvariant ()
const
42 ::StatusCode ExecDriver ::
43 doManagerStep (Detail::ManagerData&
data)
const
46 using namespace msgEventLoop;
52 data.batchSkipReleaseSetup =
true;
61 std::string maxIndex = std::to_string (
data.batchJobIndices.size());
62 const char *argv[] = {
"eventloop_exec_worker",
data.submitDir.c_str(), maxIndex.c_str(),
nullptr };
70 execvp(argv[0],
const_cast<char**
>(argv));
72 RCU_THROW_MSG (
"failed to execute eventloop_exec_worker: " + std::string (strerror (myerrno)));
79 return ::StatusCode::SUCCESS;
#define RCU_NEW_INVARIANT(x)
#define RCU_READ_INVARIANT(x)
ClassImp(EL::ExecDriver) namespace EL
char data[hepevt_bytes_allocation_ATLAS]
#define RCU_THROW_MSG(message)
virtual::StatusCode doManagerStep(Detail::ManagerData &data) const override
a Driver for running batch jobs locally as a new process
@ 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.