Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.


Auszug
Computational fluid dynamics solver focused on turbo-machinery (vertex-centered FVM)

...

Info

To obtain and checkout a product license please read Ansys Suite first.

Documentation and Tutorials

...

Codeblock
languagebash
titleParallel distributed memory student job on 2 nodes with 40 tasks per node
#!/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/2023r1
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

...