polaris.job.get_slurm_options

polaris.job.get_slurm_options(config, machine, nodes)[source]

Get Slurm options for job submission.

Parameters:
  • config (polaris.config.PolarisConfigParser) – Configuration options for this test case, a combination of user configs and the defaults for the machine and component.

  • machine (str) – The name of the machine.

  • nodes (int) – The number of nodes required for the job.

Returns:

  • partition (str) – The partition to use for the job.

  • qos (str) – The quality of service to use for the job.

  • constraint (str) – Any constraints to use for the job.

  • gpus_per_node (str) – The number of GPUs per node to request.

  • wall_time (str) – The wall time to request for the job.