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

Phalanx: fix for gcc 5/6 lambda bug on cuda #8086

Merged

Conversation

rppawlo
Copy link
Contributor

@rppawlo rppawlo commented Sep 23, 2020

Motivation

c++14 builds are broken with intel that uses gcc 5/6 due to lambda capture bug.

Closes #8048

Stakeholder Feedback

Testing

c++14 PR testing will cover this.

@rppawlo rppawlo added pkg: Phalanx AT: AUTOMERGE Causes the PR autotester to automatically merge the PR branch once approvals are completed PA: Discretizations Issues that fall under the Trilinos Discretizations Product Area labels Sep 23, 2020
@rppawlo rppawlo requested a review from etphipp September 23, 2020 15:01
@rppawlo rppawlo self-assigned this Sep 23, 2020
@etphipp
Copy link
Contributor

etphipp commented Sep 23, 2020

Just out of curiosity, is this the same lambda-capture issue with const variables we have seen for a while now, or something else? It sure would be nice to drop support for gcc 5/6.

@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: 7994
  • 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;PA: Discretizations;pkg: Phalanx
PULLREQUESTNUM 8086
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH phalanx-fix-for-gcc-lambda-bug
TRILINOS_SOURCE_REPO https://github.com/rppawlo/Trilinos
TRILINOS_SOURCE_SHA 115633f
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 06c2152

Build Information

Test Name: Trilinos_pullrequest_intel_17.0.1

  • Build Num: 7810
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS AT: AUTOMERGE;PA: Discretizations;pkg: Phalanx
PULLREQUESTNUM 8086
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH phalanx-fix-for-gcc-lambda-bug
TRILINOS_SOURCE_REPO https://github.com/rppawlo/Trilinos
TRILINOS_SOURCE_SHA 115633f
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 06c2152

Build Information

Test Name: Trilinos_pullrequest_gcc_4.9.3_SERIAL

  • Build Num: 6226
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS AT: AUTOMERGE;PA: Discretizations;pkg: Phalanx
PULLREQUESTNUM 8086
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH phalanx-fix-for-gcc-lambda-bug
TRILINOS_SOURCE_REPO https://github.com/rppawlo/Trilinos
TRILINOS_SOURCE_SHA 115633f
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 06c2152

Build Information

Test Name: Trilinos_pullrequest_gcc_7.2.0_debug

  • Build Num: 446
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS AT: AUTOMERGE;PA: Discretizations;pkg: Phalanx
PULLREQUESTNUM 8086
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH phalanx-fix-for-gcc-lambda-bug
TRILINOS_SOURCE_REPO https://github.com/rppawlo/Trilinos
TRILINOS_SOURCE_SHA 115633f
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 06c2152

Build Information

Test Name: Trilinos_pullrequest_gcc_8.3.0

  • Build Num: 2267
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS AT: AUTOMERGE;PA: Discretizations;pkg: Phalanx
PULLREQUESTNUM 8086
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH phalanx-fix-for-gcc-lambda-bug
TRILINOS_SOURCE_REPO https://github.com/rppawlo/Trilinos
TRILINOS_SOURCE_SHA 115633f
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 06c2152

Build Information

Test Name: Trilinos_pullrequest_cuda_9.2

  • Build Num: 5562
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS AT: AUTOMERGE;PA: Discretizations;pkg: Phalanx
PULLREQUESTNUM 8086
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH phalanx-fix-for-gcc-lambda-bug
TRILINOS_SOURCE_REPO https://github.com/rppawlo/Trilinos
TRILINOS_SOURCE_SHA 115633f
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 06c2152

Build Information

Test Name: Trilinos_pullrequest_clang_10.0.0

  • Build Num: 712
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS AT: AUTOMERGE;PA: Discretizations;pkg: Phalanx
PULLREQUESTNUM 8086
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH phalanx-fix-for-gcc-lambda-bug
TRILINOS_SOURCE_REPO https://github.com/rppawlo/Trilinos
TRILINOS_SOURCE_SHA 115633f
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 06c2152

Build Information

Test Name: Trilinos_pullrequest_python_2

  • Build Num: 3523
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS AT: AUTOMERGE;PA: Discretizations;pkg: Phalanx
PULLREQUESTNUM 8086
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH phalanx-fix-for-gcc-lambda-bug
TRILINOS_SOURCE_REPO https://github.com/rppawlo/Trilinos
TRILINOS_SOURCE_SHA 115633f
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 06c2152

Build Information

Test Name: Trilinos_pullrequest_python_3

  • Build Num: 3554
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS AT: AUTOMERGE;PA: Discretizations;pkg: Phalanx
PULLREQUESTNUM 8086
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH phalanx-fix-for-gcc-lambda-bug
TRILINOS_SOURCE_REPO https://github.com/rppawlo/Trilinos
TRILINOS_SOURCE_SHA 115633f
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 06c2152

Using Repos:

