polaris.job.get_slurm_options
- polaris.job.get_slurm_options(config, machine, nodes)[source]
Get Slurm options
- Parameters:
config (polaris.config.PolarisConfigParser) – Config options
machine (str) – Name of the machine
nodes (int) – Number of nodes
- Returns:
partition (str) – Slurm partition
qos (str) – Slurm quality of service
constraint (str) – Slurm constraint
gpus_per_node (str) – The numer of GPUs per node (if any)
wall_time (str) – Slurm wall time