wrench::MultihostMulticoreComputeService Class Reference

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

#include <MultihostMulticoreComputeService.h>

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

Public Member Functions

 MultihostMulticoreComputeService (const std::string &hostname, const bool supports_standard_jobs, const bool supports_pilot_jobs, const std::set< std::tuple< std::string, unsigned long, double >> compute_resources, StorageService *default_storage_service, std::map< std::string, std::string > plist={})
 Constructor. More...
 
 MultihostMulticoreComputeService (const std::string &hostname, bool supports_standard_jobs, bool supports_pilot_jobs, const std::set< std::string > compute_hosts, StorageService *default_storage_service, std::map< std::string, std::string > plist={})
 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 on the physical host" whenever a number of cores is needed when instantiat services.
 
static constexpr double ALL_RAM = DBL_MAX
 A convenient constant to mean "use all ram on the physical host" whenever a ram capacity is needed when instantiating services.
 

Detailed Description

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

Constructor & Destructor Documentation

wrench::MultihostMulticoreComputeService::MultihostMulticoreComputeService ( const std::string &  hostname,
const bool  supports_standard_jobs,
const bool  supports_pilot_jobs,
const std::set< std::tuple< std::string, unsigned long, double >>  compute_resources,
StorageService default_storage_service,
std::map< std::string, std::string >  plist = {} 
)

Constructor.

Parameters
hostnamethe name of the host on which the job executor should be started
supports_standard_jobstrue if the compute service should support standard jobs
supports_pilot_jobstrue if the compute service should support pilot jobs
compute_resourcescompute_resources: a list of <hostname, num_cores, memory> pairs, which represent the compute resources available to this service.
default_storage_servicea storage service (or nullptr)
plista property list ({} means "use all defaults")
wrench::MultihostMulticoreComputeService::MultihostMulticoreComputeService ( const std::string &  hostname,
bool  supports_standard_jobs,
bool  supports_pilot_jobs,
const std::set< std::string >  compute_hosts,
StorageService default_storage_service,
std::map< std::string, std::string >  plist = {} 
)

Constructor.

Parameters
hostnamethe name of the host on which the job executor should be started
supports_standard_jobstrue if the compute service should support standard jobs
supports_pilot_jobstrue if the compute service should support pilot jobs
compute_hosts,:a set of hostnames (the service will use all the cores and all the RAM of each host)
default_storage_servicea storage service (or nullptr)
plista property 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