HyperWorks Solvers

Running RADIOSS

Running RADIOSS

Previous topic Next topic Expand/collapse all hidden text  

Running RADIOSS

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  
hmtoggle_plus1How to chain several runs one after each other, automatically?

The simplest solution is to use the HyperWorks Solver Run Manager.

Several runs can be chained one after each other by creating a script file with all the commands to execute; when executing the script, these commands will execute one after each other.

In case of a UNIX or Linux system, write on the first line of a file:

#! /bin/csh

This means that this script will be read by the csh interpreter. Then write the commands for running the computations.

Below is an example of a so-called “my_script” script file.

 

#!/bin/csh

 

setenv RADFLEX_PATH $ALTAIR_HOME/hwsolvers/bin/linux32/

 

cd case1

s_11.0_p4linux9 -i CASE1_0000.rad

e_11.0_p4linux9 -i CASE1_0001.rad

e_11.0_p4linux9 -i CASE1_0002.rad

 

cd case2

s_11.0_p4linux9 -i CASE2_0000.rad

e_11.0_p4linux9 -i CASE2_0001.rad

 

Then provide the rights for executing this file, as follows:

chmod +x my_script

Finally, execute the script file with the command:

./my_script

The same method applies for Windows. Write the commands to execute into a script file (do not set the line #! /bin/csh which stands for UNIX), rename the script file with the extension .bat and set the rights to execute it.

hmtoggle_plus1How to check the RADIOSS version which was used for a run

Check the RADIOSS version used in the listing file (Runname_0000.out from V9; Runname_0000.lis in V5; RunnameL00 in V4) for RADIOSS Starter and in the listing file (Runname_nnnn.out from V9; Runname_nnnn.lis in V5; RunnameLnn in V4) for RADIOSS Engine.

In the header of these files, the RADIOSS version used, few key hints on hardware and the parallelism type are mentioned.

Example:

************************************************************************

**                                                                    **

**                                                                    **

**                        RADIOSS ENGINE 11.0                         **

**                                                                    **

**            Non-linear Finite Element Analysis Software             **

**                   from Altair Engineering, Inc.                    **

**                                                                    **

**                                                                    **

**            LINUX 64 bits, Intel compiler, Platform MPI             **

**                                                                    **

**                                                                    **

**                                                                    **

** Build tag: 0520876_87230000_20010                                  **

************************************************************************

** COPYRIGHT (C) 1986-2010                 Altair Engineering, Inc.   **

** All Rights Reserved.  Copyright notice does not imply publication. **

** Contains trade secrets of Altair Engineering Inc.                  **

** Decompilation or disassembly of this software strictly prohibited. **

************************************************************************

 

NUMBER OF SPMD DOMAINS           2

NUMBER OF THREADS PER DOMAIN     2

NUMBER OF HMPP PROCESSES         4

COMPUTATION HARDWARE DESCRIPTION

CPU#  HOSTNAME   CPU TYPE, FREQUENCY AND MEMORY

  1        neo   Genuine Intel(R) CPU 000 @ 3.07GHz (x86_64), 3066 MHz, 11880 MB RAM, 32765 MB swap

  2        neo   Genuine Intel(R) CPU 000 @ 3.07GHz (x86_64), 3066 MHz, 11880 MB RAM, 32765 MB swap

************************************************************************

 

Comments

1.On the fourth line, the RADIOSS 11.0 version is displayed and on the line after that, it is a Linux version. This is a SPMD version.
2.Check the number of SPMD domains, and number of threads by domain.
3.In case of SMP pure computation, number of SPMD domains is 1.
4.In case of SPMD pure computation, number of SPMD domains is > 1, number of thread by domain is 1.
5.In case of Hybrid MPP computation, number of SPMD domains is > 1, number of threads by domain is > 1.
6.Number of HMPP processes is equal to number of SPMD domains multiplied by the number of threads per domain.
hmtoggle_plus1How to check on how many SMP threads Starter runs

faq_run_radioss

On *_0000.out file:

faq_run_radioss2

See Also:

RADIOSS Command Line Arguments

hmtoggle_plus1How to launch Starter and Engine on several SMP threads by domains

It is now possible to launch Starter, as well as launch Engine, on more than one SMP thread by SPMD domain.

1.Use -nthread or -nt in command line
./s_13.0_linux64 -np 2 -nt 4 -i CRA2_0000.rad

will launch the Starter on 2 SPMD domains and 4 SMP threads by domain.

./e_13.0_linux64 -np 2 -nt 3-i CRA2_0001.rad

will launch the Starter on 2 SPMD domains and 3 SMP threads by domain.

-Number of SMP threads used at Starter is used for Engine

launch Starter with 3 SMP threads by domain, then launch Engine:

./s_13.0_linux64 -np 2 -nt 3 -i CRA2_0000.rad
./e_13.0_linux64 -np 2 -i CRA2_0001.rad

will launch the Engine on 2 SPMD domains and 3 SMP threads by domain.

2.Set environment variable «OMP_NUM_THREADS»
in csh mode:

setenv OMP_NUM_THREADS 4

in bash, ksh mode:

export OMP_NUM_THREADS=4

./s_13.0_linux64 -np 2 -i CRA2_0000.rad

will launch the Starter on 2 SPMD domains and 4 SMP threads by domain.

./e_13.0_linux64 -np 2 -i CRA2_0001.rad

will launch the Engine on 2 SPMD domains and 4 SMP threads by domain.

3.Use /SPMD card

faq_run_radioss3

In /SPMD card in field (6) set Nthread= 4, and in field (2) set Nspmd= 2.

will launch the Starter on 2 SPMD domains and 4 SMP threads by domain.

4.Default is set to 1
If no value for number of thread is set, Starter and Engine will be launch as default on 1 SMP thread by SPMD domain.

Number of SMP threads by domain used at Starter and at Engine are independent and can be different.

Number of SPMD domains at Starter and Engine must be the same.

hmtoggle_plus1How to set the number of processors for a run

For RADIOSS SPMD

The number of processors has to be defined in command line argument (see Command Line Arguments) by option –nspmd (or –np). It is used by RADIOSS Starter for the "Domain Decomposition".

The same number of processors must be input as a MPI parameter when RADIOSS Engine is launched.

Example:

[user@machine]$ ./s_11.0_linux964 -nspmd 4

[user@machine]$ mpirun -np 4 ./e_11.0_linux64 plmpi -nt 2 -input CRA2V51_0001.rad

 

For RADIOSS SMP

Define the number of SPMD domains to 1, and then define the number of threads by domain to a value > 1 (see Command Line Arguments for details).

Check if the number of processor is correctly set by looking at the RADIOSS Engine display (standard output or listing file (Runname_0001.out, Runname_0001.lis or RunnameLnn):

 

************************************************************************

**                                                                    **

**                                                                    **

**                        RADIOSS ENGINE 11.0                         **

**                                                                    **

**            Non-linear Finite Element Analysis Software             **

**                   from Altair Engineering, Inc.                    **

**                                                                    **

**                                                                    **

**             Linux 64 bits, Intel compiler, Platform MPI            **

**                                                                    **

**                                                                    **

**                                                                    **

** Build tag: 0520876_87230000_20010                                  **

************************************************************************

**  COPYRIGHT (C) 1986-2010                 Altair Engineering, Inc.  **

** All Rights Reserved.  Copyright notice does not imply publication. **

** Contains trade secrets of Altair Engineering Inc.                  **

** Decompilation or disassembly of this software strictly prohibited. **

************************************************************************

 

NUMBER OF SPMD DOMAINS           1

NUMBER OF THREADS PER DOMAIN     2

NUMBER OF HMPP PROCESSES         2

COMPUTATION HARDWARE DESCRIPTION

CPU#  HOSTNAME   CPU TYPE, FREQUENCY AND MEMORY

  1       neo   Genuine Intel(R) CPU 000 @ 3.07GHz (x86_64), 3066 MHz, 11880 MB RAM, 32765 MB swap

  2       neo   Genuine Intel(R) CPU 000 @ 3.07GHz (x86_64), 3066 MHz, 11880 MB RAM, 32765 MB swap

************************************************************************

 

The number of processors has to be defined in Command Line Arguments by option:

-nthread [INTEGER] or  -nt [INTEGER] at starter.

 

Example:

[user@machine]$ ./s_11.0_linux964 -nt 2 -i CRA2V51_0000.rad

 

The number of processors must be the same when launch engine and is defined in command line argument (see Command Line Arguments) by option:

-nthread [INTEGER] or  -nt [INTEGER] at starter.

 

[user@machine]$ mpirun -np 1 ./e_11.0_linux64 -nt 2 -input CRA2V51_0001.rad

hmtoggle_plus1What should I do if the Starter stops with the message: OUT OF SPACE IN DOMAIN DECOMPOSITION?

OUT OF SPACE IN DOMAIN DECOMPOSITION

(8) PLEASE INCREASE MEMORY FOR THE DOMAIN DECOMPOSITION

This message means that RADIOSS Starter is not able to process domain decomposition with the default amount of memory allocated (SPMD computation).

The needed memory is computed by RADIOSS Starter before the model decomposition. In most cases it is enough; but for complex meshes and a lot of connectivity (for example: a model with a lot of solid elements), this memory allocation has to be increased.

This can be done by setting the Dkword value in the fourth field of the option /SPMD:

/SPMD

(1)

(2)

(3)

(4)

(5)

(6)

(7)

(8)

(9)

(10)

Domdec

Nspmd

 

Dkword

 

Nthread

 

 

 

 

Note:This only concerns the memory requested by RADIOSS Starter, not the memory allocated for RADIOSS Engine.
hmtoggle_plus1How to set stacksize for running RADIOSS

Before running RADIOSS it is important to properly define the amount of stacksize memory.

Under Linux and UNIX, stacksize must be defined as unlimited.

Using csh:

limit stacksize unlimited

Using sh:

ulimit –s unlimited

Additionally, in case of running RADIOSS SMP with more than one thread (OMP_NUM_THREADS is greater than one), it is important to define an additional environment variable KMP_STACKSIZE, which defines the per thread stacksize.

Under Linux and UNIX, the recommended value is 512 Mbytes.

Using csh:

setenv KMP_STACKSIZE 512m

Using sh:

export KMP_STACKSIZE=512m

Under Windows, the recommended value is 64 Mbytes.

1.Click on start\Settings\Control_Panel\System\Advanced\Environment_Variables\System_Variables\New.
2.Define a new Variable KMP_STACKSIZE with Value 64m.
3.Double-click the OK button to validate your modification.

Then, any new shell running RADIOSS will have the environment variable KMP_STACKSIZE defined to 64m.

Below is a summary of the recommended values automatically set by HyperWorks when running RADIOSS from a standard HyperWorks installation:

Variable

Stacksize

KMP_STACKSIZE

Windows

N/A

64m

Linux / UNIX

unlimited

512m

hmtoggle_plus1Can a desktop icon be created to launch HyperWorks Solvers Run Manager on Windows?

HyperWorks installs a Start menu option for the HyperWorks Solver Run Manager, which can be copied to the desktop or to a Quick Start Toolbar (right-click and copy from the Start menu). It does not matter which menu item is copied (OptiStruct, RADIOSS, or MotionSolve); the same utility will be called, and any solver can be launched with it.

The desktop icon can then be used to:

Start the HyperWorks Solvers GUI by double-clicking
Automatically start a simple run with appropriate solver
 
Drag a file from file browser onto the desktop icon, and it will start a simple run. With the drag and drop method, there is no way to add any arguments to the call (except possibly -nt to use SMP multiprocessor capability – see Edit Preferences Form on the HyperWorks Solver Run Manager page). There is also no queuing of jobs as the solver will start immediately without waiting for other jobs to finish.
hmtoggle_plus1Is it possible to use HyperWorks Solver Run Manager on Linux/UNIX?

The same utility which is available on Windows to start HyperWorks Solver Run Manager is also available on all supported platforms, but there is no interactive menu to start it from. There is the option to start this utility from the command line:

$ALTAIR_HOME/scripts/radioss -gui

It is possible to create a desktop icon with the same functionality as on Windows (used for double-click launch and for drag-and-drop launch). The exact procedure is system-dependent, and details will be provided in your UNIX/Linux manual, but it should be similar on most hosts. Here is an example showing Linux with the Gnome desktop environment:

1.Right-click on the desktop, and select Create Launcher.

The following form will appear:

create_launcher

2.Fill in the Command field with following text:

<install_dir>/scripts/hw_wish <install_dir>hwsolvers/scripts/hwsolver.tcl -icon

where, <install_dir> is the top directory path to HyperWorks installation.

3.Choose the content for the Name and Comment fields and click on the image in left-top corner to browse for the icon image. In the example above, the icon was selected from <install_dir>/hw/images/productradioss-32.png – but the actual choice is not important.

Higher resolution images are also available from <install_dir>/hwsolvers/scripts/.

4.Click OK.

You can move this icon to a preferred position, and even copy it to the toolbar.

When creating the icon directly on the toolbar, the menu choices are Add to panel > Custom Application Launcher, and the same form is used, as shown above.

hmtoggle_plus1How to run RADIOSS Optimization with multiple engines in HyperWorks Solver Run Manager?

If a RADIOSS Optimization problem has are more than 1 engine (multiple engines) in the RADIOSS model, running the RADIOSS model completely during optimization iteration with option –rnt is recommended. In the absence of the –rnt option, hwsolver.tcl forces the RADIOSS_STARTER and RADIOSS_ENGINE environment variables to point to the specific executables. Then only the first RADIOSS Engine file will be executed.

Example:

faq_run_radioss4