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

Don't flatten arrays of stochastic variables in checkpoint files #448

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

davidcerny
Copy link
Contributor

This is another trivial, single-line bug fix that we've never gotten around to implementing, this time for issue #339. @jsigao suggested this as a solution and implemented it on his branch; I verified that it's sufficient to get rid of the issue. While the plan was to make it just one part of a more extensive checkpointing fix, it's been more than a year, and it seems worth fixing the issue even without a more general solution to MPI and MC^3 checkpointing problems. However, precisely because the problem of getting checkpointing to work under MPI is still unresolved, I'm holding off from adding a full-blown checkpointing test.

@bredelings
Copy link
Contributor

Does this also affect logging multidimensional arrays to CSV files? I think @mlandis was looking at this, but it might be a separate issue...

@davidcerny
Copy link
Contributor Author

If you happen to have a test case, I'd be happy to try it out!

@hoehna hoehna merged commit a533c27 into development Apr 15, 2024
20 checks passed
@hoehna hoehna deleted the fix-logging-arrays branch April 15, 2024 07:19
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

Successfully merging this pull request may close these issues.

None yet

4 participants