LS-DYNA
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
### 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 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 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 double | ls-dyna_hyb_d |
Hybrid IntelMPI single | ls-dyna_hyb_s |
MPP OpenMPI Double | |
MPP OpenMPI Single | |
MPP IntelMPI Double | ls-dyna_mpp_d |
MPP IntelMPI Single | ls-dyna_mpp_s |
SMP Double | ls-dyna_smp_d |
SMP Single | ls-dyna_smp_s |