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

Prevent forward events from overtaking cancel events. #123

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nikhil-jain
Copy link
Contributor

Add compile time option to stop sending of events from a PE if a cancel event is
being held for its corresponding forward event from being sent.

cmake option: PRIORITIZE_CANCEL_EVENTS
default value: OFF

This is still no fool-proof because on the receive side, MPI_Testsome may
succeed for events sent later. However, for small messages that ROSS usually
sends (<1 KB), this is unlikely.

Change-Id: I2800a2a6d3537317c6182047ff0beeb3ba238037

@mmubarak - you may be interested in this.

If this merge represents a feature addition to ROSS, the following items must be completed before the branch will be merged:

  • Document the feature on the blog (See the Contributing guide in the gh-pages branch).
    Include a link to your blog post in the Pull Request.
  • One or more TravisCI tests should be created (and they should pass)
  • Through the TravisCI tests, coverage should increase
  • Test with CODES to ensure everything continues to work

Add compile time option to stop sending of events from a PE if a cancel event is
being held for its corresponding forward event from being sent.

cmake option: PRIORITIZE_CANCEL_EVENTS
default value: OFF

This is still no fool-proof because on the receive side, MPI_Testsome may
succeed for events sent later. However, for small messages that ROSS usually
sends (<1 KB), this is unlikely.

Change-Id: I2800a2a6d3537317c6182047ff0beeb3ba238037
@codecov-io
Copy link

Codecov Report

Merging #123 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #123   +/-   ##
=======================================
  Coverage   75.24%   75.24%           
=======================================
  Files          32       32           
  Lines        4039     4039           
  Branches      752      752           
=======================================
  Hits         3039     3039           
  Misses        973      973           
  Partials       27       27
Impacted Files Coverage Δ
core/network-mpi.c 80.14% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cb2377e...85c5f1c. Read the comment docs.

@nikhil-jain
Copy link
Contributor Author

Thoughts? @carothersc

@Starman911
Copy link

Starman911 commented Aug 26, 2017 via email

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