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

Number of cores. The default is None.

gpusstr, optional

Number of gpus. The default is None.

tasksint, optional

Number of tasks. The default is None.

num_variations_to_distributeint, optional

Number of variations to distribute. The default is None.

allowed_distribution_typeslist, optional

Allowed distribution types. The default is None.

use_auto_settingsbool, optional

Number of variations to distribute. The default is None.

Returns:
bool

True when successful, False when failed.