• 易迪拓培训,专注于微波、射频、天线设计工程师的培养
首页 > HFSS > HFSS help > Command Line Enhancements for ANSYS EM Desktop Products

HFSS15: Command Line Enhancements for ANSYS EM Desktop Products

录入:edatop.com     点击:

Any Tools>Options setting can be specified via command line, using corresponding registry keys.

This feature is available in all desktop products.

HFSS Examples

hfss.exe –batchsolve

–batchoptions

“’HFSS/Preferences/NumberOfProcessors’=4

‘HFSS/Preferences/NumberOfProcessorsDistributed’=2”
'HFSS/Preferences/UseHPCForMP'=1
'HFSS/Preferences/HPCLicenseType'=pool
projectname.hfss

This example demonstrates how to set set the same options as the previous example, but here using a registry.txt file:

hfss.exe –batchsolve –batchoptions registry.txt projectname.hfss

Registry.txt contains:

$begin 'Config'       

'HFSS/Preferences/NumberOfProcessors'=4       

'HFSS/Preferences/NumberOfProcessorsDistributed'=2

'HFSS/Preferences/UseHPCForMP'=1

'HFSS/Preferences/HPCLicenseType'=pool

$end 'Config'

Distributed Jobs

An ANSYS EM batch job which distributes the analysis over several hosts may also be called a distributed job. To submit a distributed job, the following ANSYS EM desktop command line options should be used:

• The -Distributed option should be present, and the -Local option should be absent. When running as a batch job under one of the schedulers with direct integration, this option is a directive to the job to 1) obtain the list of hosts allocated to the job, directly from the scheduler, and to 2) use the scheduler to launch the analysis engines on the hosts allocated to the job.

• The -Machinelist num=num_distributed_engines option should be included, where num_distributed_engines is the total number of analysis engines to be started on the hosts assigned to the job.

Other examples:

• Serial Job on a Single Processor

• Distributed Job using Four Processors

• Multiprocessing Job Using Four Cores

• Distributed Analysis and Multi-Processing in the Same Job

Serial Job on a Single Processor

Suppose HFSS is installed at “c:HFSS14” and you are using Ansoft RSM for remote-analysis/DSO:

C: HFSS14HFSS.exe –ng –BatchSolve –remote 10.1.1.221

–monitor \shared_driveprojsOptimTee.hfss

User is using LSF for remote-analysis/DSO

bsub –n 1 C: HFSS14HFSS.exe –ng –BatchSolve -monitor –local \shared_driveprojsOptimTee.hfss

Distributed Job using Four Processors

Ansoft RSM

C: HFSS14HFSS.exe–ng –Batchsolve -monitor –Distributed

–machinelist list=“10.1.1.221, 10.1.1.222, 10.1.1.223, 10.1.1.224” \shared_driveprojsOptimTee.hfss

LSF

bsub –n 4 C: HFSS14HFSS.exe –ng –Batchsolve –monitor

–Distributed –machinelist num=4

\shared_driveprojsOptimTee.hfss

Multiprocessing Job Using Four Cores

Multi-processing job using 4 cores

bsub –n 4 –R “span[ptile=4]” C: HFSS14HFSS.exe –ng -monitor

–Local –BatchSolve –batchoptions \shared_driveregistry.txt \shared_driveprojsOptimTee.hfss

This requests 4 cores to come from the same machine, as multi-processing needs cores to be on the same machine

Distributed Analysis and Multi-Processing in the Same Job

Distributed-processing using 4 engines and multi-processing using 4 cores, using a total of 16 cores

bsub –n 16 –R “span[ptile=4]” c:hfss14hfss.exe –ng

–BatchSolve –Distributed –machinelist num=4

–batchoptions \shared_driveregistry.txt

\shared_driveprojsOptimTee.hfss

HFSS 学习培训课程套装,专家讲解,视频教学,帮助您全面系统地学习掌握HFSS

上一篇:Choosing Frequencies for Full-Wave SPICE
下一篇:Changing the Min. and Max. Variable Values for Every Optimization Setup

HFSS视频培训课程推荐详情>>
HFSS教程推荐

  网站地图