GithubHelp home page GithubHelp logo

Comments (4)

BastiLoe avatar BastiLoe commented on May 27, 2024

Litte more information on this case: I use the precompiled binary of OpenRadioss and compiled openmpi 4.1.2 from source, as recommended.

from openradioss.

roguic avatar roguic commented on May 27, 2024

Hi @BastiLoe ,

The starter creates restart files. Restart files are read and used by the engine.
If you want to use M mpi tasks for the engine, you need to create M restart files, so you need to run the starter with the following command line : ./starter_linux64_gf -np M -i my_model_0000.rad

The starter (and the engine) uses an OpenMP parallelization : the elapsed time of the starter can be decreased if the number of openmp threads is greater than 1. If you want to use N OpenMP threads, you need to run the following command line :
export OMP_STACKSIZE=400M
export OMP_NUM_THREADS=N
./starter_linux64_gf -np M -i my_model_0000.rad

or you can used the -nt option :
export OMP_STACKSIZE=400M
./starter_linux64_gf -np M -i my_model_0000.rad -nt M

You always need to check your stacksize :
ulimit -a
if your stacksize is not set to unlimited, then use the following command line
ulimit -s unlimited
image

Best,
Romain

from openradioss.

BastiLoe avatar BastiLoe commented on May 27, 2024

./starter_linux64_gf -np M -i my_model_0000.rad -> Clear and as already working before
export OMP_STACKSIZE=400M -> I missed the "M" - this seemed to be the main issue, now it seems to be working as well

./starter_linux64_gf -np M -i my_model_0000.rad -nt M -> I think this line should end wtho "-nt N" not "-nt M".

from openradioss.

roguic avatar roguic commented on May 27, 2024

Hi @BastiLoe ,

Sorry I was too fast : ./starter_linux64_gf -np M -i my_model_0000.rad -nt M is wrong, the good command line is ./starter_linux64_gf -np M -i my_model_0000.rad -nt N

Best,
Romain

from openradioss.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.