Example -BatchSolve with -Machinelist (Linux)
In this example, we run a batch Maxwell analysis of project
file project2.aedt, which contains an Maxwell design. We have four identical
hosts host1, host2, host3, and host4 for
analysis, and each host has four cores. We do not use multiprocessing for
the distributed analysis, so NumberOfProcessorsDistributed=1
.
As each host has four cores, we specify multiprocessing using four 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. As in Example 1, we specify a desired RAM
limit of 12 GB and a maximum RAM limit of 16 GB for this analysis. The
RAM limits are specified in KB, so the desired RAM limit is 12291456 KB,
and the maximum RAM limit is 16388608 KB.
Here is a sample command line for this analysis, where the project file /home/jsmith/projects/project2.aedt is located in a shared directory:
maxwell -BatchSolve -Distributed
-Machinelist file=/home/jsmith/hosts/list2
-batchoptions "Maxwell/Preferences/MemLimitHard=16388608
Maxwell/Preferences/MemLimitSoft=12291456
Maxwell/Preferences/NumberOfProcessors=4
Desktop/Settings/ProjectOptions/NumberOfProcessors=1"
/home/jsmith/projects/project2.aedt
For this example, the hostnames are in the text file /home/jsmith/hosts/list2. Here are the file contents:
host1
host1
host1
host1
host2
host2
host2
host2
host3
host3
host3
host3
host4
host4
host4
host4
Related Topics
Batchoptions Command Line Examples
Example -BatchSolve with -Remote (Windows)