WRENCH
1.11
Cyberinfrastructure Simulation Workbench
|
Overview | Installation | Getting Started | WRENCH 101 | WRENCH 102 |
A class that defines a conservative backfilling batch_standard_and_pilot_jobs scheduler. More...
#include <ConservativeBackfillingBatchScheduler.h>
Public Member Functions | |
ConservativeBackfillingBatchScheduler (BatchComputeService *cs) | |
Constructor. More... | |
void | compactSchedule () |
Method to compact the schedule. | |
std::map< std::string, double > | getStartTimeEstimates (std::set< std::tuple< std::string, unsigned long, unsigned long, double >> set_of_jobs) override |
Method to obtain start time estimates. 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 schedule (possibly) the next jobs to be scheduled. | |
std::map< std::string, std::tuple< unsigned long, double > > | scheduleOnHosts (unsigned long, unsigned long, double) override |
Method to figure out on which actual resources a job could be scheduled right now. More... | |
Public Member Functions inherited from wrench::HomegrownBatchScheduler | |
HomegrownBatchScheduler (BatchComputeService *cs) | |
Constructor. More... | |
void | init () override |
Initialization method. More... | |
void | launch () override |
Launch method. | |
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. | |
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 conservative backfilling batch_standard_and_pilot_jobs scheduler.
|
explicit |
Constructor.
cs | The BatchComputeService for which this scheduler is working |
|
overridevirtual |
Method to obtain start time estimates.
set_of_jobs | a set of job specs |
Implements wrench::BatchScheduler.
|
overridevirtual |
Method to process a job completion.
batch_job | the job that completed |
Implements wrench::BatchScheduler.
|
overridevirtual |
Method to process a job failure.
batch_job | the job that failed |
Implements wrench::BatchScheduler.
|
overridevirtual |
Method to process a job submission.
batch_job | the newly submitted BatchComputeService job |
Implements wrench::BatchScheduler.
|
overridevirtual |
Method to process a job termination.
batch_job | the job that was terminated |
Implements wrench::BatchScheduler.
|
overridevirtual |
Method to figure out on which actual resources a job could be scheduled right now.
num_nodes | number of nodes |
cores_per_node | number of cores per node |
ram_per_node | amount of RAM |
Implements wrench::HomegrownBatchScheduler.