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

It's a PITA to create a new local Distribution #542

Open
kwmsmith opened this issue Jul 23, 2014 · 0 comments
Open

It's a PITA to create a new local Distribution #542

kwmsmith opened this issue Jul 23, 2014 · 0 comments
Milestone

Comments

@kwmsmith
Copy link
Contributor

We should make it easier to make a new local Distribution -- perhaps allow creating a new distribution from an existing distribution.

This comes up when a new local arrays are created that don't match the distribution of the originating array -- perhaps the local shape changes, or the local ndims. local.maps.Distribution could have a classmethod like from_distribution that would take an existing distribution for the defaults and allow passing in new_shape, new_dist and new_grid_shape args that would set the appropriate values. There may need to be global communication to support this.

@kwmsmith kwmsmith added this to the wishlist milestone Jul 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant