...
The flag "#SBATCH -L ansys" ensures that the scheduler starts jobs only, when licenses are available.
You can check the availability yourself: scontrol show lic
aa_r
is is a "ANSYS Academic Research License" with 16 4 inclusive tasks. Research jobs with more than 16 4 tasks cost additional "aa_r_hpc
" licenses.aa_t_a
is a "ANSYS Academic Teaching License" with a maximum of 16 4 tasks. These may be used only for student projects, student instruction and student demonstrations. Eligible users are allowed to activate these, by adding the flagCodeblock title Activation of the aa_t_a license -lpf $ANSYSLIC_DIR/prodord/license.preferences_for_students_and_teaching.xml
to the Ansys executable, such as "cfx5solve". The path $ANSYSLIC_DIR is provided after loading any Ansys module. Alternatively, eligible users are allowed to redefine their command "cfx5solve" with
Codeblock title Redefining cfx5solve for students source $ANSYSLIC_DIR/cfx5solve_redef_with_student_lic
after loading the Ansys module inside the job script. This will append the flag "-lpf ..." to "cfx5solve" automatically if less than 17 task are requested.
...