JobManager.h
65 void submitJob(WorkflowJob *job, ComputeService *compute_service, std::map<std::string, std::string> service_specific_args = {});
A service that can be added to the simulation and that can be used by a WMS when executing a workflow...
Definition: Service.h:26
void submitJob(WorkflowJob *job, ComputeService *compute_service, std::map< std::string, std::string > service_specific_args={})
Submit a job to compute service.
Definition: JobManager.cpp:255
Abstraction of a job used for executing tasks in a Workflow.
Definition: WorkflowJob.h:31
A data file used/produced by a WorkflowTask in a Workflow.
Definition: WorkflowFile.h:26
std::set< PilotJob * > getRunningPilotJobs()
Get the list of currently running pilot jobs.
Definition: JobManager.cpp:413
std::set< PilotJob * > getPendingPilotJobs()
Get the list of currently pending pilot jobs.
Definition: JobManager.cpp:421
A pilot (i.e., non-standard) workflow job that can be submitted to a ComputeService by a WMS (via a J...
Definition: PilotJob.h:29
A standard (i.e., non-pilot) workflow job that can be submitted to a ComputeService by a WMS (via a J...
Definition: StandardJob.h:38
PilotJob * createPilotJob()
Create a pilot job.
Definition: JobManager.cpp:225
void terminateJob(WorkflowJob *)
Terminate a job (standard or pilot) that hasn't completed/expired/failed yet.
Definition: JobManager.cpp:355
void forgetJob(WorkflowJob *job)
Forget a job (to free memory, only once a job has completed or failed)
Definition: JobManager.cpp:433
void kill()
Kill the job manager (brutally terminate the daemon, clears all jobs)
Definition: JobManager.cpp:62
A helper daemon (co-located with and explicitly started by a WMS), which is used to handle all job ex...
Definition: JobManager.h:40
Definition: TerminalOutput.cpp:15
StandardJob * createStandardJob(std::vector< WorkflowTask *> tasks, std::map< WorkflowFile *, StorageService *> file_locations, std::set< std::tuple< WorkflowFile *, StorageService *, StorageService *>> pre_file_copies, std::set< std::tuple< WorkflowFile *, StorageService *, StorageService *>> post_file_copies, std::set< std::tuple< WorkflowFile *, StorageService *>> cleanup_file_deletions)
Create a standard job.
Definition: JobManager.cpp:101