Example SGE qsub Command Lines

All of the following examples show how to submit Linux HFSS jobs on SGE, but similar command lines will work for all Ansys Electromagnetics products.

Serial job using command line:

qsub -b y /opt/AnsysEM/v242/Linux64/ansysedt -ng -BatchSolve
~/projects/OptimTee.aedt

Serial job with a hard runtime limit of 15 minutes:

qsub -b y -l h_rt=00:15:00 /opt/AnsysEM/v242/Linux64/ansysedt
-ng -BatchSolve ~/projects/OptimTee.aedt

Serial job using a script, with a runtime limit specified in the script:

qsub ~/sge/scripts/OptimTee.csh

Script file contents:

#!/bin/csh

#$ -l h_rt=00:15:00

/opt/AnsysEM/v2421/Linux64/ansysedt -ng -BatchSolve
~/projects/OptimTee.aedt

Distributed processing job using 4 engines:

qsub -b y -pe pe1 4 /opt/AnsysEM/v2421/Linux64/ansysedt
-ng -BatchSolve -Distributed -machinelist num=4 ~/projects/OptimTee.aedt