Using the Command Line to Submit HPC Jobs

Ansys Electronics Desktop can be run from the command line. When using the command line to perform HPC jobs, take the following into consideration.

Distributed Jobs

An Ansys EM batch job which distributes the analysis over several hosts may also be called a distributed job. To submit a distributed job, the following Ansys EM desktop command line options should be used:

Other examples:

Serial Job on a Single Processor

Suppose Ansys Electronics Desktop is installed at "C:\Program Files\AnsysEM\v242\Win64\ and you are using RSM for DSO:

C:\Program Files\AnsysEM\v242\win64\ansysedt.exe -ng -BatchSolve -machinelist num=2

-monitor \\shared_drive\projs\OptimTee.aedt

Using LSF for remote-analysis/DSO

bsub -n 1 C:\Program Files\AnsysEM\v242\win64\ansysedt.exe -ng -BatchSolve -machinelist num=3 -monitor -local \\shared_drive\projs\OptimTee.aedt

Distributed Job Using Four Processors

Ansoft RSM

C:\Program Files\AnsysEM\v242\win64\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\OptimTee.aedt

LSF

bsub -n 4 C:\Program Files\AnsysEM\v242\win64\ansysedt.exe -ng -Batchsolve -monitor

-Distributed -machinelist num=4

\\shared_drive\projs\OptimTee.aedt

Multiprocessing Job Using Four Cores

bsub -n 4 -R "span[ptile=4]" C:\Program Files\AnsysEM\v242\win64\ansysedt.exe -ng -monitor

-Local -BatchSolve -machinelist num=4 -batchoptions \\shared_drive\registry.txt \\shared_drive\projs\OptimTee.aedt

This requests four cores to come from the same machine as multiprocessing requires cores to be on the same machine

Distributed Analysis and Multiprocessing in the Same Job

Distributed processing using four engines and multiprocessing using four cores, using a total of sixteen cores

bsub -n 16 -R "span[ptile=4]" c:Program Files\AnsysEM\v242\win64\ansysedt.exe -ng

-BatchSolve -Distributed -machinelist num=4

-batchoptions \\shared_drive\registry.txt

\\shared_drive\projs\OptimTee.aedt