Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Multiprocessing besides domain decomposition in solve function #98

Open
steffenger opened this issue Apr 25, 2024 · 1 comment
Open

Comments

@steffenger
Copy link

steffenger commented Apr 25, 2024

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
Copy link
Member

uekerman commented May 3, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants