WRENCH
1.10
Cyberinfrastructure Simulation Workbench
|
Overview | Installation | Getting Started | WRENCH 101 | WRENCH 102 |
A workflow management system (WMS) More...
#include <WMS.h>
Public Member Functions | |
void | addDynamicOptimization (std::unique_ptr< DynamicOptimization >) |
Add a dynamic optimization to the list of optimizations. Optimizations are executed in order of insertion. More... | |
void | addStaticOptimization (std::unique_ptr< StaticOptimization >) |
Add a static optimization to the list of optimizations. Optimizations are executed in order of insertion. More... | |
void | addWorkflow (Workflow *workflow, double start_time=0) |
Assign a workflow to the WMS. More... | |
PilotJobScheduler * | getPilotJobScheduler () |
Get the WMS's pilot scheduler. More... | |
StandardJobScheduler * | getStandardJobScheduler () |
Get the WMS's pilot scheduler. More... | |
Workflow * | getWorkflow () |
Get the workflow that was assigned to the WMS. More... | |
A workflow management system (WMS)
void wrench::WMS::addDynamicOptimization | ( | std::unique_ptr< DynamicOptimization > | optimization | ) |
Add a dynamic optimization to the list of optimizations. Optimizations are executed in order of insertion.
optimization | a dynamic optimization implementation |
void wrench::WMS::addStaticOptimization | ( | std::unique_ptr< StaticOptimization > | optimization | ) |
Add a static optimization to the list of optimizations. Optimizations are executed in order of insertion.
optimization | a static optimization implementation |
void wrench::WMS::addWorkflow | ( | Workflow * | workflow, |
double | start_time = 0 |
||
) |
Assign a workflow to the WMS.
workflow | a workflow to execute |
start_time | the simulated time when the WMS should start executed the workflow (0 if not specified) |
std::invalid_argument |
Set the simulation pointer member variable of the workflow so that the workflow tasks have access to it for creating SimulationTimestamps
PilotJobScheduler * wrench::WMS::getPilotJobScheduler | ( | ) |
Get the WMS's pilot scheduler.
StandardJobScheduler * wrench::WMS::getStandardJobScheduler | ( | ) |
Get the WMS's pilot scheduler.
Workflow * wrench::WMS::getWorkflow | ( | ) |
Get the workflow that was assigned to the WMS.