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 4 Current »

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 python/tk guis for job submission, anim-vtk conversion and T01-csv conversion

Environment variable

    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

Running OpenRadioss without MPI (OpenMP only)

  • 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]

Running OpenRadioss with MPI+OpenMP

  • 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]

Running OpenRadioss test suite from the source code

  • 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

Running without MPI (OpenMP only)

    perl ./or_qa_script ../../exec/engine_linux64_gf 1.0

Running with MPI (MPI+OpenMP)

  • 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
  • No labels