Agent skill
aqwa-batch-execution-license-architecture
Sub-skill of aqwa-batch-execution: License Architecture (+3).
Install this agent skill to your Project
npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/_archive/engineering/marine-offshore/aqwa/batch-execution/license-architecture
SKILL.md
License Architecture (+3)
License Architecture
- Base solver (
ansysfeature): 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 # Must match NUM_CORES in Deck 0 (or WB setting)
ulimit -s unlimited # Required for large models
SLURM Job Script — Standalone
#!/usr/bin/env bash
#SBATCH --job-name=aqwa_line
#SBATCH --partition=compute
#SBATCH --nodes=1 # AQWA is SMP — single node only
#SBATCH --ntasks=1
#SBATCH --cpus-per-task=8
#SBATCH --mem=32G
#SBATCH --time=04:00:00
#SBATCH --output=aqwa_%j.out
#SBATCH --error=aqwa_%j.err
module load ansys/v251 # Module name is site-specific
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
#SBATCH --job-name=aqwa_wb
#SBATCH --nodes=1
#SBATCH --cpus-per-task=8
#SBATCH --mem=32G
#SBATCH --time=08:00:00
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") # Name set by user in WB project
system1.Update(AllDependencies=True)
Save(Overwrite=True)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gsd-complete-milestone
Archive completed milestone and prepare for next version
gsd-reapply-patches
Reapply local modifications after a GSD update
gsd-verify-work
Validate built features through conversational UAT
gsd-thread
Manage persistent context threads for cross-session work
clinical-trial-protocol
Generate clinical trial protocols for medical devices or drugs through a modular, waypoint-based architecture with research-only and full protocol modes.
single-cell-rna-qc
Performs quality control on single-cell RNA-seq data (.h5ad or .h5 files) using scverse best practices with MAD-based filtering and comprehensive visualizations.
Didn't find tool you were looking for?