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:

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

Running Twin Builder from a Command Line

Scheduler Terminology

What a Scheduler Does

Aborting an Analysis