HyperWorks Solvers

OptiStruct SMP (Shared Memory Parallelization)

OptiStruct SMP (Shared Memory Parallelization)

Previous topic Next topic Expand/collapse all hidden text  

OptiStruct SMP (Shared Memory Parallelization)

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Introduction


Shared Memory Parallelization (SMP) is a parallelization technique that incorporates the usage of multiple threads (or logical processors) in a node to solve problems. SMP involves the utilization of a Shared Memory paradigm wherein, multiple threads communicate with each other and use a single shared memory space.

Implementation

Shared Memory Parallelization in OptiStruct does not require different executables or the installation of separate components for message passing. Message passing is typically required for communication between different nodes (SPMD-Hybrid). However, since SMP involves parallelization within a single node, additional MPI run times are not required.

shared_memory_parallel

Figure 1: Typical Computer Architecture Layout - An example Cluster with three Nodes.

Syntax

The standard OptiStruct executable can be used for SMP runs. The OptiStruct script picks the required executable for the run, and simultaneously sets all the required environment variables. Therefore, it is recommended to use the Script instead of directly calling the executable. The SMP runs can be activated using the –cpu/-proc/-nproc/-ncpu/-nt/-nthread OptiStruct run options for the HWSolver Run Manager or the script via the Command Line.

hmtoggle_plus1Launching OptiStruct SMP

To launch OptiStruct SMP runs, initially investigate the hardware availability for your run. If you have multiple nodes within a cluster, it is more efficient to take advantage of the OptiStruct SPMD–Hybrid capabilities, instead of only using OptiStruct SMP. OptiStruct SMP (non-hybrid) is typically useful for single node workstations with multiple logical processors. It leverages the parallelization capabilities of the multiple threads on the workstation.

Note:

1.There is no restriction on the minimum number of threads for OptiStruct SMP.
2.OptiStruct SMP (non-hybrid) are typically recommended on single node workstations.

[optistruct@host]$ $ALTAIR_HOME/scripts/optistruct [INPUTDECK] –nt [NLPROC] [OS_ARGS]

Where,

[INPUTDECK] is the input deck file name

[NLPROC] is the number of logical processors

[OS_ARGS] lists the arguments to OptiStruct (Optional, refer to Run Options for further information).

[optistruct@host]$ $ALTAIR_HOME/hwsolvers/scripts/optistruct.bat [INPUTDECK] –nt [NLPROC] [OS_ARGS]

Where,

[INPUTDECK] is the input deck file name

[NLPROC] is the number of logical processors

[OS_ARGS] lists the arguments to OptiStruct (Optional, refer to Run Options for further information).

Note:

1.OptiStruct SMP can also be launched using the Run Manager GUI. (Refer to HyperWorks Solver Run Manager)

solver_run_manager

2.Arguments for the SMP run options are mandatory, there is no default.