Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Current »

The following steps cover the simplest way to download, install and run OpenRadioss from pre-compiled binaries with scripts form command line/terminal

There are also gui tools for job submission available: see Python/tk guis for job submission

How to download and install OpenRadioss

to download the latest pre-compiled OpenRadioss binaries: (download to /home/user)

visit github in browser and download the binaries (links to github), or you can use ‘wget’ from a terminal window (substitute ‘latest-20230102’ for latest release date)

wget https://github.com/OpenRadioss/OpenRadioss/releases/download/latest-20230102/OpenRadioss_linux64.zip

unzip the binaries

unzip OpenRadioss_linux64.zip

This will create a directory called ‘OpenRadioss’ containing the executables

Running OpenRadioss

The script below can be used to run a Radioss model (if OpenRadioss has been extracted into OpenRadioss directory in /home/user as described above)

Simple OpenRadioss Run Script

copy the script to the folder with the radioss model to run and modify it to runnable using chmod 777 runscript.sh

to use it, the syntax is ./runscript.sh jobname_0000.rad n where 'n' is the number of threads to run in SMP mode, the script sets all required environment variables and runs both the starter and engine for the model

The content of the script is shown below for reference:

export OPENRADIOSS_PATH=$HOME/OpenRadioss
echo $OPENRADIOSS_PATH
echo $HOME
export RAD_CFG_PATH=$HOME/OpenRadioss/hm_cfg_files
echo $RAD_CFG_PATH
export RAD_H3D_PATH=$HOME/OpenRadioss/extlib/h3d/lib/linux64
echo $RAD_H3D_PATH
export OMP_STACKSIZE=400m
export LD_LIBRARY_PATH=$HOME/OpenRadioss/extlib/hm_reader/linux64/:$HOME/OpenRadioss/extlib/h3d/lib/linux64/:$LD_LIBRARY_PATH
echo $LD_LIBRARY_PATH
echo "**Run Starter**"
myjobname=$(echo "$1" | rev | cut -c10- | rev)
echo $myjobname "running in OpenRadioss"
$HOME/OpenRadioss/exec/starter_linux64_gf -i $myjobname"_0000.rad" -nt $2
echo "**Run Engine**"
$HOME/OpenRadioss/exec/engine_linux64_gf -i $myjobname"_0001.rad" -nt $2
echo "Done"

see also: Python/tk guis for job submission

  • No labels