Skip to content
System Status: All systems are operational • Services are available and operational.
Click for detailed status

Ansys LS-DYNA

LS-DYNA is an advanced general-purpose multiphysics simulation software package.

Ansys LS-DYNA on Euler

On Euler the following versions are available via modules:

Version Module command
Ansys Research 2024 R2 module load ansys/24.2_research
Ansys Teaching 2024 R2 module load ansys/24.2_teaching
Ansys Research 2023 R1 module load ansys/23.1_research
Ansys Teaching 2023 R1 module load ansys/23.1_teaching
Ansys Electronics Research 2024 R2 module load ansys_em/24.2_research
Ansys Electronics Teaching 2024 R2 module load ansys_em/24.2_teaching

Licenses are available in the ETH IT Shop.

Teaching licenses can only be loaded by ETH students.

Multi-node execution

Ansys LS-DYNA does not natively support Slurm, so you must provide a list of nodes manually.

Example job script:

#!/bin/bash
#SBATCH --nodes=1
#SBATCH --ntasks=8
#SBATCH --time=8:00:00 
#SBATCH --constraint=ib # request InfiniBand network for MPI job

# Load ANSYS
module load ansys/23.1_research

# Required for running ANSYS products with Slurm
unset SLURM_GTIDS

# Extract hostname and number of tasks per node from SLURM
machines=""
for i in $(scontrol show hostnames=$SLURM_JOB_NODELIST); do
    machines=$machines:$i:$SLURM_NTASKS_PER_NODE
done
machines=${machines:1}
echo $machines  # For logging

# Set variables for old IntelMPI
unset I_MPI_PMI_LIBRARY
export FI_PROVIDER=verbs

# Set ANSYS input file and solver
lsdyna231 -dp -mpp i=./input.k -machines $machines