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

Data Distribution: N-D or Patches #6

Open
ax3l opened this issue Jan 31, 2015 · 10 comments
Open

Data Distribution: N-D or Patches #6

ax3l opened this issue Jan 31, 2015 · 10 comments

Comments

@ax3l
Copy link
Member

ax3l commented Jan 31, 2015

Right now we can distribute data along a 1D axis, but coupling to live simulations might need to "imitate" the spatial distribution of the RAM #4 accordingly.

We should therefore be able to distribute the data at least along a grid, more flexible would be to distribute it over patches immediately. Each patch can than consist of a rectangular area with a distinct offset and size. Neighbors around it's extend could be stored as a list (if necessary).

@heikoburau
Copy link
Member

What is the difference between distributing along a grid and over patches?

@ax3l
Copy link
Member Author

ax3l commented Jan 31, 2015

patches do not to be regularly arranged in contrary to ranks in a grid. (grid means: the arrangement of the MPI ranks in that case, as in MPI_Cart_create)

left: static load balancing on a grid as in PIConGPU with --grid-dist, right: arbitrary but rectangular patches a MPI rank is responsible for:

patches

@heikoburau
Copy link
Member

very nice! How did you made this picture? :)

@ax3l
Copy link
Member Author

ax3l commented Jan 31, 2015

Thanks! Kudos to sketch.io and gimp :)

@bussmann
Copy link
Member

bussmann commented Feb 2, 2015

Beautiful!

@ax3l
Copy link
Member Author

ax3l commented Feb 2, 2015

thanks, but it took me only 2min to draw that.
that pull requ. description is beautiful, I am just a lousy amateur ;)

@heikoburau
Copy link
Member

n-dimensional distributing along a grid is now supported.

@bussmann
Copy link
Member

Great job!

@ax3l
Copy link
Member Author

ax3l commented Feb 19, 2016

@Heikman awesome, did/can you add some examples how to do so in the docs?

@heikoburau
Copy link
Member

yes, they were added by the 1.2 release last year.

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

3 participants