Versionen im Vergleich

Schlüssel

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


Auszug

Crash Simulation Software - finite element and multiphysics program to analyse the nonlinear response of structures

General Information

...

Support and Examples

Info

This documentation describes the specifics of installation and usage of ANSYS LS-DYNA 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 recommended to take an introductory course first (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

The ANSYS versions currently installed are

...

Info

The module name is ansys. Other versions may be installed. Inspect the output of :            module avail ansys

Usage and Licensing at HLRN

The use of Ansys is restricted to members of the ansys user group. You can apply to become a group member at support[at]hlrn.de
Please note the license conditions: Our academic licenses are restricted to students, PhD students, teachers and trainers of public institutions. They cannot be used in projects that are financed by industrial partners.

Warnung
titleLicences

Important: Always add
#SBATCH -L ansys
to your job script.

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 a "ANSYS Academic Research License" with 4 inclusive tasks. Research jobs with more than 4 tasks cost additional "aa_r_hpc" licenses.
  • aa_t_a is a "ANSYS Academic Teaching License" with a maximum of 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 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

specific support is provided by www.dynasupport.com
For official examples visit: www.dynaexamples.com

General Information

Info

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


executable / flagmeaning
lsdyna(without flags) single precision, shared memory parallel
-dpdouble precision
-mpp -dis -np 96

distributed memory parallel on single 96-core-node

-mpp -dis -machines 1st_node_name:96:2nd_node_name:96

distributed memory parallel on multiple 96-core-nodes

To explore other settings, we recommend the general Ansys launcher GUI (start an interactive job as described in Usage Guide, call "launcher" on compute node after loading the Ansys module). Running the (test) job from this GUI will print out your specialized terminal command. Then you can copy the resulting command/flags to your specific Slurm job script file.
To stop an interactive LS-DYNA job press CTRL+C and then "stop"+ENTER.

Example Jobscript

The underlying input file PipeWhip.k can be found at www.dynaexamples.com/introduction/Introduction/example-26

Codeblock
languagebash
titleThis is an example for a parallel distributed memory job on 2 nodes with 40 96 tasks per node
#!/bin/bash
#SBATCH -t 00:10:00
#SBATCH --nodes=2
#SBATCH --tasks-per-node=4096
#SBATCH -L ansys
#SBATCH -p medium40standard96:test
#SBATCH --mailjob-type=ALL
#SBATCH --job-name=castingname=Whip

# format the machinelist
srun hostname -s | uniq -c | awk '{printf $2":"$1":"}' > hostlist
machinelist=`cat hostlist`

module add ansys/2023r1

lsdyna <your personal flags and input file>i=ex_26_thin_shell_elform_16.k -dp -mpp -dis -machines $machinelist

echo "############### ANSYS LS-DYNA finished ################"

...