wrench.bare_metal_compute_service
- class wrench.bare_metal_compute_service.BareMetalComputeService(simulation, name: str)
Bases:
ComputeServiceWRENCH Bare Metal Compute Service class
- get_core_counts() Dict[str, int]
Get the map of core counts, keyed by host name
- Returns:
A dictionary of core counts
- Return type:
Dict[str, int]
- get_core_flop_rates() Dict[str, float]
Get the map of core speeds, keyed by host name
- Returns:
A dictionary of core speeds
- Return type:
Dict[str, float]
- get_name() str
Get the name
- submit_compound_job(compound_job: CompoundJob) None
Submit a compound job to the compute service
- Parameters:
compound_job (CompoundJob) – the compound job
- submit_standard_job(standard_job: StandardJob) None
Submit a standard job to the compute service
- Parameters:
standard_job (StandardJob) – the standard job
- supports_compound_jobs() bool
Determine whether the compute service supports compound jobs
- Returns:
True if compound jobs are supported, false otherwise
- Return type:
bool
- supports_pilot_jobs() bool
Determine whether the compute service supports pilot jobs
- Returns:
True if pilot jobs are supported, false otherwise
- Return type:
bool
- supports_standard_jobs() bool
Determine whether the compute service supports standard jobs
- Returns:
True if standard jobs are supported, false otherwise
- Return type:
bool