Skip to main content

Simpack

Simpack is a general-purpose multi-body system (MBS) simulation software that allows analysts and engineers to simulate the nonlinear motion of any mechanical or electromechanical system. It enables engineers to generate and solve virtual 3D models to predict and visualize dynamic motion, coupled forces, and stresses.

License required

Please purchase the Simpack license, download, and install it yourself. If you need assistance with installation or usage, please contact us with proof that your research group owns a Simpack license.


1. Script Template

submit.sh
#!/bin/bash
#SBATCH --nodes=1 # Number of nodes
#SBATCH --ntasks-per-node=26 # Number of cores per node
#SBATCH --ntasks=28 # Total number of cores
#SBATCH --partition=g1_share # Queue partition; must specify the correct partition
#SBATCH --job-name=hello # Job name
#SBATCH --output=hello_%j.out # Normal log output (%j parameter value is jobId)
#SBATCH --error=hello_%j.err # Error log output (%j parameter value is jobId)

##############################################
# Software Envrironment #
##############################################
unset I_MPI_PMI_LIBRARY # Unset default MPI library, use Intel's built-in
export I_MPI_JOB_RESPECT_PROCESS_PLACEMENT=0 # Parameter modification required for Intel multi-node jobs


#############################################
# Run job #
##############################################
input=(`ls | grep -i spck`)
echo "This is job #${SLURM_ARRAY_JOB_ID}, with parameter ${input[$SLURM_ARRAY_TASK_ID]}"
echo "There are ${SLURM_ARRAY_TASK_COUNT} task(s) in the array."
echo " Max index is ${SLURM_ARRAY_TASK_MAX}"
echo " Min index is ${SLURM_ARRAY_TASK_MIN}"

simpack-slv -j 28 --integration ${input[$SLURM_ARRAY_TASK_ID]}

sleep 5