wrench Namespace Reference

Classes

class  BareMetalComputeService
 A compute service that manages a set of multi-core compute hosts and provides access to their resources. More...
 
class  BareMetalComputeServiceMessagePayload
 Configurable message payloads for a MultiHostMulticoreComputeService. More...
 
class  BareMetalComputeServiceProperty
 Configurable properties for a BareMetalComputeService. More...
 
class  BatchComputeService
 A batch-scheduled compute service that manages a set of compute hosts and controls access to their resource via a batch queue. More...
 
class  BatchComputeServiceMessagePayload
 Configurable message payloads for a BatchService. More...
 
class  BatchComputeServiceProperty
 Configurable properties for a BatchComputeService. More...
 
class  CloudComputeService
 A cloud-based compute service that manages a set of physical hosts and controls access to their resources by (transparently) executing jobs in VM instances. More...
 
class  CloudComputeServiceMessagePayload
 Configurable message payloads for a CloudService. More...
 
class  CloudComputeServiceProperty
 Configurable properties for a CloudComputeService. More...
 
class  ComputeService
 The compute service base class. More...
 
class  ComputeServiceMessagePayload
 Configurable message payloads for a ComputeService. More...
 
class  ComputeServiceProperty
 Configurable properties for a ComputeService. More...
 
class  ComputeThreadHasDied
 A "compute thread has died" failure cause. More...
 
class  DataMovementManager
 A helper daemon (co-located with a WMS) that handles data movement operations. More...
 
class  DynamicOptimization
 An abstract class that serves as a base class for implementing dynamic (i.e., at runtime) optimizations to be used by a WMS while executing a Workflow. More...
 
class  EnergyMeter
 A service that measures and records energy consumption on a set of hosts at regular time intervals. More...
 
class  FailureCause
 A top-level class to describe all simulation-valid failures that can occur during workflow execution (and should/could be handled by a WMS) More...
 
class  FatalFailure
 An "Unknown" failure cause (should not happen) More...
 
class  FileAlreadyBeingCopied
 A "file is already being copied" failure cause. More...
 
class  FileCopyCompletedEvent
 A "file copy has completed" WorkflowExecutionEvent. More...
 
class  FileCopyFailedEvent
 A "file copy has failed" WorkflowExecutionEvent. More...
 
class  FileLocation
 A class that encodes a file location. More...
 
class  FileNotFound
 A "file was not found" failure cause. More...
 
class  FileRegistryService
 A file registry service (a.k.a. replica catalog) that holds a database of which files are available at which storage services. More specifically, the database holds a set of <file, storage service> entries. A WMS can add, lookup, and remove entries at will from this database. More...
 
class  FileRegistryServiceMessagePayload
 Configurable message payload for a FileRegistryService. More...
 
class  FileRegistryServiceProperty
 Configurable properties for a FileRegistryService. More...
 
class  FileTransferThread
 A helper class that implements the concept of a communication thread that performs a file transfer. More...
 
class  FunctionalityNotAvailable
 A "requested functionality is not available on that service" failure cause. More...
 
class  HostError
 A "host error" failure cause (e.g., attempted to start a daemon on a host that is off) More...
 
class  HostStateChangeDetectorProperty
 Configurable properties for a HostStateChangeDetector. More...
 
class  HTCondorCentralManagerService
 A HTCondor central manager service implementation. More...
 
class  HTCondorCentralManagerServiceMessage
 Top-level class for messages received/sent by a HTCondorCentralManagerService. More...
 
class  HTCondorCentralManagerServiceMessagePayload
 Configurable message payloads for an HTCondor Central Manager service. More...
 
class  HTCondorComputeService
 A workload management framework compute service. More...
 
class  HTCondorComputeServiceMessagePayload
 Configurable message payloads for an HTCondorService. More...
 
class  HTCondorComputeServiceProperty
 Properties for an HTCondor service. More...
 
class  HTCondorNegotiatorService
 A HTCondor negotiator service. More...
 
class  InvalidDirectoryPath
 A "file is already there" failure cause. More...
 
class  JobKilled
 A "job has been killed" failure cause. More...
 
class  JobManager
 A helper daemon (co-located with and explicitly started by a WMS), which is used to handle all job executions. More...
 
class  JobTimeout
 A "job has times out" failure cause. More...
 
class  JobTypeNotSupported
 A "compute service does not support requested job type" failure cause. More...
 
class  NegotiatorCompletionMessage
 A message received by a HTCondorCentralManagerService so that it is notified of a negotiator cycle completion. More...
 
class  NetworkError
 A "network error (or endpoint is down)" failure cause. More...
 
class  NetworkProximityService
 A network proximity service that continuously estimates inter-host latencies and can be queried for such estimates. More...
 
class  NetworkProximityServiceMessagePayload
 Configurable message payloads for a NetworkProximityService. More...
 
class  NetworkProximityServiceProperty
 Configurable properties for a NetworkProximityService. More...
 
class  NoScratchSpace
 A "no scratch space" failure cause. More...
 
class  NotAllowed
 A "operation not allowed" failure cause. More...
 
class  NotEnoughResources
 A "compute service doesn't have enough cores" failure cause. More...
 
class  PegasusWorkflowParser
 A class that implement methods to read workflow files provided by the Pegasus project. More...
 
class  PilotJob
 A pilot (i.e., non-standard) workflow job that can be submitted to a ComputeService by a WMS (via a JobManager) More...
 
class  PilotJobExpiredEvent
 A "pilot job has expired" WorkflowExecutionEvent. More...
 
class  PilotJobScheduler
 A (mostly virtual) base class for implementing PilotJob scheduling algorithms to be used by a WMS. More...
 
class  PilotJobStartedEvent
 A "pilot job has started" WorkflowExecutionEvent. More...
 
class  Service
 A service that can be added to the simulation and that can be used by a WMS when executing a workflow. More...
 
class  ServiceIsDown
 A "service is down" failure cause. More...
 
class  ServiceIsSuspended
 A "service is suspended" failure cause. More...
 
class  ServiceMessagePayload
 Configurable message payloads for a Service. More...
 
class  ServiceProperty
 Configurable properties for a Service. More...
 
class  SimpleStorageService
 A storage service that provides direct access to some storage resources (e.g., one or more disks). An important (configurable) property of the storage service is SimpleStorageServiceProperty::BUFFER_SIZE (see documentation thereof), which defines the buffer size that the storage service uses. More specifically, when the storage service receives / sends data from / to the network, it does so in a loop over data "chunks", with pipelined network and disk I/O operations. The smaller the buffer size the more "fluid" the model, but the more time-consuming the simulation. A large buffer size, however, may lead to less realistic simulations. At the extreme, an infinite buffer size would correspond to fully sequential executions (first a network receive/send, and then a disk write/read). Setting the buffer size to "0" corresponds to a fully fluid model in which individual data chunk operations are not simulated, thus achieving both accuracy (unless one specifically wishes to study the effects of buffering) and quick simulation times. For now, setting the buffer size to "0" is not implemented. The default buffer size is 1 MiB (note that the user can always declare a disk with arbitrary bandwidth in the platform description XML). More...
 
class  SimpleStorageServiceMessagePayload
 Configurable message payloads for a SimpleStorageService. More...
 
class  SimpleStorageServiceProperty
 Configurable properties for a SimpleStorageService. More...
 
class  Simulation
 A class that provides basic simulation methods. Once the simulation object has been explicitly or implicitly destroyed, then any call to the WRENCH APIs has undefied behavior (due to memory being de-allocated). More...
 
class  SimulationOutput
 A class that contains post-mortem simulation-generated data. More...
 
class  SimulationTimestamp
 A time-stamped simulation event stored in SimulationOutput. More...
 
class  SimulationTimestampEnergyConsumption
 A simulation timestamp class for energy consumption. More...
 
class  SimulationTimestampFileCopy
 A base class for simulation timestamps regarding file copies. More...
 
