Versionen im Vergleich

Schlüssel

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

...

  • aa_r is a "ANSYS Academic Research License" with 16 inclusive tasks. Research jobs with more than 16 tasks cost additional "aa_r_hpc" licenses.
  • aa_t_a is a "ANSYS Academic Teaching License" with a maximum of 16 tasks. These may be used only for student projects, student instruction and student demonstrations. Eligible users are allowed to activate these, by adding the flag

    Codeblock
    titleActivation of the aa_t_a license
    -lpf $ANSYSLIC_DIR/prodord/license.preferences_for_students_and_teaching.xml

    to the Ansys executable.

Example Jobscripts

The underlying test case described here can be downloaded here.

Codeblock
languagebash
titleThis is an example for a parallel distributed memory 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 medium
#SBATCH --mail-type=ALL
#SBATCH --output="cavity.log.%j"
#SBATCH --job-name=cavity

module load ansys/2019r2
srun hostname -s > hostfile
echo "Running on nodes: ${SLURM_JOB_NODELIST}"

fluent 2d -g -t${SLURM_NTASKS}  -ssh  -mpi=intel -cnf=hostfile << EOFluentInput >cavity.out.$SLURM_JOB_ID
      file/read-case cavityinitial_run.cas.h5
      parallel/partition/method/cartesian-axes 2
      solve/initialize/initialize-flow
      solve/iterate 100
      exit
      yes
EOFluentInput

echo '#################### Fluent finished ############'

...