Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 in windows or linux available: see Python/tk guis for job submission

How to download and install OpenRadioss

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

...

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)

...

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

...

Code Block
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