Example -Batchsolve with -Machinelist (Linux)
Functionality featured in the example(s) in this section applies to multiple design types.
In this example, we run a batch HFSS analysis of project
file project2.aedt. We have four identical host computers—host1, host2,
host3, and host4 for analysis, and each host has 4 cores. We do not use
multiprocessing for the distributed analysis, so NumCoresPerDistributedTask=1.
As each host has four cores, we specify multiprocessing using 4 threads for
the non-distributed part of the analysis, so NumberOfProcessors=4. Because we
do not use multiprocessing for the distributed analysis, we will run four
distributed COM engines on each host, with a singe core available for each
engine.
Here is a sample command line for this analysis, where the project file /home/jsmith/projects/project2.aedt is located in a shared directory:
hfss -BatchSolve -Distributed
-Machinelist file=/home/jsmith/hosts/list2
-batchoptions "HFSS/
'Desktop/Setings/ProjectOptions/NumberOfProcessors'=4
'HFSS/NumCoresPerDistributedTask'=1"
/home/jsmith/projects/project2.aedt
For this example, the hostnames are in the text file /home/jsmith/hosts/list2. The file contents are as follows:
host1
host1
host1
host1
host2
host2
host2
host2
host3
host3
host3
host3
host4
host4
host4
host4