polaris.parallel.system.ParallelSystem
- class polaris.parallel.system.ParallelSystem(config: Any)[source]
Base class for parallel system resource management.
Methods
__init__
(config)get_available_resources
()Return available resources for the system.
get_parallel_command
(args, cpus_per_task, ntasks)Get the parallel execution command.
set_cores_per_node
(cores_per_node)Set the number of cores per node.