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

MueLu: fixing RegionRFactory Laplace3D unit-test #7882

Merged
merged 1 commit into from
Aug 22, 2020

Conversation

lucbv
Copy link
Contributor

@lucbv lucbv commented Aug 22, 2020

@trilinos/muelu

Motivation

Fixing issue with inputs that were not specific
for each rank. Also adding more specific tests
in the unit-test to make sure that the size of
the operator is correct.

Related Issues

Stakeholder Feedback

None

Testing

The previously failing unit-test is now passing and has been improved with more stringent tests.

@lucbv lucbv added type: bug The primary issue is a bug in Trilinos code or tests pkg: MueLu AT: AUTOMERGE Causes the PR autotester to automatically merge the PR branch once approvals are completed labels Aug 22, 2020
@lucbv lucbv requested a review from a team as a code owner August 22, 2020 05:53
@lucbv lucbv self-assigned this Aug 22, 2020
@lucbv lucbv force-pushed the fix_region_unittest branch from 9546e6c to 424e972 Compare August 22, 2020 05:56
Fixing issue with inputs that were not specific
for each rank. Also adding more specific tests
in the unit-test to make sure that the size of
the operator is correct.
@trilinos-autotester
Copy link
Contributor

Status Flag 'Pre-Test Inspection' - Auto Inspected - Inspection Is Not Necessary for this Pull Request.

@trilinos-autotester
Copy link
Contributor

Status Flag 'Pull Request AutoTester' - Testing Jenkins Projects:

Pull Request Auto Testing STARTING (click to expand)

Build Information

Test Name: Trilinos_pullrequest_gcc_4.8.4

  • Build Num: 7642
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
COMPILER_MODULE sems-gcc/4.8.4
JENKINS_BUILD_TYPE Release
JENKINS_COMM_TYPE MPI
JENKINS_DO_COMPLEX OFF
JENKINS_JOB_TYPE Experimental
MPI_MODULE sems-openmpi/1.8.7
PR_LABELS AT: AUTOMERGE;pkg: MueLu;type: bug
PULLREQUESTNUM 7882
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH fix_region_unittest
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 424e972
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 1bd6168

Build Information

Test Name: Trilinos_pullrequest_intel_17.0.1

  • Build Num: 7452
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS AT: AUTOMERGE;pkg: MueLu;type: bug
PULLREQUESTNUM 7882
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH fix_region_unittest
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 424e972
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 1bd6168

Build Information

Test Name: Trilinos_pullrequest_gcc_4.9.3_SERIAL

  • Build Num: 5877
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS AT: AUTOMERGE;pkg: MueLu;type: bug
PULLREQUESTNUM 7882
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH fix_region_unittest
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 424e972
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 1bd6168

Build Information

Test Name: Trilinos_pullrequest_gcc_7.2.0_debug

  • Build Num: 97
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS AT: AUTOMERGE;pkg: MueLu;type: bug
PULLREQUESTNUM 7882
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH fix_region_unittest
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 424e972
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 1bd6168

Build Information

Test Name: Trilinos_pullrequest_gcc_8.3.0

  • Build Num: 1913
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS AT: AUTOMERGE;pkg: MueLu;type: bug
PULLREQUESTNUM 7882
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH fix_region_unittest
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 424e972
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 1bd6168

Build Information

Test Name: Trilinos_pullrequest_cuda_9.2

  • Build Num: 5209
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS AT: AUTOMERGE;pkg: MueLu;type: bug
PULLREQUESTNUM 7882
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH fix_region_unittest
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 424e972
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 1bd6168

Build Information

Test Name: Trilinos_pullrequest_clang_10.0.0

  • Build Num: 358
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS AT: AUTOMERGE;pkg: MueLu;type: bug
PULLREQUESTNUM 7882
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH fix_region_unittest
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 424e972
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 1bd6168

Build Information

Test Name: Trilinos_pullrequest_python_2

  • Build Num: 3217
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS AT: AUTOMERGE;pkg: MueLu;type: bug
PULLREQUESTNUM 7882
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH fix_region_unittest
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 424e972
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 1bd6168

Build Information

Test Name: Trilinos_pullrequest_python_3

  • Build Num: 3225
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS AT: AUTOMERGE;pkg: MueLu;type: bug
PULLREQUESTNUM 7882
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH fix_region_unittest
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 424e972
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 1bd6168

Using Repos:

Repo: TRILINOS (lucbv/Trilinos)
  • Branch: fix_region_unittest
  • SHA: 424e972
  • Mode: TEST_REPO

Pull Request Author: lucbv

Copy link
Member

@mayrmt mayrmt left a comment

Choose a reason for hiding this comment

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

@lucbv Thanks for the fix!

@trilinos-autotester
Copy link
Contributor

Status Flag 'Pull Request AutoTester' - Jenkins Testing: all Jobs PASSED

