schrodinger.job.resource module

Specification of requirements for jobs.

class schrodinger.job.resource.ComputeRequirement(compute_type=None)

Bases: object

Simple class to hold requirements for jobs that hosts must fulfill

__init__(compute_type=None)

Create a ComputeRequirement instance

Parameters

compute_type (ComputeType) – Whether CPU or GPU is required. Use this option if JobDJ should auto detect host types and capabilities.

class schrodinger.job.resource.ComputeType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: enum.Enum

CPU = 1
GPU = 2