9#ifndef EVENT_LOOP__MANAGER_DATA_H
10#define EVENT_LOOP__MANAGER_DATA_H
175 std::map<std::pair<ManagerOrder,std::string>,std::unique_ptr<Manager> >
managers;
183 void addManager (std::unique_ptr<Manager> manager);
the base class for the various EventLoop drivers that allow to run jobs on different backends
SubmitDirMode
the mode for creating the submission directory
@ NO_CLOBBER
create the directory as is, raise an error if it already exists
ManagerStep
the individual steps of preparing a job for submission
@ initial
this is just the initial step we do, nothing really happens here
This module defines the arguments passed from the BATCH driver to the BATCH worker.
::StatusCode StatusCode
StatusCode definition for legacy code.
bool batchSkipReleaseSetup
whether to skip the release setup
const Driver * driver
the driver we are working on/with
std::string submitDir
the path to the submission directory
ManagerStep step
the current ManagerStep
::StatusCode run()
run all the managers from start to finish
ManagerData() noexcept
standard constructor
bool submitted
whether we successfully submitted the job in this process
bool completed
whether the job completed
std::unique_ptr< BatchJob > batchJob
if we run in batch, the batch job object we are using
std::set< std::size_t > batchJobUnknown
bool sharedFileSystem
whether we have/use a shared file system
std::string batchJobId
the code needed for setting EL_JOBID
~ManagerData() noexcept
standard destructor
void addManager(std::unique_ptr< Manager > manager)
add the given manager
std::set< std::size_t > batchJobFailure
std::vector< std::size_t > batchJobIndices
if we run in batch, this is the list of job-indices to run
SH::MetaObject options
the options with which we submit this job
SubmitDirMode submitDirMode
the mode with which we handle the submission directory
Job * job
the user job we are submitting
std::string batchName
the name of the submission script to use.
std::map< std::pair< ManagerOrder, std::string >, std::unique_ptr< Manager > > managers
the list of managers to run
ManagerStep nextStep
the next ManagerStep
std::string resubmitOption
if we are resubmitting, the resubmit option chosen
std::string batchInit
any additional code we need for setting up the batch job.
std::set< std::size_t > batchJobSuccess
the list of successful, failed, unknown batch segments
bool retrieved
whether we successfully retrieved the job in this process
bool resubmit
whether we are merely resubmitting this job
std::string batchSubmitLocation
the directory location with batch input configuration
std::string batchWriteLocation
the directory location for writing batch output