ResourceRequirements#
- class ansys.hps.client.jms.ResourceRequirements(platform=<marshmallow.missing>, memory=<marshmallow.missing>, num_cores=<marshmallow.missing>, disk_space=<marshmallow.missing>, distributed=<marshmallow.missing>, compute_resource_set_id=<marshmallow.missing>, evaluator_id=<marshmallow.missing>, custom=<marshmallow.missing>, hpc_resources=<marshmallow.missing>, **kwargs)#
Provides the resource requirements resource.
- Parameters:
- platform
str
,optional
Basic platform information. Options are
'linux'
and'windows'
.- memory
int
,optional
Amount of RAM in bytes.
- num_cores
float
,optional
Number of cores.
- disk_space
int
,optional
Amount of disk space in bytes.
- distributedbool,
optional
Whether to enable distributed parallel processing.
- compute_resource_set_id
str
,optional
ID of the compute resource set that this task should run on.
- evaluator_id
str
,optional
ID of the evaluator that this task should run on.
- custom
dict
[str
,Union
[int
,float
,str
, bool]],optional
Dictionary of custom resource requirements.
- hpc_resources
HpcResources
,optional
HPC resource requirements.
- platform
Methods
Provides a helper function for retrieving fields to define as class members for an object.
ResourceRequirements.get
(key[, default])