10 #ifndef WRENCH_PILOTJOB_H
11 #define WRENCH_PILOTJOB_H
22 class BareMetalComputeService;
65 std::shared_ptr<CompoundJob> compound_job;
72 std::shared_ptr<BareMetalComputeService> compute_service;
82 #endif //WRENCH_PILOTJOB_H
@ PENDING
Submitted but not running.
Definition: PilotJob.h:37
Abstraction of a job used for executing tasks in a Workflow.
Definition: Job.h:34
@ NOT_SUBMITTED
Not submitted yet.
Definition: PilotJob.h:35
A helper daemon (co-located with and explicitly started by an execution controller),...
Definition: JobManager.h:56
@ EXPIRED
Expired due to a time-to-live limit.
Definition: PilotJob.h:41
@ TERMINATED
Terminated by submitter.
Definition: PilotJob.h:45
Definition: Action.cpp:28
std::shared_ptr< JobManager > job_manager
The Job Manager in charge of this job.
Definition: Job.h:86
std::shared_ptr< BareMetalComputeService > getComputeService()
Get the compute service provided by the (running) pilot job.
Definition: PilotJob.cpp:39
@ RUNNING
Running.
Definition: PilotJob.h:39
void setComputeService(std::shared_ptr< BareMetalComputeService > cs)
Set the compute service that runs on the pilot job.
Definition: PilotJob.cpp:47
State
Pilot job states.
Definition: PilotJob.h:33
@ FAILED
Failed.
Definition: PilotJob.h:43
PilotJob::State getState()
Get the state of the pilot job.
Definition: PilotJob.cpp:31
A pilot (i.e., non-standard) workflow job that can be submitted to a ComputeService by a WMS (via a J...
Definition: PilotJob.h:28