Consolidate WLM functions #127
Labels
API break
Issues that include incompatible API changes
area: launcher
Issues related to any of the launchers within SmartSim
type: feature
Issues that include feature request or feature idea
Description
With the addition of #120, there are a few places users can look to find functions specific to their workload manager.
We should consolidate these in a new
smartsim.wlm
module.Justification
Dealing with any scheduler can be a headache. SmartSim is designed to remove some of these impediments. With the addition of more specific WLM functions, we can make it even easier for users to write driver scripts.
Implementation Strategy and Acceptance Criteria
smartsim.slurm
tosmartsim.wlm.slurm
smartsim.slurm
For Slurm and PBS, a user will have to be able to also run:
get_hosts
get_queue
get_tasks
get_tasks_per_node
Example function
For collecting hostnames on PBS
Can we generalize this function?
In the Runtime prototype the functions are defined like:
The text was updated successfully, but these errors were encountered: