submit_job#
- TwinBuilder.submit_job(cluster_name, aedt_full_exe_path=None, nodes=1, cores=32, wait_for_license=True, setting_file=None)[source]#
Submit a job to be solved on a cluster.
- Parameters:
- cluster_name
str
Name of the cluster to submit the job to.
- aedt_full_exe_path
str
,optional
Full path to the AEDT executable file. The default is
None
, in which case"/clustername/AnsysEM/AnsysEM2x.x/Win64/ansysedt.exe"
is used.- nodes
int
,optional
Number of nodes. The default is
1
.- cores
int
,optional
Number of cores. The default is
32
.- wait_for_licensebool,
optional
Whether to wait for the license to be validated. The default is
True
.- setting_file
str
,optional
Name of the file to use as a template. The default value is
None
.
- cluster_name
- Returns:
type
ID of the job.
References
>>> oDesktop.SubmitJob