Versions Compared

Key

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

How to run OpenRadioss

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

Running OpenRadioss

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 Downloading and Running OpenRadioss SMP under Linux and pythonPython/tk guis for job submission, anim-vtk conversion and T01-csv conversionrunning OpenRadioss

Environment variable

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

Code Block
    export LD_LIBRARY_PATH=$OPENRADIOSS_PATH/extlib/hm_reader/linux64/:$OPENRADIOSS_PATH/extlib/h3d/lib/linux64/:$LD_LIBRARY_PATH

...

Code Block
    export LD_LIBRARY_PATH=$OPENRADIOSS_PATH/lib/:$LD_LIBRARY_PATH

Running OpenRadioss without MPI (OpenMP only)

  • Define number of OpenMP threads

    Code Block
      export OMP_NUM_THREADS=N

    Run OpenRadioss Starter and Engine from the directory that contains the binaries

    Code Block
      ./starter_linux64_gf -i [Starter input file] -np 1       
      ./engine_linux64_gf -i [Engine input file]

Running OpenRadioss with MPI+OpenMP

  • Set up environment variables, assuming that OpenMPI is installed in /opt/openmpi

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

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

Running OpenRadioss test suite from the source code

  • Set OpenRadioss Environment variables

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

    Code Block
      cd $OPENRADIOSS_SOURCE_PATH/qa-tests/scripts

...