-
Notifications
You must be signed in to change notification settings - Fork 30
Task/rhornung67/mv sidre array example #1590
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice improvements to comments.
SLIC_INFO("Here is the array data in DataStore_2:\n"); | ||
root2->print(); | ||
std::cout << std::endl; | ||
// END DEBUG | ||
|
||
// STEP 3a: Create a new sidre::MCArray with data held in a View in the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean STEP 3b
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. Fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, Rich. Much clearer. One possible typo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @rhornung67
This example requires MPI. Should we generalize it slightly to also work when MPI is not available? (In that case, we wouldn't be able to use SPIO).
Yes -- just a few comments to show that |
Reviewer comment. Co-authored-by: Kenny Weiss <kennyweiss@users.noreply.github.com>
@kennyweiss I added an issue to capture your suggestion: #1598 |
Summary
sidre_array.cpp
tosidre_mcarray.cpp
since it uses sidre::MCArrayResolves #663
@kennyweiss is this what you had in mind for the issue linked above?