A workload management framework compute service.
More...
#include <HTCondorComputeService.h>
|
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.
|
|
A workload management framework compute service.
◆ HTCondorComputeService()
wrench::HTCondorComputeService::HTCondorComputeService |
( |
const std::string & |
hostname, |
|
|
std::set< std::shared_ptr< ComputeService >> |
compute_services, |
|
|
WRENCH_PROPERTY_COLLECTION_TYPE |
property_list = {} , |
|
|
WRENCH_MESSAGE_PAYLOADCOLLECTION_TYPE |
messagepayload_list = {} |
|
) |
| |
Constructor.
- Parameters
-
hostname | the name of the host on which to start the service |
compute_services | a set of 'child' compute services that have been added to the simulation and that are available to and usable through the HTCondor pool.
- BatchComputeService instances will be used for Condor jobs in the "grid" universe
- BareMetalComputeService instances will be used for Condor jobs not in the "grid" universe
- other types of compute services are disallowed
|
property_list | a property list ({} means "use all defaults") |
messagepayload_list | a message payload list ({} means "use all defaults") |
- Exceptions
-
◆ supportsCompoundJobs()
bool wrench::HTCondorComputeService::supportsCompoundJobs |
( |
| ) |
|
|
overridevirtual |
Returns true if the service supports compound jobs.
- Returns
- true or false
◆ supportsPilotJobs()
bool wrench::HTCondorComputeService::supportsPilotJobs |
( |
| ) |
|
|
overridevirtual |
Returns true if the service supports pilot jobs.
- Returns
- true or false
◆ supportsStandardJobs()
bool wrench::HTCondorComputeService::supportsStandardJobs |
( |
| ) |
|
|
overridevirtual |
Returns true if the service supports standard jobs.
- Returns
- true or false
The documentation for this class was generated from the following files: