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
titleTwo parallel jobs each with 8 tasks both running simultaneously on the same node
#!/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 ############'

...