A class that defines a batsched batch_standard_and_pilot_jobs scheduler.
More...
#include <BatschedBatchScheduler.h>
A class that defines a batsched batch_standard_and_pilot_jobs scheduler.
◆ BatschedBatchScheduler()
Constructor.
- Parameters
-
cs | The computer service for which this scheduler is operating |
◆ getStartTimeEstimates()
std::map< std::string, double > wrench::BatschedBatchScheduler::getStartTimeEstimates |
( |
std::set< std::tuple< std::string, unsigned long, unsigned long, double >> |
set_of_jobs | ) |
|
|
overridevirtual |
Method to get start time estimates.
- Parameters
-
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. |
- Returns
- a map of estimated start dates (in seconds), indexed by job configuration name
Implements wrench::BatchScheduler.
◆ launch()
void wrench::BatschedBatchScheduler::launch |
( |
| ) |
|
|
overridevirtual |
◆ processJobCompletion()
void wrench::BatschedBatchScheduler::processJobCompletion |
( |
std::shared_ptr< BatchJob > |
batch_job | ) |
|
|
overridevirtual |
Method to process a job completion.
- Parameters
-
batch_job | the batch_standard_and_pilot_jobs job that has completed |
Implements wrench::BatchScheduler.
◆ processJobFailure()
void wrench::BatschedBatchScheduler::processJobFailure |
( |
std::shared_ptr< BatchJob > |
batch_job | ) |
|
|
overridevirtual |
Method to process a job failure.
- Parameters
-
batch_job | the batch_standard_and_pilot_jobs job that has failed |
Implements wrench::BatchScheduler.
◆ processJobSubmission()
void wrench::BatschedBatchScheduler::processJobSubmission |
( |
std::shared_ptr< BatchJob > |
batch_job | ) |
|
|
overridevirtual |
Method to process a job submission.
- Parameters
-
batch_job | the batch_standard_and_pilot_jobs job that was submitted |
Implements wrench::BatchScheduler.
◆ processJobTermination()
void wrench::BatschedBatchScheduler::processJobTermination |
( |
std::shared_ptr< BatchJob > |
batch_job | ) |
|
|
overridevirtual |
Method to process a job termination.
- Parameters
-
batch_job | the batch_standard_and_pilot_jobs job that was terminated |
Implements wrench::BatchScheduler.
◆ processUnknownJobTermination()
void wrench::BatschedBatchScheduler::processUnknownJobTermination |
( |
std::string |
job_id | ) |
|
|
overridevirtual |
Method to process a job termination when the job is already forgotten (useful for batsched)
- Parameters
-
job_id | the id of the batch_standard_and_pilot_jobs job that was terminated |
Implements wrench::BatchScheduler.
◆ shutdown()
void wrench::BatschedBatchScheduler::shutdown |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: