wrench::MultihostMulticoreComputeService Class Reference

A compute service that manages a set of multi-core compute hosts and controls access to their resources using standard scheduling strategies. More...

#include <MultihostMulticoreComputeService.h>

Inheritance diagram for wrench::MultihostMulticoreComputeService:
wrench::ComputeService wrench::Service

Public Member Functions

 MultihostMulticoreComputeService (const std::string &hostname, const std::set< std::tuple< std::string, unsigned long, double >> compute_resources, double scratch_space_size, std::map< std::string, std::string > property_list={}, std::map< std::string, std::string > messagepayload_list={})
 Constructor. More...
 
 MultihostMulticoreComputeService (const std::string &hostname, const std::set< std::string > compute_hosts, double scratch_space_size, std::map< std::string, std::string > property_list={}, std::map< std::string, std::string > messagepayload_list={})
 Constructor. More...
 

Additional Inherited Members

- Static Public Attributes inherited from wrench::ComputeService
static constexpr unsigned long ALL_CORES = ULONG_MAX
 A convenient constant to mean "use all cores of a physical host" whenever a number of cores is needed when instantiating compute services.
 
static constexpr double ALL_RAM = DBL_MAX
 A convenient constant to mean "use all ram of a physical host" whenever a ram capacity is needed when instantiating compute services.
 

Detailed Description

A compute service that manages a set of multi-core compute hosts and controls access to their resources using standard scheduling strategies.

Constructor & Destructor Documentation

wrench::MultihostMulticoreComputeService::MultihostMulticoreComputeService ( const std::string &  hostname,
const std::set< std::tuple< std::string, unsigned long, double >>  compute_resources,
double  scratch_space_size,
std::map< std::string, std::string >  property_list = {},
std::map< std::string, std::string >  messagepayload_list = {} 
)

Constructor.

Parameters
hostnamethe name of the host on which the service should be started
compute_resourcesa list of <hostname, num_cores, memory> tuples, which represent the compute resources available to this service.
scratch_space_sizesize (in bytes) of the compute service's scratch storage paste
property_lista property list ({} means "use all defaults")
messagepayload_lista message payload list ({} means "use all defaults")
wrench::MultihostMulticoreComputeService::MultihostMulticoreComputeService ( const std::string &  hostname,
const std::set< std::string >  compute_hosts,
double  scratch_space_size,
std::map< std::string, std::string >  property_list = {},
std::map< std::string, std::string >  messagepayload_list = {} 
)

Constructor.

Parameters
hostnamethe name of the host on which the service should be started
compute_hosts,:the names of the hosts available as compute resources (the service will use all the cores and all the RAM of each host)
scratch_space_sizesize (in bytes) of the compute service's scratch storage paste
property_lista property list ({} means "use all defaults")
messagepayload_lista message payload list ({} means "use all defaults")

The documentation for this class was generated from the following files:
  • /home/wrench/wrench/include/wrench/services/compute/multihost_multicore/MultihostMulticoreComputeService.h
  • /home/wrench/wrench/src/wrench/services/compute/multihost_multicore/MultihostMulticoreComputeService.cpp