LS-DYNA

This page explains how to access the software LS-DYNA on the cluster. Please consider the following subsections for more details:
How to access the software
Check for available versions of the LS-DYNA module using:
module spider LS-DYNA
Load an available LS-DYNA module using:
module load LS-DYNA/<version>Example Job Scripts
The following job scripts demonstrate how to run LS-DYNA within a Slurm job. Please note, that the scripts differ depending on whether you are using LSTC LS-DYNA modules or newer ANSYS LS-DYNA modules. These variants can be distinguished by their naming conventions: the former use the format LS-DYNA/R<version-number> (e.g. LS-DYNA/R13.1), while the latter use LS-DYNA/<year>R<version-number> (e.g. LS-DYNA/2025R1).
LS-DYNA provides executables supporting single precision (sp), double precision (dp), shared-memory (SMP) and distributed-memory (MPP) parallel processing. Selecting the appropriate binary for your specific use case can significantly improve performance. An overview of the available solvers for both LSTC and ANSYS LS-DYNA versions is provided below.
LSTC LS-DYNA jobscripts (e.g. LS-DYNA/R13.1)
Serial Job
#!/usr/bin/zsh
### Job name
#SBATCH --job-name=LSDYNA_SERIAL
### File / path which STDOUT will be written to, the %J is the job id
#SBATCH --output=LSDYNA_SERIAL.%J
### Request the time you need for execution. The full format is D-HH:MM:SS
### You must at least specify minutes or days and hours and may add or
### leave out any other parameters
#SBATCH --time=80
### Load required modules
module load LS-DYNA/R13.1
### start non-interactive batch job
ls-dyna_smp_s i=inputfile
Currently there are no executables for module R13.1 for "Shared Memory" and "Distributed Memory Parallel Jobs".
ANSYS LS-DYNA jobscripts (e.g. LS-DYNA/2025R1)
Serial Job
#!/usr/bin/zsh
### Job name
#SBATCH --job-name=ANSYS_LSDYNA_SERIAL
### File / path which STDOUT will be written to, the %J is the job id
#SBATCH --output=ANSYS_LSDYNA_SERIAL.%J
### Request the time you need for execution. The full format is D-HH:MM:SS
### You must at least specify minutes or days and hours and may add or
### leave out any other parameters
#SBATCH --time=80
### Load required modules
module load LS-DYNA/2025R1
### Specify path to your inputfile
INPUTFILE=/path/to/your/inputfile
### start non-interactive batch job
### example uses the single-precision (sp) solver. Change to _dp.e for double-precision (dp).
lsdyna_sp.e i="$INPUTFILE"Shared-Memory Parallel Job
#!/usr/bin/zsh
### Job name
#SBATCH --job-name=ANSYS_LSDYNA_SMP
### Request the time you need for execution. The full format is D-HH:MM:SS
### You must at least specify minutes or days and hours and may add or
### leave out any other parameters
#SBATCH --time=80
### Request the number of compute slots you want to use
#SBATCH --cpus-per-task=4
### Load required modules
module load LS-DYNA/2025R1
### Specify path to your inputfile
INPUTFILE=/path/to/your/inputfile
### start non-interactive batch job
### example uses the single-precision (sp) solver. Change to _dp.e for double-precision (dp).
lsdyna_sp.e i="$INPUTFILE" ncpus="$OMP_NUM_THREADS"
Distributed Memory (Multi-Node, MPI) Parallel Job
#!/usr/bin/zsh
### Job name
#SBATCH --job-name=ANSYS_LSDYNA_MPP
### Request the time you need for execution. The full format is D-HH:MM:SS
### You must at least specify minutes or days and hours and may add or
### leave out any other parameters
#SBATCH --time=80
### Request the number of compute slots you want to use
#SBATCH --ntasks=8
### Load required modules
module load LS-DYNA/2025R1
### Specify path to your inputfile
INPUTFILE=/path/to/your/inputfile
### start non-interactive batch job
### example uses the single-precision "mpp_s.e" solver. Change to "mpp_d.e" for double-precision.
$MPIEXEC $FLAGS_MPI_BATCH lsdyna_mpp_s.e i="$INPUTFILE"Hybrid (Multi-Node & Shared-Memory) Parallel Job
#!/usr/bin/zsh
### Job name
#SBATCH --job-name=ANSYS_LSDYNA_MPP
### Request the time you need for execution. The full format is D-HH:MM:SS
### You must at least specify minutes or days and hours and may add or
### leave out any other parameters
#SBATCH --time=80
### Request the number of compute slots you want to use
#SBATCH --ntasks=8
#SBATCH --cpus-per-task=2
### Load required modules
module load LS-DYNA/2025R1
### Specify path to your inputfile
INPUTFILE=/path/to/your/inputfile
### start non-interactive batch job
### example uses the single-precision "mpp_s.e" solver. Change to "mpp_d.e" for double-precision.
$MPIEXEC $FLAGS_MPI_BATCH lsdyna_mpp_s.e i="$INPUTFILE" ncpus="$OMP_NUM_THREADS"Overview of available solvers
Version \ Command | R13.1 | 2025R1 |
|---|---|---|
| Hybrid OpenMPI double | ||
| Hybrid OpenMPI single | ||
| Hybrid IntelMPI double | ||
| Hybrid IntelMPI single | ||
| MPP OpenMPI Double | ||
| MPP OpenMPI Single | ||
| MPP IntelMPI Double | lsdyna_mpp_d.e | |
| MPP IntelMPI Single | lsdyna_mpp_s.e | |
| SMP Double | ls-dyna_smp_d | lsdyna_sp.e |
| SMP Single | ls-dyna_smp_s | lsdyna_dp.e |

