WRENCH  1.11
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
Public Member Functions | List of all members
wrench::HTCondorComputeService Class Reference

A workload management framework compute service. More...

#include <HTCondorComputeService.h>

Inheritance diagram for wrench::HTCondorComputeService:
wrench::ComputeService wrench::Service

Public Member Functions

 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. More...
 
virtual bool supportsCompoundJobs () override
 Returns true if the service supports compound jobs. More...
 
virtual bool supportsPilotJobs () override
 Returns true if the service supports pilot jobs. More...
 
virtual bool supportsStandardJobs () override
 Returns true if the service supports standard jobs. 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 workload management framework compute service.

Constructor & Destructor Documentation

◆ 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
hostnamethe name of the host on which to start the service
compute_servicesa 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_lista property list ({} means "use all defaults")
messagepayload_lista message payload list ({} means "use all defaults")
Exceptions
std::runtime_error

Member Function Documentation

◆ 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: