Chunk distribution strategies#824
Conversation
|
This pull request introduces 1 alert when merging 96841f9 into b2664b7 - view on LGTM.com new alerts:
|
96841f9 to
6da1db3
Compare
|
This pull request introduces 1 alert when merging 6da1db3 into a6287fc - view on LGTM.com new alerts:
|
6da1db3 to
43b1e31
Compare
|
This pull request introduces 1 alert when merging 43b1e31 into f6b0054 - view on LGTM.com new alerts:
|
43b1e31 to
5f2b347
Compare
|
This pull request introduces 1 alert when merging 5f2b347 into f6b0054 - view on LGTM.com new alerts:
|
5f2b347 to
bb7fa45
Compare
|
This pull request introduces 1 alert when merging bb7fa45 into 9b349eb - view on LGTM.com new alerts:
|
8c7fc78 to
9fc6d6b
Compare
|
@ax3l ping |
9fc6d6b to
a1bb1e0
Compare
|
This pull request introduces 1 alert when merging ebea6cf into 86a15ba - view on LGTM.com new alerts:
|
993cfb6 to
0fca8b7
Compare
|
I've added Python bindings now, including usage of one distribution strategy in openpmd-pipe as an integrated usage example. |
0fca8b7 to
ca6f0da
Compare
f9ba2a9 to
47653ac
Compare
47653ac to
89fea78
Compare
|
One issue of this approach is that the attribute EDIT: I've transformed this to a parallel dataset now. Needs some more checking for char portability. Also, we should probably buffer these values on reading, since the table can only be read in steps in which it was written. In short: Make this less like an attribute that can be set and inquired, and rather more automatic during Series construction. |
62758f5 to
86d5a8c
Compare
CMakeLists.txt
Outdated
| add_test(NAME CLI.pipe.py | ||
| COMMAND sh -c | ||
| "${MPI_TEST_EXE} ${Python_EXECUTABLE} \ | ||
| "${MPI_TEST_EXE} -n 2 ${Python_EXECUTABLE} \ |
There was a problem hiding this comment.
Can you instead comment in the line 1335 pls?
ax3l
left a comment
There was a problem hiding this comment.
Nice!
Please add the small CMake update and then it can go in.
@todo Why do we need to increase the refcount twice??
for more information, see https://pre-commit.ci
supports different granularities at write and read sides
Based on topic-available-chunks, see #802.Based on #1043
Adds strategies for guiding applications to efficient parallel chunk loading patterns.
Idea: PR #802 lets reading applications inquire the chunks that are available for loading in the backend. This PR adds a function
chunk_assignment::assignChunks, taking such aChunkTableas well as a strategy as input and produces a furtherChunkTablethat may be used as a load pattern.Implemented strategies:
n_rankshyperslabs of the data space.Also, add an attribute to the global
Seriesobject (currently calledrankMetaInfo, I'm sure we'll change this) that can be used to write string-formatted meta information for the single writing processes and assign meaning to them (e.g. hostnames). Used by the hostname-based strategy.TODO:
This PR adds many MPI-based methods to the Series class. It would probably be good to first separate MPI and non-MPI headers, and then to add this functionality to the MPI headers.Still a goal, but no longer relevant for this particular PR.