- 易迪拓培训,专注于微波、射频、天线设计工程师的培养
HFSS15: Example -BatchOptions with -Remote (Windows)
In this example, we run a batch Maxwell analysis of project file project1.mxwl which contains a 3D design. We want all temporary files and directories created in directory C:tempmaxwell instead of using the installation default for the Temporary Directory. We decide that the analysis will be done 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 \somehostprojectsproject1.mxwl is located in a shared directory specified using a UNC path:
maxwell -BatchSolve -Remote -Machinelist list=12.34.56.78
-batchoptions "TempDirectory='C:/temp/maxwell'
Maxwell3D/Preferences/NumberOfProcessors=4
Maxwell3D/Preferences/NumberOfProcessorsDistributed=4"
\somehostprojectsproject1.mxwl
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.
maxwell -BatchSolve -Distributed -Machinelist list=12.34.56.78 -batchoptions "TempDirectory='C:\temp\maxwell' Maxwell3D/Preferences/NumberOfProcessors=4 Maxwell3D/Preferences/NumberOfProcessorsDistributed=4" \somehostprojectsproject1.mxwl
The above command lines show that the forward slash "/" may be used as a directory separator on Windows. The back slash "" may also be used as a directory separator on Windows, but it must be doubled to "\" because the back slash is also an escape character.
HFSS 学习培训课程套装,专家讲解,视频教学,帮助您全面系统地学习掌握HFSS
上一篇:Emailing a Help Page Title
下一篇:Editing ANSYS EM Models in Workbench


