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

Supernodal SpTRSV: support SuperLU version < 5 #1012

Merged
merged 1 commit into from
Jun 9, 2021

Conversation

iyamazaki
Copy link
Contributor

This PR aims to support SuperLU version < 5 for the perf-test of supernodal SpTRSV:

  • To use SuperLU version >=5, we now need to add -DHAVE_KOKKOSKERNELS_SUPERLU5_API to compiler flags.

@iyamazaki iyamazaki requested review from vqd8a and e10harvey June 9, 2021 07:56
@kokkos-devops-admin
Copy link

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

@kokkos-devops-admin
Copy link

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

Pull Request Auto Testing STARTING (click to expand)

Build Information

Test Name: KokkosKernels_PullRequest_GCC720

  • Build Num: 298
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH sptrsv-superlu4
KOKKOSKERNELS_SOURCE_REPO https://github.com/iyamazaki/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 8dd7721
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA d17ad2a
PR_LABELS
PULLREQUESTNUM 1012
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_GCC720

  • Build Num: 290
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH sptrsv-superlu4
KOKKOSKERNELS_SOURCE_REPO https://github.com/iyamazaki/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 8dd7721
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA d17ad2a
PR_LABELS
PULLREQUESTNUM 1012
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_INTEL18

  • Build Num: 276
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH sptrsv-superlu4
KOKKOSKERNELS_SOURCE_REPO https://github.com/iyamazaki/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 8dd7721
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA d17ad2a
PR_LABELS
PULLREQUESTNUM 1012
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_GCC720_Light

  • Build Num: 332
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH sptrsv-superlu4
KOKKOSKERNELS_SOURCE_REPO https://github.com/iyamazaki/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 8dd7721
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA d17ad2a
PR_LABELS
PULLREQUESTNUM 1012
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_GCC720_Light_LayoutRight

  • Build Num: 109
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH sptrsv-superlu4
KOKKOSKERNELS_SOURCE_REPO https://github.com/iyamazaki/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 8dd7721
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA d17ad2a
PR_LABELS
PULLREQUESTNUM 1012
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_CUDA10

  • Build Num: 297
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH sptrsv-superlu4
KOKKOSKERNELS_SOURCE_REPO https://github.com/iyamazaki/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 8dd7721
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA d17ad2a
PR_LABELS
PULLREQUESTNUM 1012
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_CUDA10_LayoutRight

  • Build Num: 108
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH sptrsv-superlu4
KOKKOSKERNELS_SOURCE_REPO https://github.com/iyamazaki/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 8dd7721
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA d17ad2a
PR_LABELS
PULLREQUESTNUM 1012
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_CUDA9

  • Build Num: 292
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH sptrsv-superlu4
KOKKOSKERNELS_SOURCE_REPO https://github.com/iyamazaki/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 8dd7721
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA d17ad2a
PR_LABELS
PULLREQUESTNUM 1012
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_GCC720_GCC740

  • Build Num: 290
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH sptrsv-superlu4
KOKKOSKERNELS_SOURCE_REPO https://github.com/iyamazaki/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 8dd7721
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA d17ad2a
PR_LABELS
PULLREQUESTNUM 1012
TEST_REPO_ALIAS KOKKOSKERNELS

Using Repos:

Repo: KOKKOSKERNELS (iyamazaki/kokkos-kernels)
  • Branch: sptrsv-superlu4
  • SHA: 8dd7721
  • Mode: TEST_REPO

Pull Request Author: iyamazaki

@kokkos-devops-admin
Copy link

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

Pull Request Auto Testing has PASSED (click to expand)

Build Information

Test Name: KokkosKernels_PullRequest_GCC720

  • Build Num: 298
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH sptrsv-superlu4
KOKKOSKERNELS_SOURCE_REPO https://github.com/iyamazaki/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 8dd7721
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA d17ad2a
PR_LABELS
PULLREQUESTNUM 1012
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_GCC720

  • Build Num: 290
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH sptrsv-superlu4
KOKKOSKERNELS_SOURCE_REPO https://github.com/iyamazaki/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 8dd7721
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA d17ad2a
PR_LABELS
PULLREQUESTNUM 1012
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_INTEL18

  • Build Num: 276
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH sptrsv-superlu4
KOKKOSKERNELS_SOURCE_REPO https://github.com/iyamazaki/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 8dd7721
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA d17ad2a
PR_LABELS
PULLREQUESTNUM 1012
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_GCC720_Light

  • Build Num: 332
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH sptrsv-superlu4
KOKKOSKERNELS_SOURCE_REPO https://github.com/iyamazaki/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 8dd7721
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA d17ad2a
PR_LABELS
PULLREQUESTNUM 1012
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_GCC720_Light_LayoutRight

  • Build Num: 109
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH sptrsv-superlu4
KOKKOSKERNELS_SOURCE_REPO https://github.com/iyamazaki/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 8dd7721
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA d17ad2a
PR_LABELS
PULLREQUESTNUM 1012
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_CUDA10

  • Build Num: 297
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH sptrsv-superlu4
KOKKOSKERNELS_SOURCE_REPO https://github.com/iyamazaki/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 8dd7721
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA d17ad2a
PR_LABELS
PULLREQUESTNUM 1012
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_CUDA10_LayoutRight

  • Build Num: 108
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH sptrsv-superlu4
KOKKOSKERNELS_SOURCE_REPO https://github.com/iyamazaki/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 8dd7721
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA d17ad2a
PR_LABELS
PULLREQUESTNUM 1012
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_CUDA9

  • Build Num: 292
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH sptrsv-superlu4
KOKKOSKERNELS_SOURCE_REPO https://github.com/iyamazaki/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 8dd7721
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA d17ad2a
PR_LABELS
PULLREQUESTNUM 1012
TEST_REPO_ALIAS KOKKOSKERNELS

