idmtools_platform_slurm.slurm_operations.remote_operations module

Here we implement the SlurmPlatform remote operations.

Copyright 2021, Bill & Melinda Gates Foundation. All rights reserved.

class idmtools_platform_slurm.slurm_operations.remote_operations.RemoteSlurmOperations(platform: 'SlurmPlatform', platform_type: Type = None, hostname: str = None, username: str = None, key_file: str = None, port: int = 22)

Bases: SlurmOperations

hostname: str = None
username: str = None
key_file: str = None
port: int = 22
get_directory(item: IEntity) Path
get_directory_by_id(item_id: str, item_type: ItemType) Path
mk_directory(item: IEntity) None
update_script_mode(script_path: Union[Path, str], mode: int) None
make_command_executable(simulation: Simulation) None
create_batch_file(item: IEntity, **kwargs) None
submit_job(item: Union[Experiment, Simulation], **kwargs) Any
get_simulation_status(sim_id: Union[UUID, str]) Any
__init__(platform: SlurmPlatform, platform_type: Type = None, hostname: str = None, username: str = None, key_file: str = None, port: int = 22) None