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

Ensemble parallelism #505

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Draft

Ensemble parallelism #505

wants to merge 10 commits into from

Conversation

jshipton
Copy link
Contributor

When running time parallel problems we still need to interact with the io. This PR is a start. The Ensemble is created first so that the spatial communicator can be passed to the mesh. The ensemble instance is then passed to the timestepper so that it can be passed as required to the io and (in future, or on other branches!) to the time discretisation classes.

Here I have sorted out the VTK output. Diagnostics also seem to work, but I have not verified that they are correct. I have not thought about netCDF output or the case where we pick up. I have implemented a test that doesn't check anything other than for hanging. I can see that it does hang if spatial_parallelism=True but this seems to be a pytest issue as it is creating multiple output directories, one for each process.

I know @JDBetteridge and @tommbendall have been looking at parallel tests and having issues - would be good to hear what you think!

@JDBetteridge
Copy link
Member

A quick note that Ensembe is currently broken in Firedrake. This would be a good little project for the upcoming hackathon!

@tommbendall tommbendall added enhancement Pull requests or issues relating to adding a new capability parallel Pull requests or issues relating to parallel capability labels Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Pull requests or issues relating to adding a new capability parallel Pull requests or issues relating to parallel capability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants