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: distance2 coloring, Aggregates_kokkos and Phase 1 aggregation #5853

Merged

Conversation

lucbv
Copy link
Contributor

@lucbv lucbv commented Sep 4, 2019

@trilinos/muelu

Description

Adding a set and get methods to Aggregates_kokkos in order to store the coloring of the LWGraph used for aggregates creation.
This will allow to pass the colors to all phases of aggregation without reworking interfaces too much.
Using the new methods in LWGraph_kokkos avoids copying on host the data needed by
the coloring algorithm. This saves 2 communication: 1 DtoH and 1 HtoD.
Extra time monitors are added in AggregationPhase1 to account for coloring and
aggregation separately.
Adding a test that exercises the Distance2 algorithmic path in test/scaling

Motivation and Context

This work is part of a refactor to have MueLu SA-AMG setup performed on device

Related Issues

How Has This Been Tested?

I did a local build with OpenMP, all the test pass including the new test for Distance2 with the scaling/Driver

Checklist

  • My commit messages mention the appropriate GitHub issue numbers.
  • My code follows the code style of the affected package(s).
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the code contribution guidelines for this project.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • No new compiler warnings were introduced.
  • These changes break backwards compatibility.

…1 aggregation issue trilinos#5838

Adding a set and get methods to Aggregates_kokkos in order to store the coloring of the LWGraph used for aggregates creation.
This will allow to pass the colors to all phases of aggregation without reworking interfaces too much.
Using the new methods in LWGraph_kokkos avoids copying on host the data needed by
the coloring algorithm. This saves 2 communication: 1 DtoH and 1 HtoD.
Extra time monitors are added in AggregationPhase1 to account for coloring and
aggregation separately.
Adding a test that exercises the Distance2 algorithmic path in test/scaling
@lucbv lucbv added type: enhancement Issue is an enhancement, not a bug pkg: MueLu AT: AUTOMERGE Causes the PR autotester to automatically merge the PR branch once approvals are completed client: ExaWind All issue that impact the ECP project ExaWind labels Sep 4, 2019
@lucbv lucbv requested a review from a team as a code owner September 4, 2019 19:44
@lucbv lucbv self-assigned this Sep 4, 2019
@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: 4425
  • 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
PULLREQUESTNUM 5853
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Aggregates_kokkos_colors
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 358a33e
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 55f13be

Build Information

Test Name: Trilinos_pullrequest_intel_17.0.1

  • Build Num: 4249
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 5853
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Aggregates_kokkos_colors
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 358a33e
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 55f13be

Build Information

Test Name: Trilinos_pullrequest_gcc_4.9.3_SERIAL

  • Build Num: 2686
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 5853
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Aggregates_kokkos_colors
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 358a33e
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 55f13be

Build Information

Test Name: Trilinos_pullrequest_gcc_7.2.0

  • Build Num: 2510
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 5853
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Aggregates_kokkos_colors
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 358a33e
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 55f13be

Build Information

Test Name: Trilinos_pullrequest_cuda_9.2

  • Build Num: 2087
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
JENKINS_JOB_TYPE Experimental
PULLREQUESTNUM 5853
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Aggregates_kokkos_colors
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 358a33e
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 55f13be

Build Information

Test Name: Trilinos_pullrequest_python_2

  • Build Num: 523
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 5853
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Aggregates_kokkos_colors
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 358a33e
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 55f13be

Build Information

Test Name: Trilinos_pullrequest_python_3

  • Build Num: 523
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 5853
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Aggregates_kokkos_colors
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 358a33e
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 55f13be

Using Repos:

Repo: TRILINOS (lucbv/Trilinos)
  • Branch: MueLu_Aggregates_kokkos_colors
  • SHA: 358a33e
  • Mode: TEST_REPO

Pull Request Author: lucbv

@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: 4425
  • 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
PULLREQUESTNUM 5853
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Aggregates_kokkos_colors
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 358a33e
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 55f13be

Build Information

Test Name: Trilinos_pullrequest_intel_17.0.1

  • Build Num: 4249
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 5853
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Aggregates_kokkos_colors
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 358a33e
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 55f13be

Build Information

Test Name: Trilinos_pullrequest_gcc_4.9.3_SERIAL

  • Build Num: 2686
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 5853
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Aggregates_kokkos_colors
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 358a33e
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 55f13be

Build Information

Test Name: Trilinos_pullrequest_gcc_7.2.0

  • Build Num: 2510
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 5853
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Aggregates_kokkos_colors
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 358a33e
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 55f13be

Build Information

Test Name: Trilinos_pullrequest_cuda_9.2

  • Build Num: 2087
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
JENKINS_JOB_TYPE Experimental
PULLREQUESTNUM 5853
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Aggregates_kokkos_colors
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 358a33e
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 55f13be

Build Information

Test Name: Trilinos_pullrequest_python_2

  • Build Num: 523
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 5853
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Aggregates_kokkos_colors
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 358a33e
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 55f13be

Build Information

Test Name: Trilinos_pullrequest_python_3

  • Build Num: 523
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 5853
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH MueLu_Aggregates_kokkos_colors
TRILINOS_SOURCE_REPO https://github.com/lucbv/Trilinos
TRILINOS_SOURCE_SHA 358a33e
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 55f13be


CDash Test Results for PR# 5853.

@trilinos-autotester
Copy link
Contributor

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

@trilinos-autotester
Copy link
Contributor

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

@trilinos-autotester trilinos-autotester merged commit 643aa3a into trilinos:develop Sep 4, 2019
@trilinos-autotester
Copy link
Contributor

Merge on Pull Request# 5853: 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 Sep 4, 2019
@lucbv lucbv deleted the MueLu_Aggregates_kokkos_colors branch September 4, 2019 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client: ExaWind All issue that impact the ECP project ExaWind pkg: MueLu type: enhancement Issue is an enhancement, not a bug
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants