![]() ![]() ![]() ![]() ![]() |
|
微波射频仿真设计 |
|
首页 >> Ansoft Designer >> Ansoft Designer在线帮助文档 |
Windows HPC Integration > Example PBS qsub Command LinesThe following examples show how to submit Linux Designer jobs on PBS. Similar command lines and job scripts will work for all Ansoft products. Most of the following examples are PBS "single-node jobs”. However, the last example is a PBS "multi-node job" that demonstrates how to specify the allocation of threads, tasks, and nodes .
Serial job: qsub ~/pbs_scripts/OptimTee.sh Job Script File: #!/bin/sh /opt/Ansoft/designer7/designer7/designer -ng -BatchSolve _ ~/projects/OptimTee.designer
Serial job that needs a minimum of 4GB memory and two hours of real (wallclock) time: qsub ~/pbs_scripts/OptimTee.sh Job Script File: #!/bin/sh #PBS -l walltime=2:00:00 #PBS -l mem=4gb /opt/Ansoft/designer7/designer7/designer -ng -BatchSolve _ ~/projects/OptimTee.designer
Multi-processing job using 4 cores: qsub ~/pbs_scripts/OptimTee.sh Job Script File: #!/bin/sh #PBS -l ncpus=4 /opt/Ansoft/designer7/designer7/designer -ng -BatchSolve -batchoptions "'designer/Preferences/NumberOfProcessors'=4" _ ~/projects/OptimTee.designer “#PBS -l ncpus=4” indicates that four cores or CPUs are allocated to this job. “-batchoptions” indicates that Designer should use four cores for multi-processing.
Distributed processing job using 4 engines on a single host: qsub ~/pbs_scripts/OptimTee.sh Job Script File: #!/bin/sh #PBS -l ncpus=4 /opt/Ansoft/designer7/designer7/designer -ng -BatchSolve -Distributed _ ~/projects/OptimTee.designer “#PBS -l ncpus=4” indicates that four cores or CPUs are allocated to this job. “-Distributed” indicates that this is a DSO job, so that multiple engines will be started. Because 4 cores are allocated to the job, the job will run 4 engines.
Distributed processing and multi-processing job using 8 cores on two nodes, running 4 engines (two per node) with 2 cores for multi-processing: qsub ~/pbs_scripts/OptimTee.sh Job Script File: #!/bin/sh #PBS -l nodes=2:ppn=2:cpp=2#excl /opt/Ansoft/designer7/designer7/designer -ng -BatchSolve -Distributed _ -machinelist num=4 -batchoptions _ "'designer/Preferences/NumberOfProcessorsDistributed'=2 _ 'designer/Preferences/NumberOfProcessors'=2" _ ~/projects/OptimTee.designer “#PBS -l nodes=2:ppn=2:cpp=2#shared” indicates that two nodes are requested [nodes=2], two processes (engines) run on each node [ppn=2], and each process will use two cores [cpp=2]. The hosts allocated to this job may not be used for any other jobs while this job is running [#excl]. “-machinelist num=4” indicates that this is a DSO job and that a total of four engines will be started. “designer/Preferences/NumberOfProcessorsDistributed=2” indicates that the distributed analysis engines should use two cores for multi-processing. “designer/Preferences/NumberOfProcessors=2” indicates that the portion of the analysis that is not distributed should use two cores for multi-processing.
HFSS视频教程 ADS视频教程 CST视频教程 Ansoft Designer 中文教程 |
Copyright © 2006 - 2013 微波EDA网, All Rights Reserved 业务联系:mweda@163.com |