ResourceRequirement

Specify basic hardware resource requirements.

"min" is the minimum amount of a resource that must be reserved to schedule a job. If "min" cannot be satisfied, the job should not be run.

"max" is the maximum amount of a resource that the job shall be permitted to use. If a node has sufficient resources, multiple jobs may be scheduled on a single node provided each job's "max" resource requirements are met. If a job attempts to exceed its "max" resource allocation, an implementation may deny additional resources, which may result in job failure.

If "min" is specified but "max" is not, then "max" == "min" If "max" is specified by "min" is not, then "min" == "max".

It is an error if max < min.

It is an error if the value of any of these fields is negative.

If neither "min" nor "max" is specified for a resource, an implementation may provide a default.

Members

Mixins

__anonymous
mixin genBody
Undocumented in source.

Static variables

class_
auto class_;

Always 'ResourceRequirement'

Variables

coresMax_
Union!(None, int, string, Expression) coresMax_;

Maximum reserved number of CPU cores

coresMin_
Union!(None, int, long, string, Expression) coresMin_;

Minimum reserved number of CPU cores

outdirMax_
Union!(None, int, long, string, Expression) outdirMax_;

Maximum reserved filesystem based storage for the designated output directory, in mebibytes (2**20)

outdirMin_
Union!(None, int, long, string, Expression) outdirMin_;

Minimum reserved filesystem based storage for the designated output directory, in mebibytes (2**20)

ramMax_
Union!(None, int, long, string, Expression) ramMax_;

Maximum reserved RAM in mebibytes (2**20)

ramMin_
Union!(None, int, long, string, Expression) ramMin_;

Minimum reserved RAM in mebibytes (2**20)

tmpdirMax_
Union!(None, int, long, string, Expression) tmpdirMax_;

Maximum reserved filesystem based storage for the designated temporary directory, in mebibytes (2**20)

tmpdirMin_
Union!(None, long, string, Expression) tmpdirMin_;

Minimum reserved filesystem based storage for the designated temporary directory, in mebibytes (2**20)

Mixed In Members

From mixin genBody

__anonymous
mixin genBody_!saladVersion
Undocumented in source.

Meta