Example -BatchSolve with -Machinelist (Windows)

Suppose that we want to run a batch Maxwell analysis of project file project1.aedt. Because all of our hosts have multiples of 2 cores, we specify that we will use two threads for multiprocessing for both the distributed (NumberOfProcessorsDistributed) and non-distributed (NumberOfProcessors) parts of the job. The analysis contains a sweep that will be distributed across three hosts, adam, bill, and charlie. The hosts adam and bill have four cores each, so we run two distributed COM engines on each of these hosts, each using two threads. Host charlie has only two cores, so we specify only one distributed COM engine on this host. This COM engine will also use two threads. 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 \\dennis\projects\project1.aedt is located in a shared directory specified using a UNC path:

maxwell -BatchSolve -Distributed
-Machinelist list=adam,adam,bill,bill,charlie
-batchoptions "Maxwell/Preferences/MemLimitHard=16388608
Maxwell/Preferences/MemLimitSoft=12291456
Maxwell/Preferences/NumberOfProcessors=2
Desktop/Settings/ProjectOptions/NumberOfProcessors=2"
\\dennis\projects\project1.aedt

Related Topics 

Batchoptions Command Line Examples

Example -BatchSolve with -Remote (Windows)

Example -BatchSolve with -Machinelist (Linux)

Example -BatchSolve for Local (Windows)