LS-Dyna
LS-Dyna is a general-purpose finite element program capable of simulating complex real world problems. It is used by the automobile, aerospace, construction, military, manufacturing, and bioengineering industries1.
Installed Versions
We have two versions of LS-Dyna installed, 15.0.2 and 13.1.1. To use them:
module load ls-dyna/smp/15.0.2
or
module load ls-dyna/smp/13.0.1
Example Job Script
The example is taken from https://www.dynaexamples.com/icfd/basics-examples/cylinder_flow
This is an example of a hybrid MPI-SMP (aka hybrid MPI-OpenMP) run, running on 2 nodes, using 12 MPI ranks per node (a.k.a. processes a.k.a. tasks) each of which is running 4 threads (each thread on its own CPU core). (MPI = Message Passing Interface; SMP = Symmetric Multi-Processing aka threads)
#!/bin/bash
#SBATCH --partition=def
#SBATCH --nodes=2
#SBATCH --ntasks-per-node=12
#SBATCH --cpus-per-task=4
#SBATCH --mem=8G
#SBATCH --time=1:00:00
module load ls-dyna/hyb
$MPIRUN ls-dyna ncpu=$SLURM_CPUS_PER_TASK i=i.k
About MPI
For an explanation of how MPI and hybrid MPI-OpenMP programs work, including a glossary of terms, see: Hybrid MPI-OpenMP Jobs