10 #ifndef WRENCH_BATSCHEDBATCHSCHEDULER_H
11 #define WRENCH_BATSCHEDBATCHSCHEDULER_H
13 #include "wrench/services/compute/batch/batch_schedulers/BatchScheduler.h"
82 std::map<std::string, double>
getStartTimeEstimates(std::set<std::tuple<std::string, unsigned long, unsigned long, double>> set_of_jobs)
override;
85 #ifdef ENABLE_BATSCHED
87 void notifyJobEventsToBatSched(std::string job_id, std::string status, std::string job_state,
88 std::string kill_reason, std::string event_type);
90 void appendJobInfoToCSVOutputFile(
BatchJob *batch_job, std::string status);
92 void startBatschedNetworkListener();
97 unsigned long batsched_port;
111 #endif //WRENCH_BATSCHEDBATCHSCHEDULER_H
void processJobCompletion(std::shared_ptr< BatchJob > batch_job) override
Method to process a job completion.
Definition: BatschedBatchScheduler.cpp:371
void processJobSubmission(std::shared_ptr< BatchJob > batch_job) override
Method to process a job submission.
Definition: BatschedBatchScheduler.cpp:392
BatchComputeService * cs
Compute service for which this scheduler is operating.
Definition: BatchScheduler.h:107
void processJobTermination(std::shared_ptr< BatchJob > batch_job) override
Method to process a job termination.
Definition: BatschedBatchScheduler.cpp:382
BatschedBatchScheduler(BatchComputeService *cs)
Constructor.
Definition: BatschedBatchScheduler.h:32
A batch job, which encapsulates a WorkflowJob and additional information used by a BatchService.
Definition: BatchJob.h:16
void launch() override
Launch method.
Definition: BatschedBatchScheduler.cpp:178
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.
Definition: BatschedBatchScheduler.cpp:192
A batch-scheduled compute service that manages a set of compute hosts and controls access to their re...
Definition: BatchComputeService.h:49
An abstract class that defines a batch scheduler.
Definition: BatchScheduler.h:27
A class that defines a batsched batch scheduler.
Definition: BatschedBatchScheduler.h:24
void shutdown() override
Shutdown method.
Definition: BatschedBatchScheduler.cpp:260
void processJobFailure(std::shared_ptr< BatchJob > batch_job) override
Method to process a job failure.
Definition: BatschedBatchScheduler.cpp:360
void processQueuedJobs() override
Method to process queued jobs.
Definition: BatschedBatchScheduler.cpp:305
void init() override
Initialization method.
Definition: BatschedBatchScheduler.cpp:38