You are located in service: RWTH Compute Cluster Linux (HPC)

OptiStruct SMP

OptiStruct SMP


Only the OptiStruct Solver currently supports parallel execution. OptiStruct supports a number of parallel execution modes of which two can be used:

Shared memory (SMP) mode uses multiple cores within a single node
Distributed memory (SPMD) mode uses multiple cores across multiple nodes via the MPI library


OptiStruct SMP

You can use up to 48 physical coresfor OptiStruct SMP mode as these are the maximum numbers available on each c18m compute node.

You use the -nt option to OptiStruct to specify the number of cores to use.

For example, to run an 24-core OptiStruct SMP calculation you could use the following job script:


# Slurm job options (name, compute nodes, job time)
#SBATCH --job-name=HW_OptiStruct_SMP
#SBATCH --time=0:20:0
#SBATCH --nodes=1
#SBATCH --tasks-per-node=1
#SBATCH --cpus-per-task=24

# Load Hyperworks module
module load TECHNICS hyperworks/2019

# Launch the parallel job
#   Using 24 threads per node
#   srun picks up the distribution from the sbatch options
srun --cpu-bind=cores optistruct box.fem -nt 24


last changed on 29.01.2021

How did this content help you?