espresso icon indicating copy to clipboard operation
espresso copied to clipboard

Walberla: Support OpenMP

Open RudolfWeeber opened this issue 3 years ago • 0 comments

For systems with a low number of particles <1000, it may not be worth it to run MPI parallelizaiton on the particle side. However, the LB can run in parallel using OpenMP.

  • Enable this in the code generation of the kernels
  • Add a omp_set_num_threads(1) in on_program_start() or the like
  • Add a function in the espressomd python pakcage (e.g. via _init.py) to change the number of threads

RudolfWeeber avatar May 20 '22 13:05 RudolfWeeber