...
Info |
---|
This documentation describes the specifics of installation and usage of ANSYS at HLRN. Introductory courses for ANSYS as well as courses for special topics are offered by ANSYS Inc. and their regional offices, e.g. in Germany. It is strongly recommended to take at least an introductory course (see the CAD-FEM GmbH homepage). Good (free) starting points for self-study are https://students.cadfem.net/de/ansys-gratis-lernen.html and https://courses.ansys.com |
Details of the HLRN Installation of ANSYS
...
Version | Module File | Remarks |
---|---|---|
ANSYS 2022 R2 | ansys/2020r2 | |
ANSYS 2022 R1 | ansys/2020r1 | default |
ANSYS 2020 R2 | ansys/2020r2 | |
ANSYS 2019 R2 | ansys/2019r2 | default |
ANSYS 19.2 | ansys/19.2 | |
ANSYS 19.0 | ansys/19.0 |
...
Codeblock | ||||
---|---|---|---|---|
| ||||
#!/bin/bash
#SBATCH -t 00:10:00
#SBATCH --nodes=2
#SBATCH --ntasks-per-node=40
#SBATCH -L ansys
#SBATCH -p medium40:test
#SBATCH --mail-type=ALL
#SBATCH --job-name=StaticMixer
module load ansys
source $ANSYSLIC_DIR/cfx5solve_redef_with_student_lic
## create list of hosts in calculation
srun hostname -s > hostlist.$SLURM_JOB_ID
## format the host list for cfx
cfxhostlist=`tr '\n' ',' < hostlist.$SLURM_JOB_ID`
echo $cfxhostlist
# start the solver
cfx5solve -def StaticMixer.def -start-method "Intel MPI Distributed Parallel"\
-double -affinity "explicit" -par-dist "$cfxhostlist"
echo '#################### CFX finished ############'
sleep 2
rm hostlist.$SLURM_JOB_ID
|
...
Codeblock | ||||
---|---|---|---|---|
| ||||
#!/bin/bash
#SBATCH --time=01:00:00
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=16
#SBATCH --licenses=ansys:16 # match number to nodes*ntasks-per-node
#SBATCH --partition=standard96:test
#SBATCH --job-name=testjob
hostlist_per_cfx5solve=$SLURM_JOB_NODELIST"*8"
echo "hostlist_per_cfx5solve "$hostlist_per_cfx5solve
module load ansys/2020r2
# cfx5solve -help
# start the solver
cfx5solve -def StaticMixerA.def -start-method "Intel MPI Distributed Parallel"\
-double -par-dist "$hostlist_per_cfx5solve" -name $SLURM_JOB_NAME.$SLURM_JOB_ID.a &
echo "first cfx5solve is running in background"
cfx5solve -def StaticMixerB.def -start-method "Intel MPI Distributed Parallel"\
-double -affinity "explicit" -par-dist "$hostlist_per_cfx5solve" -name $SLURM_JOB_NAME.$SLURM_JOB_ID.b
# wait for all children processes (background jobs) to finish
wait
echo '#################### CFX finished ############'
|
...