precice / micro-manager

A manager tool to facilitate two-scale coupling in multi-physics simulations using preCICE.
GNU Lesser General Public License v3.0
16 stars 11 forks source link

Use Multiprocessing besides domain decomposition in solve function #98

Open steffenger opened 6 months ago

steffenger commented 6 months ago

Opening this as per the discussion in #68.

Maybe a user wants to have a certain number of micro simulations on a MPI process, so that the local adaptivity can still be used to avoid memory requirements instead of having one MPI process for every micro simulation. In this case one could benefit from multiprocessing in the solve function on the local domain.

uekerman commented 6 months ago

This would require thread safety from the micro simulation software, what we probably cannot expect in general. E.g. the micro simulation software could not use static variables in crucial places.