Skip to content
Snippets Groups Projects

use `0` as tag in MPI to avoid too large value

Merged Ansgar Burchardt requested to merge ansgar/dune-grid-glue:use-lower-tag-for-mpi into master
1 unresolved thread

Some versions of OpenMPI have a lower limit than 12345678; the MPI standard only guarantees values up to at least 32768 are valid.

Closes: #19 (closed)

Merge request reports

Pipeline #29936 passed

Pipeline passed for e307610b on ansgar:use-lower-tag-for-mpi

Approval is optional

Merged by Ansgar BurchardtAnsgar Burchardt 4 years ago (Nov 13, 2020 3:04pm UTC)

Merge details

Pipeline #31171 failed

Pipeline failed for ffa892fb on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
221 221 std::array<MPI_Request,N> requests_send;
222 222 std::array<MPI_Request,N> requests_recv;
223 223
224 int tag = 12345678;
224 int const tag = 0;
  • As mentioned in #19 (closed) I'm not fond of tag = 0. But ... which value should tag have?

  • added 1 commit

    • e307610b - use `0` as tag in MPI to avoid too large value

    Compare with previous version

  • mentioned in issue #19 (closed)

  • mentioned in commit ffa892fb

  • Please register or sign in to reply
    Loading