You are located in service: RWTH High Performance Computing (Linux)

LS-DYNA

LS-DYNA

Detailinformation

 

How to Access the Software

ml LS-DYNA

Example Batch Scripts

For an overview on available versions please see the reference at the bottom of this page. Choosing the right binary for your use case is likely to improve performance.

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

### Request the memory you need for your job. You can specify this
### in either MB (1024M) or GB (4G).
#SBATCH --mem-per-cpu=3900M

### Load required modules
module load LS-DYNA

### start non-interactive batch job
ls-dyna_smp_s i=inputfile

Shared Memory Parallel Job

#!/usr/bin/zsh

### Job name
#SBATCH --job-name=LSDYNA_OMP

### 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 memory you need for your job. You can specify this
### in either MB (1000M) or GB (4G).
#SBATCH --mem-per-cpu=3900M

### Request the number of compute slots you want to use
#SBATCH --cpus-per-task=12

### Load required modules
module load LS-DYNA

### start non-interactive batch job
ls-dyna_hyb_s i=inputfile ncpus=$OMP_NUM_THREADS

Distributed Memory (Multi-Node, MPI) Parallel Job

#!/usr/bin/zsh

### Job name
#SBATCH --job-name=LSDYNA_IMPI

### 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 memory you need for your job. You can specify this
### in either MB (1024M) or GB (4G).
#SBATCH --mem-per-cpu=3900M
  
### Request the number of processes you want to use
#SBATCH --ntasks=12

### Load required modules
module load LS-DYNA

### start non-interactive batch job
$MPIEXEC $FLAGS_MPI_BATCH ls-dyna_mpp_s i=lsdynaInput

Available Versions

Version \ Command
12.0
Hybrid OpenMPI double 
Hybrid OpenMPI single 
Hybrid IntelMPI doublels-dyna_hyb_d
Hybrid IntelMPI singlels-dyna_hyb_s
MPP OpenMPI Double 
MPP OpenMPI Single 
MPP IntelMPI Doublels-dyna_mpp_d
MPP IntelMPI Singlels-dyna_mpp_s
SMP Doublels-dyna_smp_d
SMP Singlels-dyna_smp_s

last changed on 01/17/2024

How did this content help you?

Creative Commons Lizenzvertrag
This work is licensed under a Creative Commons Attribution - Share Alike 3.0 Germany License