polaris.job.get_pbs_options

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

Get PBS 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:

  • queue (str) – The queue 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.