wrench::HTCondorComputeService

class HTCondorComputeService : public wrench::ComputeService

A workload management framework compute service.

Public 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.

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”)

Throws

std::runtime_error

bool supportsCompoundJobs() override

Returns true if the service supports compound jobs.

Returns

true or false

bool supportsPilotJobs() override

Returns true if the service supports pilot jobs.

Returns

true or false

bool supportsStandardJobs() override

Returns true if the service supports standard jobs.

Returns

true or false