set_custom_hpc_options#
- Hfss3dLayout.set_custom_hpc_options(cores: int | None = None, gpus: int | None = None, tasks: int | None = None, num_variations_to_distribute: int | None = None, allowed_distribution_types: list | None = None, use_auto_settings: bool = True) bool#
Set custom HPC options.
This method creates a temporary ACF file based on the local configuration file and modifies it with the specified HPC options.
- Parameters:
- cores
int,optional Number of cores. The default is
None.- gpus
str,optional Number of gpus. The default is
None.- tasks
int,optional Number of tasks. The default is
None.- num_variations_to_distribute
int,optional Number of variations to distribute. The default is
None.- allowed_distribution_types
list,optional Allowed distribution types. The default is
None.- use_auto_settingsbool,
optional Number of variations to distribute. The default is
None.
- cores
- Returns:
- bool
Truewhen successful,Falsewhen failed.