Command Line Information for Ansys Electromagnetics Desktop Products
You can specify any Tools > Options setting on the command line using corresponding registry keys.
Examples
ansysedt.exe –batchsolve
–batchoptions
“’Twin Builder/Preferences/TempDirectory’=’G:/tmp’”
projectname.aedt
This example demonstrates how to set the same options as the previous example, but here using a registry.txt file:
ansysedt.exe –batchsolve –batchoptions registry.txt projectname.aedt
registry.txt contains:
$begin 'Config'
'Twin Builder/Preferences/TempDirectory'=’G:/tmp’
$end 'Config'
Distributed Jobs
An Ansys Electromagnetics batch job which distributes the analysis over several hosts may also be called a distributed job. To submit a distributed job, the following Ansys Electromagnetics desktop command line options should be used:
- The -Distributed option is present, and the -Local option is absent. When running as a batch job under one of the schedulers with direct integration, this option is a directive to the job to:
- Obtain the list of hosts allocated to the job directly from the scheduler.
- Use the scheduler to launch the analysis engines on the hosts allocated to the job.
- Include the -Machinelist num=num_distributed_engines option, where num_distributed_engines is the total number of analysis engines to be started on the hosts assigned to the job.
Other examples:
Serial Job on a Single Processor
Suppose Twin Builder is installed at "C:\Program Files\ANSYS Inc\v252\AnsysEM" and you are using RSM for remote-analysis/DSO:
"C:\Program Files\ANSYS Inc\v252\AnsysEM\ansysedt.exe" –ng –BatchSolve –remote 10.1.1.221
–monitor \\shared_drive\projs\capacitor.aedt
Using LSF for remote-analysis/DSO:
bsub –n 1 "C:\Program Files\ANSYS Inc\v252\AnsysEM\ansysedt.exe" –ng –BatchSolve -monitor –local \\shared_drive\projs\capacitor.aedt
Distributed Job using Four Processors
RSM
"C:\Program Files\ANSYS Inc\v252\AnsysEM\ansysedt.exe" –ng –Batchsolve -monitor –Distributed
–machinelist list=“10.1.1.221, 10.1.1.222, 10.1.1.223,_ 10.1.1.224” \\shared_drive\projs\capacitor.aedt
LSF
bsub –n 4 "C:\Program Files\ANSYS Inc\v252\AnsysEM\ansysedt.exe" –ng –Batchsolve –monitor
–Distributed –machinelist num=4
\\shared_drive\projs\capacitor.aedt
Related Topics