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

teko: fixes to support staticProfile matrix construction in Tpetra #5602 #5651

Merged
merged 1 commit into from
Aug 5, 2019

Conversation

kddevin
Copy link
Contributor

@kddevin kddevin commented Aug 3, 2019

#5602
@trilinos/teko

Description

Changes to enable only static profile construction of Tpetra CrsMatrices.
Enables builds with Tpetra_ENABLE_DEPRECATED_CODE=OFF to succeed.

Changed one test to provide a maximum number of entries per row. (Note that this test is rather odd in that it inserts into one matrix row twice, while not inserting at all into another matrix row. But I digress.)

Changed the subblock constructor to count the number of nonzeros per row, then create the matrix, and then insert the nonzeros.

Motivation and Context

DynamicProfile construction of Tpetra CrsGraph and CrsMAtrix is deprecated and will disappear soon.

Tested on linux with
Tpetra_ENABLE_DEPRECATED_CODE=OFF
Xpetra_ENABLE_DEPRECATED_CODE=OFF
Tpetra_INST_INT_INT=ON

@kddevin kddevin added pkg: Teko AT: AUTOMERGE Causes the PR autotester to automatically merge the PR branch once approvals are completed labels Aug 3, 2019
@kddevin kddevin requested review from rppawlo and eric-c-cyr August 3, 2019 00:01
@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: 4155
  • 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 5651
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH teko_fix5602
TRILINOS_SOURCE_REPO https://github.com/trilinos/Trilinos
TRILINOS_SOURCE_SHA afa0c9f
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 0cc8a93

Build Information

Test Name: Trilinos_pullrequest_intel_17.0.1

  • Build Num: 3976
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 5651
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH teko_fix5602
TRILINOS_SOURCE_REPO https://github.com/trilinos/Trilinos
TRILINOS_SOURCE_SHA afa0c9f
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 0cc8a93

Build Information

Test Name: Trilinos_pullrequest_gcc_4.9.3_SERIAL

  • Build Num: 2416
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 5651
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH teko_fix5602
TRILINOS_SOURCE_REPO https://github.com/trilinos/Trilinos
TRILINOS_SOURCE_SHA afa0c9f
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 0cc8a93

Build Information

Test Name: Trilinos_pullrequest_gcc_7.2.0

  • Build Num: 2232
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 5651
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH teko_fix5602
TRILINOS_SOURCE_REPO https://github.com/trilinos/Trilinos
TRILINOS_SOURCE_SHA afa0c9f
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 0cc8a93

Build Information

Test Name: Trilinos_pullrequest_cuda_9.2

  • Build Num: 1817
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
JENKINS_JOB_TYPE Experimental
PULLREQUESTNUM 5651
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH teko_fix5602
TRILINOS_SOURCE_REPO https://github.com/trilinos/Trilinos
TRILINOS_SOURCE_SHA afa0c9f
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 0cc8a93

Build Information

Test Name: Trilinos_pullrequest_python_2

  • Build Num: 293
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 5651
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH teko_fix5602
TRILINOS_SOURCE_REPO https://github.com/trilinos/Trilinos
TRILINOS_SOURCE_SHA afa0c9f
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 0cc8a93

Build Information

Test Name: Trilinos_pullrequest_python_3

  • Build Num: 293
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 5651
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH teko_fix5602
TRILINOS_SOURCE_REPO https://github.com/trilinos/Trilinos
TRILINOS_SOURCE_SHA afa0c9f
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 0cc8a93

Using Repos:

Repo: TRILINOS (trilinos/Trilinos)
  • Branch: teko_fix5602
  • SHA: afa0c9f
  • Mode: TEST_REPO

Pull Request Author: kddevin

@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: 4155
  • 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 5651
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH teko_fix5602
TRILINOS_SOURCE_REPO https://github.com/trilinos/Trilinos
TRILINOS_SOURCE_SHA afa0c9f
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 0cc8a93

Build Information

Test Name: Trilinos_pullrequest_intel_17.0.1

  • Build Num: 3976
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 5651
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH teko_fix5602
TRILINOS_SOURCE_REPO https://github.com/trilinos/Trilinos
TRILINOS_SOURCE_SHA afa0c9f
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 0cc8a93

Build Information

Test Name: Trilinos_pullrequest_gcc_4.9.3_SERIAL

  • Build Num: 2416
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 5651
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH teko_fix5602
TRILINOS_SOURCE_REPO https://github.com/trilinos/Trilinos
TRILINOS_SOURCE_SHA afa0c9f
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 0cc8a93

Build Information

Test Name: Trilinos_pullrequest_gcc_7.2.0

  • Build Num: 2232
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 5651
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH teko_fix5602
TRILINOS_SOURCE_REPO https://github.com/trilinos/Trilinos
TRILINOS_SOURCE_SHA afa0c9f
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 0cc8a93

Build Information

Test Name: Trilinos_pullrequest_cuda_9.2

  • Build Num: 1817
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
JENKINS_JOB_TYPE Experimental
PULLREQUESTNUM 5651
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH teko_fix5602
TRILINOS_SOURCE_REPO https://github.com/trilinos/Trilinos
TRILINOS_SOURCE_SHA afa0c9f
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 0cc8a93

Build Information

Test Name: Trilinos_pullrequest_python_2

  • Build Num: 293
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 5651
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH teko_fix5602
TRILINOS_SOURCE_REPO https://github.com/trilinos/Trilinos
TRILINOS_SOURCE_SHA afa0c9f
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 0cc8a93

Build Information

Test Name: Trilinos_pullrequest_python_3

  • Build Num: 293
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PULLREQUESTNUM 5651
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH teko_fix5602
TRILINOS_SOURCE_REPO https://github.com/trilinos/Trilinos
TRILINOS_SOURCE_SHA afa0c9f
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 0cc8a93


CDash Test Results for PR# 5651.

@trilinos-autotester
Copy link
Contributor

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!

@trilinos-autotester
Copy link
Contributor

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

2 similar comments
@trilinos-autotester
Copy link
Contributor

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

@trilinos-autotester
Copy link
Contributor

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

Copy link
Contributor

@rppawlo rppawlo left a comment

Choose a reason for hiding this comment

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

Thanks @kddevin !

@trilinos-autotester
Copy link
Contributor

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

@trilinos-autotester
Copy link
Contributor

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

@trilinos-autotester trilinos-autotester merged commit 3401d93 into develop Aug 5, 2019
@trilinos-autotester
Copy link
Contributor

Merge on Pull Request# 5651: 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 5, 2019
size_t numEntries = -1;
GO globalRow = gRowMap->getGlobalElement(localRow);
LO lid = A->getRowMap()->getLocalElement(globalRow);
TEUCHOS_ASSERT(lid>-1);
Copy link
Contributor

Choose a reason for hiding this comment

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

In the future, it's nicer to use the flag value Teuchos::OrdinalTraits<LO>::invalid().

@kddevin kddevin deleted the teko_fix5602 branch September 25, 2019 18:45
ndellingwood added a commit that referenced this pull request Dec 12, 2022
…908df1

From repository at [email protected]:kokkos/kokkos.git

At commit:
commit 90b7c0964935aa71ae50446ae8a9d433af908df1
Author: Christian Trott <[email protected]>
Date:   Wed Dec 7 21:46:47 2022 -0700

    Merge pull request #5671 from crtrott/fix-5651

    Fix #5651: Intel Classic Compiler ICE

    (cherry picked from commit d24d7ed40574147c7f7d80414d9f1554f4ac3379)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants