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

Pickling support for C++ micro simulations does not work #87

Open
IshaanDesai opened this issue Mar 20, 2024 · 0 comments
Open

Pickling support for C++ micro simulations does not work #87

IshaanDesai opened this issue Mar 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@IshaanDesai
Copy link
Member

Support for pickling micro simulations as shown in the dummy does not allow for passing the simulation id of the current instance of the simulation to the newly created instance of the simulation. If a micro simulation is pickled (for its transfer between ranks in a global adaptivity scenario), the simulation id that is given to it by the Micro Manager during initialization needs to be defined once more in the new instance. Either the Micro Manager needs to pass it in via the set state functionality, or somehow it needs to be passed internally from the old instance to the new instance. This problem was also observed by @mathiskelm while finalizing the DuMuX micro simulation for the two-scale-heat-conduction tutorial case.

Further investigations are necessary here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant