Skip to content

Optistruct

Description

OptiStruct is an industry proven, modern structural analysis solver for linear and nonlinear problems under static and dynamic loadings. - Homepage: http://www.altairhyperworks.com/product/OptiStruct

Documentation

We have documentation available for the following versions of Optistruct

Access

Optistruct is included with Hyperworks.

To see all versions of Hyperworks available:

[ netID@cluster ~]$module spider Hyperworks

To load a particular version of Hyperworks (Example: 2017):

[ netID@cluster ~]$module load Hyperworks/2017

Using Optistruct Solvers

This section covers using the Optistruct Solvers in batch jobs.

SMP Mode

First, you should run a check to determine estimated memory and disk requirements for your Optistruct input:

ml Hyperworks/2017
optistruct -check test.fem

Look at the in-core solution memory and disk space information in the resulting output (has a .out suffix). An in-core solution will attempt to run the solver in memory as much as possible and minimize disk use.

MEMORY ESTIMATION INFORMATION :
-------------------------------

 Solver Type is:  Sparse-Matrix Solver                                                                                                                                                                                                                                                                      
                  Direct Method

 Current Memory (RAM)                                    :    1337 MB                                                                                                                                                                                                                                       
 Estimated Minimum Memory (RAM) for Minimum Core Solution:    1875 MB                                                                                                                                                                                                                                       
 Recommended Memory (RAM) for Minimum Core Solution      :    1875 MB                                                                                                                                                                                                                                       
 Estimated Minimum Memory (RAM) for Out of Core Solution :    2527 MB                                                                                                                                                                                                                                       
 Recommended Memory (RAM) for Out of Core Solution       :    2734 MB                                                                                                                                                                                                                                       
 Recommended Memory (RAM) for In-Core Solution           :   11739 MB   <-------------                                                                                                                                                                                                                      
 (Note: Minimum Core Solution Process is Activated.)                                                                                                                                                                                                                                                        
 (Note: The Minimum Memory Requirement is limited by Output Module.)

DISK SPACE ESTIMATION INFORMATION :                                                                                                                                                                                                                                                                         
-----------------------------------

 Estimated Disk Space for Output Data Files              :     412 MB                                                                                                                                                                                                                                       
 Estimated Scratch Disk Space for In-Core Solution       :    1718 MB   <-------------                                                                                                                                                                                                                      
 Estimated Scratch Disk Space for Out of Core Solution   :   14962 MB                                                                                                                                                                                                                                       
 Estimated Scratch Disk Space for Minimum Core Solution  :   15821 MB

The above information shows that estimate requirements of 12 GB of memory and 2 GB of disk space for an in-core solution.

The following example is a job script for running Optistruct in SMP mode with 12 threads based on the above estimates. The number of threads to use in SMP mode for the best performance may vary per input file but should not exceed the numbere of cores on a single node

#!/bin/bash

#JOB SPECIFICATIONS
#SBATCH --job-name=optistruct
#SBATCH --time=2:00:00
#SBATCH --ntasks=1
#SBATCH --ntasks-per-node=1
#SBATCH --cpus-per-task=12
#SBATCH --mem-per-cpu=2000
#SBATCH --error=test.m.error.%j
#SBATCH --output=optistruct.%j

ml Hyperworks/2017

# run optistruct in SMP mode with 12 threads with the in-core solution (completely in memory)

optistruct -nt 12 -core IN test2.fem
Back to top