| name | aqwa-batch-execution-license-architecture |
| description | Sub-skill of aqwa-batch-execution: License Architecture (+3). |
| version | 1.1.0 |
| category | engineering |
| type | reference |
| scripts_exempt | true |
License Architecture (+3)
License Architecture
- Base solver (
ansys feature): 4 cores free with Mechanical Enterprise licence
- Beyond 4 cores: requires HPC Pack (
aa_r_hpc) or Ansys HPC licence
- AQWA uses OpenMP (shared-memory only) — all cores must be on a single node
- MPI / multi-node is not supported
Environment Variables
export ANSYSLMD_LICENSE_FILE=1055@license-server.domain.com
export ANSYSLI_SERVERS=2325@license-server.domain.com
export OMP_NUM_THREADS=8
ulimit -s unlimited
SLURM Job Script — Standalone
#!/usr/bin/env bash
module load ansys/v251
export ANSYSLMD_LICENSE_FILE=1055@license-server
export ANSYSLI_SERVERS=2325@license-server
export OMP_NUM_THREADS=${SLURM_CPUS_PER_TASK}
AQWA_EXE=/ansys_inc/v251/aqwa/bin/lnx64/Aqwa
WORK_DIR=/scratch/${USER}/${SLURM_JOB_ID}
mkdir -p ${WORK_DIR}
cp analysis.dat ${WORK_DIR}/
cd ${WORK_DIR}
${AQWA_EXE} std analysis
if [ -f analysis.res ]; then
echo "SUCCESS"
cp analysis.lis analysis.res analysis.plt analysis.ah1 ${SLURM_SUBMIT_DIR}/
else
echo "FAILED — check analysis.mes:"
cat analysis.mes
exit 1
fi
SLURM Job Script — Workbench (runwb2)
#!/usr/bin/env bash
module load ansys/v251
export ANSYSLMD_LICENSE_FILE=1055@license-server
export ANSYSLI_SERVERS=2325@license-server
RUNWB2=/ansys_inc/v251/Framework/bin/Linux64/runwb2
${RUNWB2} -B \
-F "/path/to/project.wbpj" \
-R "/path/to/solve.wbjn"
exit $?
Minimal solve.wbjn (IronPython 2.7):
SetScriptVersion(Version="0.1.0")
Open(FilePath=r"/path/to/project.wbpj")
system1 = GetSystem(Name="AQW")
system1.Update(AllDependencies=True)
Save(Overwrite=True)