Ansysedt
ANSYS Electronics Desktop (EDT) is the premier unified platform for electromagnetic, circuit, and system simulation.
License required
Please purchase, download, and install the Ansysedt license yourself. For assistance with installation or usage, contact us with proof of your research group's Ansysedt license.
1. Script Template
submit.sh
#!/bin/bash
#SBATCH --nodes=1 # Number of nodes
#SBATCH --ntasks-per-node=56 # Number of cores per node
#SBATCH --ntasks=56 # Total number of cores
#SBATCH --partition=g1_share # Queue partition; must specify the correct partition
#SBATCH --job-name=hello # Job name
#SBATCH --output=hello.%j.out # Normal log output (%j parameter value is jobId)
#SBATCH --error=hello.%j.err # Error log output (%j parameter value is jobId)
##############################################
# Software Envrironment #
##############################################
#unset I_MPI_PMI_LIBRARY # Disable default MPI library, use Intel's built-in library
#export I_MPI_JOB_RESPECT_PROCESS_PLACEMENT=0 # Parameter modification required for Intel multi-node jobs
# module load intel/2022 intelmpi/2022 # Load Intel environment
##############################################
# Run job #
##############################################
WORKDIR=`pwd`
# Environment variable required to enable SLURM custom integration
export PBS_JOBID="${SLURM_JOBID}"
# Create options file
OptFile="${WORKDIR}/Options.txt"
cat - <<EOF > $OptFile
\$begin 'Config'
'HFSS/SolveAdaptiveOnly'=0
'HFSS/HPCLicenseType'='pool'
'HFSS 3D Layout Design/HPCLicenseType'='pool'
'HFSS 3D Layout Design/MPIVendor'='Intel'
'HFSS/MPIVendor'='Intel'
\$end 'Config'
EOF
# skip Dependency check
export ANS_IGNOREOS=1
export ANS_NODEPCHECK=1
# Run analysis
ansysedt -ng -monitor -distributed -machinelist num=$SLURM_NTASKS -batchoptions ${WORKDIR}/Options.txt -batchsolve ${WORKDIR}/OAM_110_X.aedt
2. The meanings of the command-line parameters are as follows:
-ng: Use non-graphical user interface mode.-monitor: Display solver progress on the console.-distributed: Use distributed computing.-machinelist num=$SLURM_NTASKS: Specify the number of compute nodes to use, where$SLURM_NTASKSis an environment variable representing the number of currently available compute nodes.-batchoptions ${WORKDIR}/Options.txt: Specify the path to the solver options file, where${WORKDIR}is an environment variable representing the current working directory.-batchsolve ${WORKDIR}/OAM_110_X.aedt: Specify the path to the electromagnetic simulation file to be solved.