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

Add actions GetItemFromDistributedObject, SimpleActionOnElement, and PrintDgElementArray (nodegroup support) #6161

Merged
merged 4 commits into from
Jul 19, 2024

Conversation

nilsdeppe
Copy link
Member

Proposed changes

Upgrade instructions

Code review checklist

  • The code is documented and the documentation renders correctly. Run
    make doc to generate the documentation locally into BUILD_DIR/docs/html.
    Then open index.html.
  • The code follows the stylistic and code quality guidelines listed in the
    code review guide.
  • The PR lists upgrade instructions and is labeled bugfix or
    new feature if appropriate.

Further comments

@nilsdeppe nilsdeppe requested a review from kidder July 18, 2024 21:22

namespace Parallel::Actions {
/*!
* \brief A local synchronous action that rreturns a pointer to the tag.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

returns a pointer to the item specified by the tag

*
* The action uses `db::get_mutable_reference` to avoid DataBox locking
* interference. However, this means that thread safety with respect to the
* retrieved tag must be ensure by the user.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ensured

This allows retrieving items from a component, which is needed with the
ArrayCollection code.
We'll need to think about how to do internode LB later.
@nilsdeppe
Copy link
Member Author

Done and squashed. Thanks!

@kidder kidder merged commit b4893e4 into sxs-collaboration:develop Jul 19, 2024
22 checks passed
@nilsdeppe nilsdeppe deleted the add_threading_25 branch August 6, 2024 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants