polaris.job.write_job_script

polaris.job.write_job_script(config, machine, target_cores, min_cores, work_dir, suite='')[source]
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, None}) – The name of the machine

  • target_cores (int) – The target number of cores for the job to use

  • min_cores (int) – The minimum number of cores for the job to use

  • work_dir (str) – The work directory where the job script should be written

  • suite (str, optional) – The name of the suite