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:
platformstr, optional

Basic platform information. Options are 'linux' and 'windows'.

memoryint, optional

Amount of RAM in bytes.

num_coresfloat, optional

Number of cores.

disk_spaceint, optional

Amount of disk space in bytes.

distributedbool, optional

Whether to enable distributed parallel processing.

compute_resource_set_idstr, optional

ID of the compute resource set that this task should run on.

evaluator_idstr, optional

ID of the evaluator that this task should run on.

customdict[str, Union[int, float, str, bool]], optional

Dictionary of custom resource requirements.

hpc_resourcesHpcResources, optional

HPC resource requirements.

Methods

ResourceRequirements.declared_fields()

Provides a helper function for retrieving fields to define as class members for an object.

ResourceRequirements.get(key[, default])