Repo: TRILINOS (rppawlo/Trilinos)
  • Branch: phalanx-fix-for-gcc-lambda-bug
  • SHA: 115633f
  • Mode: TEST_REPO

Pull Request Author: rppawlo

@rppawlo
Copy link
Contributor Author

rppawlo commented Sep 23, 2020

Yes - it's the same one we've been tracking for the last few years. Somehow enabling c++14 triggered it in a few lamdas that didn't see this error previously.

@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: 7994
  • 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;PA: Discretizations;pkg: Phalanx
PULLREQUESTNUM 8086
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH phalanx-fix-for-gcc-lambda-bug
TRILINOS_SOURCE_REPO https://github.com/rppawlo/Trilinos
TRILINOS_SOURCE_SHA 115633f
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 06c2152

Build Information

Test Name: Trilinos_pullrequest_intel_17.0.1

  • Build Num: 7810
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS AT: AUTOMERGE;PA: Discretizations;pkg: Phalanx
PULLREQUESTNUM 8086
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH phalanx-fix-for-gcc-lambda-bug
TRILINOS_SOURCE_REPO https://github.com/rppawlo/Trilinos
TRILINOS_SOURCE_SHA 115633f
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 06c2152

Build Information

Test Name: Trilinos_pullrequest_gcc_4.9.3_SERIAL

  • Build Num: 6226
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS AT: AUTOMERGE;PA: Discretizations;pkg: Phalanx
PULLREQUESTNUM 8086
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH phalanx-fix-for-gcc-lambda-bug
TRILINOS_SOURCE_REPO https://github.com/rppawlo/Trilinos
TRILINOS_SOURCE_SHA 115633f
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 06c2152

Build Information

Test Name: Trilinos_pullrequest_gcc_7.2.0_debug

  • Build Num: 446
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS AT: AUTOMERGE;PA: Discretizations;pkg: Phalanx
PULLREQUESTNUM 8086
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH phalanx-fix-for-gcc-lambda-bug
TRILINOS_SOURCE_REPO https://github.com/rppawlo/Trilinos
TRILINOS_SOURCE_SHA 115633f
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 06c2152

Build Information

Test Name: Trilinos_pullrequest_gcc_8.3.0

  • Build Num: 2267
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS AT: AUTOMERGE;PA: Discretizations;pkg: Phalanx
PULLREQUESTNUM 8086
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH phalanx-fix-for-gcc-lambda-bug
TRILINOS_SOURCE_REPO https://github.com/rppawlo/Trilinos
TRILINOS_SOURCE_SHA 115633f
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 06c2152

Build Information

Test Name: Trilinos_pullrequest_cuda_9.2

  • Build Num: 5562
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS AT: AUTOMERGE;PA: Discretizations;pkg: Phalanx
PULLREQUESTNUM 8086
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH phalanx-fix-for-gcc-lambda-bug
TRILINOS_SOURCE_REPO https://github.com/rppawlo/Trilinos
TRILINOS_SOURCE_SHA 115633f
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 06c2152

Build Information

Test Name: Trilinos_pullrequest_clang_10.0.0

  • Build Num: 712
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS AT: AUTOMERGE;PA: Discretizations;pkg: Phalanx
PULLREQUESTNUM 8086
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH phalanx-fix-for-gcc-lambda-bug
TRILINOS_SOURCE_REPO https://github.com/rppawlo/Trilinos
TRILINOS_SOURCE_SHA 115633f
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 06c2152

Build Information

Test Name: Trilinos_pullrequest_python_2

  • Build Num: 3523
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS AT: AUTOMERGE;PA: Discretizations;pkg: Phalanx
PULLREQUESTNUM 8086
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH phalanx-fix-for-gcc-lambda-bug
TRILINOS_SOURCE_REPO https://github.com/rppawlo/Trilinos
TRILINOS_SOURCE_SHA 115633f
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 06c2152

Build Information

Test Name: Trilinos_pullrequest_python_3

  • Build Num: 3554
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS AT: AUTOMERGE;PA: Discretizations;pkg: Phalanx
PULLREQUESTNUM 8086
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH phalanx-fix-for-gcc-lambda-bug
TRILINOS_SOURCE_REPO https://github.com/rppawlo/Trilinos
TRILINOS_SOURCE_SHA 115633f
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 06c2152


CDash Test Results for PR# 8086.

@trilinos-autotester
Copy link
Contributor

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

@trilinos-autotester
Copy link
Contributor

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

@trilinos-autotester trilinos-autotester merged commit 7c42e25 into trilinos:develop Sep 23, 2020
@trilinos-autotester
Copy link
Contributor

Merge on Pull Request# 8086: 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 23, 2020
@rppawlo rppawlo deleted the phalanx-fix-for-gcc-lambda-bug branch September 23, 2020 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PA: Discretizations Issues that fall under the Trilinos Discretizations Product Area pkg: Phalanx
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants