WRENCH
1.10
Cyberinfrastructure Simulation Workbench
|
Overview | Installation | Getting Started | WRENCH 101 | WRENCH 102 |
A class that defines a batsched batch scheduler. More...
#include <BatschedBatchScheduler.h>
Public Member Functions | |
BatschedBatchScheduler (BatchComputeService *cs) | |
Constructor. More... | |
std::map< std::string, double > | getStartTimeEstimates (std::set< std::tuple< std::string, unsigned long, unsigned long, double >> set_of_jobs) override |
Method to get start time estimates. More... | |
void | init () override |
Initialization method. | |
void | launch () override |
Launch method. More... | |
void | processJobCompletion (std::shared_ptr< BatchJob > batch_job) override |
Method to process a job completion. More... | |
void | processJobFailure (std::shared_ptr< BatchJob > batch_job) override |
Method to process a job failure. More... | |
void | processJobSubmission (std::shared_ptr< BatchJob > batch_job) override |
Method to process a job submission. More... | |
void | processJobTermination (std::shared_ptr< BatchJob > batch_job) override |
Method to process a job termination. More... | |
void | processQueuedJobs () override |
Method to process queued jobs. | |
void | processUnknownJobTermination (std::string job_id) override |
Method to process a job termination when the job is already forgotten (useful for batsched) More... | |
void | shutdown () override |
Shutdown method. More... | |
Public Member Functions inherited from wrench::BatchScheduler | |
BatchScheduler (BatchComputeService *cs) | |
Constructor. More... | |
virtual | ~BatchScheduler ()=default |
Destructor. | |
Additional Inherited Members | |
Protected Attributes inherited from wrench::BatchScheduler | |
BatchComputeService * | cs |
Compute service for which this scheduler is operating. | |
A class that defines a batsched batch scheduler.
|
inlineexplicit |
Constructor.
cs | The computer service for which this scheduler is operating |
|
overridevirtual |
Method to get start time estimates.
set_of_jobs | the set of job configurations whose start times should be estimated. Each job configuration is :(i) a name; (ii) a number of nodes; (iii) a number of cores per node; and (iv) an execution duration in seconds. |
Implements wrench::BatchScheduler.
|
overridevirtual |
|
overridevirtual |
Method to process a job completion.
batch_job | the batch job that has completed |
Implements wrench::BatchScheduler.
|
overridevirtual |
Method to process a job failure.
batch_job | the batch job that has failed |
Implements wrench::BatchScheduler.
|
overridevirtual |
Method to process a job submission.
batch_job | the batch job that was submitted |
Implements wrench::BatchScheduler.
|
overridevirtual |
Method to process a job termination.
batch_job | the batch job that was terminated |
Implements wrench::BatchScheduler.
|
overridevirtual |
Method to process a job termination when the job is already forgotten (useful for batsched)
job_id | the id of the batch job that was terminated |
Implements wrench::BatchScheduler.
|
overridevirtual |