Pull Request Auto Testing has PASSED (click to expand)

Build Information

Test Name: Trilinos_pullrequest_gcc_4.8.4

  • Build Num: 7642
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
COMPILER_MODULE sems-gcc/4.8.4
JENKINS_BUILD_TYPE Release
JENKINS_COMM_TYPE MPI
JENKINS_DO_COMPLEX OFF
JENKINS_JOB_TYPE Experimental
MPI_MODULE sems-openmpi/1.8.7
PR_LABELS AT: AUTOMERGE;pkg: MueLu;type: bug
PULLREQUESTNUM 7882
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH fix_region_unittest
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 424e972
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 1bd6168

Build Information

Test Name: Trilinos_pullrequest_intel_17.0.1

  • Build Num: 7452
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS AT: AUTOMERGE;pkg: MueLu;type: bug
PULLREQUESTNUM 7882
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH fix_region_unittest
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 424e972
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 1bd6168

Build Information

Test Name: Trilinos_pullrequest_gcc_4.9.3_SERIAL

  • Build Num: 5877
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS AT: AUTOMERGE;pkg: MueLu;type: bug
PULLREQUESTNUM 7882
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH fix_region_unittest
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 424e972
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 1bd6168

Build Information

Test Name: Trilinos_pullrequest_gcc_7.2.0_debug

  • Build Num: 97
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS AT: AUTOMERGE;pkg: MueLu;type: bug
PULLREQUESTNUM 7882
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH fix_region_unittest
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 424e972
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 1bd6168

Build Information

Test Name: Trilinos_pullrequest_gcc_8.3.0

  • Build Num: 1913
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS AT: AUTOMERGE;pkg: MueLu;type: bug
PULLREQUESTNUM 7882
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH fix_region_unittest
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 424e972
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 1bd6168

Build Information

Test Name: Trilinos_pullrequest_cuda_9.2

  • Build Num: 5209
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS AT: AUTOMERGE;pkg: MueLu;type: bug
PULLREQUESTNUM 7882
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH fix_region_unittest
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 424e972
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 1bd6168

Build Information

Test Name: Trilinos_pullrequest_clang_10.0.0

  • Build Num: 358
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS AT: AUTOMERGE;pkg: MueLu;type: bug
PULLREQUESTNUM 7882
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH fix_region_unittest
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 424e972
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 1bd6168

Build Information

Test Name: Trilinos_pullrequest_python_2

  • Build Num: 3217
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS AT: AUTOMERGE;pkg: MueLu;type: bug
PULLREQUESTNUM 7882
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH fix_region_unittest
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 424e972
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 1bd6168

Build Information

Test Name: Trilinos_pullrequest_python_3

  • Build Num: 3225
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS AT: AUTOMERGE;pkg: MueLu;type: bug
PULLREQUESTNUM 7882
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH fix_region_unittest
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 424e972
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 1bd6168


CDash Test Results for PR# 7882.

@trilinos-autotester
Copy link
Contributor

Status Flag 'Pre-Merge Inspection' - SUCCESS: The last commit to this Pull Request has been INSPECTED AND APPROVED by [ mayrmt ]!

@trilinos-autotester
Copy link
Contributor

Status Flag 'Pull Request AutoTester' - Pull Request will be Automerged

@trilinos-autotester trilinos-autotester merged commit 20e8dbb into trilinos:develop Aug 22, 2020
@trilinos-autotester
Copy link
Contributor

Merge on Pull Request# 7882: IS A SUCCESS - Pull Request successfully merged

@trilinos-autotester trilinos-autotester removed the AT: AUTOMERGE Causes the PR autotester to automatically merge the PR branch once approvals are completed label Aug 22, 2020
@lucbv lucbv deleted the fix_region_unittest branch August 22, 2020 15:12
@lucbv
Copy link
Contributor Author

lucbv commented Aug 22, 2020

@mayrmt if you have a minute to double check that this fixes your problem, that would be nice : )

@mayrmt
Copy link
Member

mayrmt commented Aug 22, 2020

@lucbv I can confirm that ctest -R MueLu_UnitTestsRegion is now passing with both 1 and 4 MPI ranks. ✅

@GrahamBenHarper
Copy link
Contributor

Thanks @lucbv 😃

@lucbv
Copy link
Contributor Author

lucbv commented Aug 22, 2020

Excellent, one less bug, only two more to go as far as my code clean-up goes.
Almost there : )

@lucbv
Copy link
Contributor Author

lucbv commented Aug 22, 2020

@mayrmt I think I also should separate some of the helper functions for region unit-tests as you mentioned before.
Maybe I'll just create a header called MueLu_TestHelpers_Region.hpp?

@mayrmt
Copy link
Member

mayrmt commented Aug 23, 2020

@lucbv Good idea! The proposed file name sounds reasonable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: MueLu type: bug The primary issue is a bug in Trilinos code or tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants