-
Notifications
You must be signed in to change notification settings - Fork 578
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
Tpetra: Fix #4962 (duplicate Tpetra::Details::normImpl instantiations in Albany and SPARC) #4969
Conversation
@trilinos/tpetra 1. Add TPETRA_INSTANTIATE_G and TPETRA_INSTANTIATE_GN macros for explicit template instantiation (ETI). 2. Fix duplicate explicit instantiations of Tpetra::Details::normImpl for Scalar=int, in case Tpetra_INST_INT_INT=ON (i.e., GlobalOrdinal=int is enabled).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look fine.
Can you post the cmake configurations used to test it?
At least one should use Tpetra_INST_INT_INT=OFF, and one should use the default settings.
Thanks.
Status Flag 'Pre-Test Inspection' - Auto Inspected - Inspection Is Not Necessary for this Pull Request. |
@kddevin I used the old-fashioned check-in test script (it has nice automation for enabling or disabling packages) and only tested Tpetra. Both configurations used the following options:
I first tested deprecated code OFF and
I then tested deprecated code ON and
|
Status Flag 'Pull Request AutoTester' - Testing Jenkins Projects: Pull Request Auto Testing STARTING (click to expand)Build InformationTest Name: Trilinos_pullrequest_gcc_4.8.4
Jenkins Parameters
Build InformationTest Name: Trilinos_pullrequest_intel_17.0.1
Jenkins Parameters
Build InformationTest Name: Trilinos_pullrequest_gcc_4.9.3_SERIAL
Jenkins Parameters
Build InformationTest Name: Trilinos_pullrequest_gcc_7.2.0
Jenkins Parameters
Build InformationTest Name: Trilinos_pullrequest_cuda_9.2
Jenkins Parameters
Using Repos:
Pull Request Author: mhoemmen |
I had to set |
Status Flag 'Pull Request AutoTester' - Jenkins Testing: all Jobs PASSED Pull Request Auto Testing has PASSED (click to expand)Build InformationTest Name: Trilinos_pullrequest_gcc_4.8.4
Jenkins Parameters
Build InformationTest Name: Trilinos_pullrequest_intel_17.0.1
Jenkins Parameters
Build InformationTest Name: Trilinos_pullrequest_gcc_4.9.3_SERIAL
Jenkins Parameters
Build InformationTest Name: Trilinos_pullrequest_gcc_7.2.0
Jenkins Parameters
Build InformationTest Name: Trilinos_pullrequest_cuda_9.2
Jenkins Parameters
|
Status Flag 'Pre-Merge Inspection' - - This Pull Request Requires Inspection... The code must be inspected by a member of the Team before Testing/Merging |
All Jobs Finished; status = PASSED, However Inspection must be performed before merge can occur... |
Status Flag 'Pre-Merge Inspection' - SUCCESS: The last commit to this Pull Request has been INSPECTED AND APPROVED by [ kddevin ]! |
Status Flag 'Pull Request AutoTester' - Pull Request will be Automerged |
Merge on Pull Request# 4969: IS A SUCCESS - Pull Request successfully merged |
Thanks @kddevin ! I hope you don't mind me submitting a "competing" PR -- I just thought it would save time :-) . |
@mhoemmen Both "solutions" were your idea, not mine, so there's no PR competition at all. :) |
@trilinos/tpetra
Description
Add
TPETRA_INSTANTIATE_G
andTPETRA_INSTANTIATE_GN
macros forexplicit template instantiation (ETI).
Fix duplicate explicit instantiations of
Tpetra::Details::normImpl
for
Scalar=int
, in caseTpetra_INST_INT_INT=ON
(i.e.,GlobalOrdinal=int
is enabled).Motivation and Context
Both Albany and SPARC have a broken Trilinos build now.
Related Issues