Skip to content

enum

JobPromptResponse

Bases: Enum

Enum for prompt repsonse to allow for yes/no/new options

Source code in hpcman/queue/enum.py
4
5
6
7
8
9
class JobPromptResponse(Enum):
    """Enum for prompt repsonse to allow for yes/no/new options"""

    YES = auto()
    NO = auto()
    NEW = auto()

JobType

Bases: str, Enum

Implemented job types, batch or array jobs

Source code in hpcman/queue/enum.py
class JobType(str, Enum):
    """Implemented job types, batch or array jobs"""

    BATCH = "batch"
    ARRAY = "array"

LaunchType

Bases: str, Enum

Implemented launch types

Source code in hpcman/queue/enum.py
class LaunchType(str, Enum):
    """Implemented launch types"""

    SERVE = "serve"
    JUPYTER = "jupyter"

LocalType

Bases: str, Enum

Type of local execution. Should each task have a dir, or should they be shared?

Source code in hpcman/queue/enum.py
class LocalType(str, Enum):
    """Type of local execution. Should each task have a dir, or should they be shared?"""

    PERTASK = "pertask"
    SHARED = "shared"

LogType

Bases: str, Enum

Types of logging output; File logging in pwd, DB logging in $HOME

Source code in hpcman/queue/enum.py
class LogType(str, Enum):
    """Types of logging output; File logging in pwd, DB logging in $HOME"""

    FILE = "file"
    DB = "db"

MirrorType

Bases: str, Enum

Type of directory mirroring. Either symlink or copy

Source code in hpcman/queue/enum.py
class MirrorType(str, Enum):
    """Type of directory mirroring. Either symlink or copy"""

    LINK = "link"
    COPY = "copy"

QueueType

Bases: str, Enum

Implemented queueing system types, e.g. SGE, slurm, etc.

Source code in hpcman/queue/enum.py
class QueueType(str, Enum):
    """Implemented queueing system types, e.g. SGE, slurm, etc."""

    SGE = "SGE"
    SLURM = "SLURM"

SLURMHosts

Bases: str, Enum

Nodes that are submit hosts; used for debugging currently

Source code in hpcman/queue/enum.py
class SLURMHosts(str, Enum):
    """Nodes that are submit hosts; used for debugging currently"""

    SHELLHPC = "shell-hpc.cqls.oregonstate.edu"

SubmitHosts

Bases: str, Enum

Nodes that are submit hosts; used for debugging currently

Source code in hpcman/queue/enum.py
class SubmitHosts(str, Enum):
    """Nodes that are submit hosts; used for debugging currently"""

    VADER = "vader"