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

Tpetra: Fix for Issue #1752 #1838

Merged
merged 1 commit into from
Oct 10, 2017
Merged

Tpetra: Fix for Issue #1752 #1838

merged 1 commit into from
Oct 10, 2017

Conversation

tjfulle
Copy link
Contributor

@tjfulle tjfulle commented Oct 10, 2017

This commit fixes a bug found while investigating #1752. It also adds a new
test that should prevent a regression in the future.

Build/Test Cases Summary
Enabled Packages: TpetraCore
Disabled Packages: PyTrilinos,Claps,TriKota
Enabled all Forward Packages
0) MPI_RELEASE_DEBUG_SHARED_PT => passed: passed=1536,notpassed=0 (110.84 min)

This commit fixes a bug found while investigating trilinos#1752.  It also adds a new
test that should prevent a regression in the future.

Build/Test Cases Summary
Enabled Packages: TpetraCore
Disabled Packages: PyTrilinos,Claps,TriKota
Enabled all Forward Packages
0) MPI_RELEASE_DEBUG_SHARED_PT => passed: passed=1536,notpassed=0 (110.84 min)
Copy link
Contributor

@mhoemmen mhoemmen left a comment

Choose a reason for hiding this comment

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

Looks good to me! Thanks @tjfulle ! I would say, if the check-in tests pass, push it!

@@ -2823,6 +2866,7 @@ namespace Tpetra {
size_t j = startsTo_[p];
size_t numPacketsTo_p = 0;
for (size_t k = 0; k < lengthsTo_[p]; ++k, ++j) {
numPacketsTo_p += numExportPacketsPerLID[j];
Copy link
Contributor

Choose a reason for hiding this comment

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

Note to self: This is the line that fixes the bug :-) .

Copy link
Contributor

Choose a reason for hiding this comment

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

(The changes to other lines are important because they help with debug output, but they do not actually fix the issue.)

@tjfulle tjfulle merged commit b1546a3 into trilinos:develop Oct 10, 2017
@bartlettroscoe bartlettroscoe removed the stage: in progress Work on the issue has started label Oct 10, 2017
@tjfulle
Copy link
Contributor Author

tjfulle commented Oct 10, 2017

Thanks for looking @mhoemmen!

@mhoemmen
Copy link
Contributor

Thanks @tjfulle !!! Fantastic job!!! :-D

@kddevin
Copy link
Contributor

kddevin commented Oct 11, 2017

Thanks, @tjfulle

@srajama1
Copy link
Contributor

Thanks @tjfulle !

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.

5 participants