class  SimulationTimestampFileCopyCompletion
 A simulation timestamp class for file copy completions. More...
 
class  SimulationTimestampFileCopyFailure
 A simulation timestamp class for file copy failure times. More...
 
class  SimulationTimestampFileCopyStart
 A simulation timestamp class for file copy start times. More...
 
class  SimulationTimestampPair
 A base class for simulation timestamps. More...
 
class  SimulationTimestampPstateSet
 A simulation timestamp class for changes in a host's pstate. More...
 
class  SimulationTimestampTask
 A base class for simulation timestamps regarding workflow tasks. More...
 
class  SimulationTimestampTaskCompletion
 A simulation timestamp class for WorkflowTask completion times. More...
 
class  SimulationTimestampTaskFailure
 A simulation timestamp class for WorkflowTask failure times. More...
 
class  SimulationTimestampTaskStart
 A simulation timestamp class for WorkflowTask start times. More...
 
class  SimulationTimestampTaskTermination
 A simulation timestamp class for WorkflowTask termination times. More...
 
class  SimulationTimestampType
 A top-level base class for simulation timestamps. More...
 
class  StandardJob
 A standard (i.e., non-pilot) workflow job that can be submitted to a ComputeService by a WMS (via a JobManager) More...
 
class  StandardJobCompletedEvent
 A "standard job has completed" WorkflowExecutionEvent. More...
 
class  StandardJobFailedEvent
 A "standard job has failed" WorkflowExecutionEvent. More...
 
class  StandardJobScheduler
 A (mostly virtual) base class for implementing StandardJob scheduling algorithms to be used by a WMS. More...
 
class  StaticOptimization
 An abstract class that serves as a base class for implementing static (i.e., before workflow execution) optimizations to be used by a WMS. More...
 
class  StorageService
 The storage service base class. More...
 
class  StorageServiceMessagePayload
 Configurable message payloads for a StorageService. More...
 
class  StorageServiceNotEnoughSpace
 A "not enough space on storage service" failure cause. More...
 
class  StorageServiceProperty
 Configurable properties for a StorageService. More...
 
class  TerminalOutput
 Color-enabling wrappers around Simgrid's XBT_INFO, XBT_DEBUG, XBT_WARN logging macros. More...
 
class  TimerEvent
 A "timer went off" WorkflowExecutionEvent. More...
 
class  VirtualizedClusterComputeService
 A virtualized cluster-based compute service. More...
 
class  VirtualizedClusterComputeServiceMessagePayload
 Configurable message payloads for a VirtualizedClusterComputeService. More...
 
class  VirtualizedClusterComputeServiceProperty
 Configurable properties for a VirtualizedClusterComputeService. More...
 
class  WMS
 A workflow management system (WMS) More...
 
class  Workflow
 A workflow (to be executed by a WMS) More...
 
class  WorkflowExecutionEvent
 A class to represent the various execution events that are relevant to the execution of a workflow. More...
 
class  WorkflowExecutionException
 An generic exception that is thrown whenever something unexpected (but simulation-valid) occurrs during the simulated execution of a WMS. More...
 
class  WorkflowFile
 A data file used/produced by a WorkflowTask in a Workflow. More...
 
class  WorkflowJob
 Abstraction of a job used for executing tasks in a Workflow. More...
 
class  WorkflowTask
 A computational task in a Workflow. More...
 

Functions

static std::tuple< std::string, unsigned long > parseResourceSpec (std::string spec)
 Helper static method to parse resource specifications to the <cores,ram> format. More...
 

Detailed Description

Copyright (c) 2017-2018. The WRENCH Team.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Copyright (c) 2017. The WRENCH Team.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Copyright (c) 2017-2019. The WRENCH Team.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Function Documentation

◆ parseResourceSpec()

static std::tuple<std::string, unsigned long> wrench::parseResourceSpec ( std::string  spec)
static

Helper static method to parse resource specifications to the <cores,ram> format.

Parameters
specspecification string
Returns
a <cores, ram> tuple
Exceptions
std::invalid_argument