mache.parallel.login.LoginSystem

class mache.parallel.login.LoginSystem(config: ConfigParser)[source]

Resource manager for login nodes (no parallel execution).

__init__(config: ConfigParser)[source]

Set available resources for the parallel system based on the config.

Parameters:

config (ConfigParser) – The configuration parser containing the parallel system options.

Methods

__init__(config)

Set available resources for the parallel system based on the config.

get_config(key[, default])

Get a config value from the parallel configs.

get_config_int(key[, default])

Get an integer config value from the parallel configs.

get_parallel_command(args, ntasks[, ...])

Get the parallel execution command for the current system.

get_scheduler_target(config, target_type, nodes)

Choose queue/partition/qos metadata target for a node count.

resolve_submission(config, nodes, target_type)

Resolve a scheduler target and effective node count.