LS-Dyna¶
LS-DYNA from software stack¶
LS-DYNA is now available as a part of 2022r2
software stack. To use it, you will need to load the following modules:
and then in your submission script just call
How to run your own LS-Dyna binaries¶
In order to run LS-Dyna on the DHPC the following steps should be undertaken.
1. Download the solver from the LSTC website
https://www.lstc.com/downloader/page.html
- Version: Choose your preferred LS-Dyna version
- Packaging: executable
- Precision: Double or Single precision
- OS: Linux
- CPU: avx512
- Compiler: ifort
- Parallelism: MPP
- MPI: Intel MPI
- Chip: x86
2. Copy the solver executable to your /home/$USER
3. Add the licence environment variables to you .sbatch file
An example is given below.
#!/bin/sh
#
#BATCH --job-name="your_analysis_name"
#SBATCH --partition=compute
#SBATCH --time=00:05:00
#SBATCH --ntasks=8
#SBATCH --cpus-per-task=1
#SBATCH --mem-per-cpu=1GB
#SBATCH --account=research-<faculty>-<department>
module load 2022r2
module load intel/oneapi-all
export LSTC_LICENSE=network LSTC_LICENSE_SERVER=flexserv1.tudelft.nl
LSTC_LICENSE_SERVER_PORT=27099
export I_MPI_PMI_LIBRARY=/cm/shared/apps/slurm/current/lib64/libpmi2.so
srun "/home/$USER/lsdyna/very_long_name_of_the_solver_executable"
i="/scratch/$USER/input.k"
4. Submit the job
sbatch
your submission script as usual.