Build Information

Test Name: KokkosKernels_PullRequest_Tpls_GCC720_GCC740

  • Build Num: 290
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
KOKKOSKERNELS_SOURCE_BRANCH sptrsv-superlu4
KOKKOSKERNELS_SOURCE_REPO https://github.com/iyamazaki/kokkos-kernels
KOKKOSKERNELS_SOURCE_SHA 8dd7721
KOKKOSKERNELS_TARGET_BRANCH develop
KOKKOSKERNELS_TARGET_REPO https://github.com/kokkos/kokkos-kernels
KOKKOSKERNELS_TARGET_SHA d17ad2a
PR_LABELS
PULLREQUESTNUM 1012
TEST_REPO_ALIAS KOKKOSKERNELS

@kokkos-devops-admin
Copy link

Status Flag 'Pre-Merge Inspection' - - This Pull Request Requires Inspection... The code must be inspected by a member of the Team before Testing/Merging
NO REVIEWS HAVE BEEN PERFORMED ON THIS PULL REQUEST!

@kokkos-devops-admin
Copy link

All Jobs Finished; status = PASSED, However Inspection must be performed before merge can occur...

@@ -220,21 +234,39 @@ void factor_superlu (bool symm_mode, bool metis,
printf( " + calling SuperLU dgstrf with panel_size=%d, relax_size=%d..\n",panel_size,relax_size );
printf( " * Dimension %dx%d; # nonzeros %d\n", A.nrow, A.ncol, Astore->nnz);

#ifdef HAVE_KOKKOSKERNELS_SUPERLU5_API
Copy link
Contributor

Choose a reason for hiding this comment

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

@iyamazaki Just to make sure I understand: Do we need to set -DHAVE_KOKKOSKERNELS_SUPERLU5_API:BOOL=ON in the cmake command when building Kokkos Kernels?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi, @vqd8a. I am not sure that will work.. For my testing, I just added -DHAVE_KOKKOSKERNELS_SUPERLU5_API to CMAKE_CXX_FLAGS.. It will be nice if there is a cleaner way like that (or can configure figure out SuperLU version?).

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks @iyamazaki . I am fine with setting -DHAVE_KOKKOSKERNELS_SUPERLU5_API in CMAKE_CXX_FLAGS.

@kokkos-devops-admin
Copy link

Status Flag 'Pre-Merge Inspection' - - This Pull Request Requires Inspection... The code must be inspected by a member of the Team before Testing/Merging
THE LAST COMMIT TO THIS PULL REQUEST HAS BEEN REVIEWED, BUT NOT ACCEPTED OR REQUIRES CHANGES

@kokkos-devops-admin
Copy link

All Jobs Finished; status = PASSED, However Inspection must be performed before merge can occur...

Copy link
Contributor

@e10harvey e10harvey left a comment

Choose a reason for hiding this comment

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

Thanks, @iyamazaki ! Consider using #if defined(SUPERLU_DIST_MAJOR_VERSION) && SUPERLU_DIST_MAJOR_VERSION >= 5 instead of #ifdef HAVE_KOKKOSKERNELS_SUPERLU5_API. I see that SUPERLU_DIST_MAJOR_VERSION is defined in superlu_defs.h for major version 6 but am not sure about major version 5.

@kokkos-devops-admin
Copy link

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

@kokkos-devops-admin
Copy link

Status Flag 'Pull Request AutoTester' - Pull Request MUST BE MERGED MANUALLY BY Project Team - This Repo does not support Automerge

@iyamazaki
Copy link
Contributor Author

Thank you @e10harvey. I am using SuperLU, not SuperLU_DIST, but I can change to using MAJOR_VERSION. Is there something similar defined for SuperLU (I did not see it in my grep)?

@e10harvey e10harvey merged commit ca203c4 into kokkos:develop Jun 9, 2021
@iyamazaki iyamazaki deleted the sptrsv-superlu4 branch June 11, 2021 21:02
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.

4 participants