wrfhydropy.PBSCheyenne

class wrfhydropy.PBSCheyenne(account: str, nproc: int, nnodes: int, mem: int | None = None, ppn: int | None = None, queue: str = 'regular', walltime: str = '12:00:00', email_who: str | None = None, email_when: str = 'abe', custom: dict = {})[source]

A Scheduler object compatible with PBS on the NCAR Cheyenne system.

Attributes:
nnodes
nproc
ppn

Methods

schedule(jobs)

Schedule one or more jobs using the scheduler scheduler :Parameters: jobs -- list of jobs to schedule

__init__(account: str, nproc: int, nnodes: int, mem: int | None = None, ppn: int | None = None, queue: str = 'regular', walltime: str = '12:00:00', email_who: str | None = None, email_when: str = 'abe', custom: dict = {})[source]

Initialize an PBSCheyenne object. :Parameters: * account – The account string

  • nproc – Number of processors to request

  • nnodes – Number of nodes to request

  • ppn – Number of processors per node

  • mem – Memory in GB usage/request on node (109 for fat nodes).

  • email_who – Email address for PBS notifications

  • email_when – PBS email frequency options. Options include ‘a’ for on abort,

  • ‘b’ for before each job, and ‘e’ for after each job.

  • queue – The queue to use, options are ‘regular’, ‘premium’, and ‘shared’

  • walltime – The wall clock time in HH:MM:SS format, max time is 12:00:00

Methods

__init__(account, nproc, nnodes[, mem, ppn, ...])

Initialize an PBSCheyenne object. :Parameters: * account -- The account string * nproc -- Number of processors to request * nnodes -- Number of nodes to request * ppn -- Number of processors per node * mem -- Memory in GB usage/request on node (109 for fat nodes). * email_who -- Email address for PBS notifications * email_when -- PBS email frequency options. Options include 'a' for on abort, * 'b' for before each job, and 'e' for after each job. * queue -- The queue to use, options are 'regular', 'premium', and 'shared' * walltime -- The wall clock time in HH:MM:SS format, max time is 12:00:00.

schedule(jobs)

Schedule one or more jobs using the scheduler scheduler :Parameters: jobs -- list of jobs to schedule

Attributes

nnodes

nproc

ppn