HpcResources#

class ansys.hps.client.jms.HpcResources(num_cores_per_node=<marshmallow.missing>, num_gpus_per_node=<marshmallow.missing>, exclusive=<marshmallow.missing>, queue=<marshmallow.missing>, use_local_scratch=<marshmallow.missing>, native_submit_options=<marshmallow.missing>, custom_orchestration_options=<marshmallow.missing>, **kwargs)#

Provides the hpc resources resource.

Parameters:
num_cores_per_nodeint, optional

Number of cores per node.

num_gpus_per_nodeint, optional

Number of GPUs per node.

exclusivebool, optional

Whether a job can’t share resources with other running jobs.

queuestr, optional

Name of the job scheduler queue.

use_local_scratchbool, optional

Whether to use node local storage.

native_submit_optionsstr, optional

Additional command line options to pass directly to the scheduler.

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

Dictionary of custom orchestration options.

Methods

HpcResources.declared_fields()

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

HpcResources.get(key[, default])