OpenRadioss is made of:
OpenRadioss Starter that checks the model and splits the mesh
OpenRadioss Engine that runs the simulation in parallel
Few libraries (links to github)
A set of configuration files (links to github) that describes the input
Download and build OpenRadioss (links to github), or download the binaries (links to github)
The detailed steps are below, but there are also simplified versions: Simplified Running OpenRadioss and Python/tk guis for running OpenRadioss
export OPENRADIOSS_PATH=[OpenRadioss Root directory] export RAD_CFG_PATH=$OPENRADIOSS_PATH/hm_cfg_files export OMP_STACKSIZE=400m |
If you built OpenRadioss from the source
export LD_LIBRARY_PATH=$OPENRADIOSS_PATH/extlib/hm_reader/linux64/:$OPENRADIOSS_PATH/extlib/h3d/lib/linux64/:$LD_LIBRARY_PATH |
If you downloaded the binaries from here (github link)
export LD_LIBRARY_PATH=$OPENRADIOSS_PATH/lib/:$LD_LIBRARY_PATH |
Define number of OpenMP threads
export OMP_NUM_THREADS=N |
Run OpenRadioss Starter and Engine from the directory that contains the binaries
./starter_linux64_gf -i [Starter input file] -np 1 ./engine_linux64_gf -i [Engine input file] |
Set up environment variables, assuming that OpenMPI is installed in /opt/openmpi
export LD_LIBRARY_PATH=/opt/openmpi/lib:$LD_LIBRARY_PATH export PATH=/opt/openmpi/bin:$PATH |
Run OpenRadioss with P MPI process and N threads per domain from the directory that contains the binaries
export OMP_NUM_THREADS=N ./starter_linux64_gf -i [Starter input file] -np P mpiexec -n P ./engine_linux64_gf_ompi -i [Engine input file] |
Set OpenRadioss Environment variables
export OPENRADIOSS_SOURCE_PATH=[OpenRadioss Root directory] export RAD_CFG_PATH=$OPENRADIOSS_SOURCE_PATH/hm_cfg_files export LD_LIBRARY_PATH=$OPENRADIOSS_SOURCE_PATH/extlib/hm_reader/linux64/:$OPENRADIOSS_SOURCE_PATH/extlib/h3d/lib/linux64/:$LD_LIBRARY_PATH export OMP_STACKSIZE=400m |
Go to the qa_test/scripts
directory
cd $OPENRADIOSS_SOURCE_PATH/qa-tests/scripts |
perl ./or_qa_script ../../exec/engine_linux64_gf 1.0 |
Set up environment variables, assuming that OpenMPI is installed in /opt/openmpi
export LD_LIBRARY_PATH=/opt/openmpi/lib:$LD_LIBRARY_PATH export PATH=/opt/openmpi/bin:$PATH |
Run the test suite with P MPI processes, and N threads per MPI process
export OMP_NUM_THREADS=N perl ./or_qa_script ../../exec/engine_linux64_gf_ompi --exec_script_args="mpiexec -np P" 1.0 |