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_node
int
,optional
Number of cores per node.
- num_gpus_per_node
int
,optional
Number of GPUs per node.
- exclusivebool,
optional
Whether a job can’t share resources with other running jobs.
- queue
str
,optional
Name of the job scheduler queue.
- use_local_scratchbool,
optional
Whether to use node local storage.
- native_submit_options
str
,optional
Additional command line options to pass directly to the scheduler.
- custom_orchestration_options
dict
[str
,Union
[int
,float
,str
, bool]],optional
Dictionary of custom orchestration options.
- num_cores_per_node
Methods
Provides a helper function for retrieving fields to define as class members for an object.
HpcResources.get
(key[, default])