Example -BatchOptions with -Remote

In this example, we run a batch Twin Builder analysis of project file project1.aedt which contains a Twin Builder design. We want all temporary files and directories created in directory C:\temp\batchsolve instead of using the installation default for the temporary directory. We decide to run the analysis on a remote host, at IP address 12.34.56.78. Because of limited memory on the remote host, we decide to run the analysis using only a single COM engine. Because the remote host has four cores, we decide to use four threads for multiprocessing, for both distributed and non-distributed parts of the analysis. We can use the -Remote option to specify that there will be a single remote COM engine.

Here is a sample command line for this analysis, where the project file \\somehost\projects\project1.aedt is located in a shared directory specified using a UNC path:

ansysedt.exe -BatchSolve -Remote -Machinelist list=12.34.56.78
-batchoptions "TempDirectory='C:/temp/batchsolve'
\\somehost\projects\project1.aedt

An alternative is to use the -Distributed command line option. Because the -Machinelist list contains only one host, there is a single remote COM engine in this case, also.

ansysedt.exe -BatchSolve -Distributed -Machinelist list=12.34.56.78 -batchoptions "TempDirectory='C:\\temp\\batchsolve' \\somehost\projects\project1.aedt

The above command lines show that / is a directory separator in Windows. The \ is also a directory separator in Windows, but it must be doubled to \\ because \ is an escape character.

Related Topics 

Batchoptions Command Line Examples

Example -Batchsolve for Local