-
Notifications
You must be signed in to change notification settings - Fork 573
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: Add "Error 127" CUDA build work-around to FAQ #2352
Tpetra: Add "Error 127" CUDA build work-around to FAQ #2352
Conversation
@trilinos/tpetra See the following GitHub issue: trilinos#2141 and the following detailed instructions: https://tribits.org/doc/TribitsBuildReference.html#enabling-the-usage-of-resource-files-to-reduce-length-of-build-lines Thanks to @bartlettroscoe for the instructions!
Status Flag 'Pre-Test Inspection' - Auto Inspected - Inspection Is Not Necessary for this Pull Request. |
Status Flag 'Pull Request AutoTester' - Testing Jenkins Projects: Pull Request Auto Testing STARTING (click to expand)Build InformationTest Name: Trilinos_autotester_test
Jenkins Parameters
Build InformationTest Name: Trilinos_pullrequest_gcc_4.9.3
Jenkins Parameters
Build InformationTest Name: Trilinos_pullrequest_gcc_4.8.4
Jenkins Parameters
Using Repos:
Pull Request Author: mhoemmen |
Status Flag 'Pull Request AutoTester' - Jenkins Testing: all Jobs PASSED Pull Request Auto Testing has PASSED (click to expand)Build InformationTest Name: Trilinos_autotester_test
Jenkins Parameters
Build InformationTest Name: Trilinos_pullrequest_gcc_4.9.3
Jenkins Parameters
Build InformationTest Name: Trilinos_pullrequest_gcc_4.8.4
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... |
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.
Looks fine to me.
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.
You change the URL to point to:
to not confuse people.
packages/tpetra/doc/FAQ.txt
Outdated
|
||
Short answer: Try setting the following CMake option: | ||
#+BEGIN_EXAMPLE | ||
CMAKE_CXX_USE_RESPONSE_FILE_FOR_OBJECTS:BOOL=ON |
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.
You might want to add the -D
prefix as:
-D CMAKE_CXX_USE_RESPONSE_FILE_FOR_OBJECTS:BOOL=ON
Just a suggestion for people who might actually try to just pass in CMAKE_CXX_USE_RESPONSE_FILE_FOR_OBJECTS:BOOL=ON
to the cmake
comamnd.
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.
done (locally)
packages/tpetra/doc/FAQ.txt
Outdated
|
||
and the following instructions: | ||
|
||
https://tribits.org/doc/TribitsBuildReference.html#enabling-the-usage-of-resource-files-to-reduce-length-of-build-lines |
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.
Also, once TriBITS is snapshotted into Trilinos, you should point into the Trilinos Build reference document instead of this generic one.
I was going to add another thing to TriBITS before I snaphsotted it into Trilinos but I will go ahead and do that now.
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.
I just pushed the commit afed21c that should bring this documentation into the document:
the next time the Trilinos Framework script runs that rebuilds this document. (You will have to ask @jwillenbring when that occurs.)
So you should likely change this to point to:
instead.
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.
@bartlettroscoe Cool, thanks Ross! I'll make those changes.
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.
@bartlettroscoe btw, trilinos.org gives me the nastygram about having a bad certificate; may I also point to the other link as a back-up?
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.
trilinos.org gives me the nastygram about having a bad certificate; may I also point to the other link as a back-up?
Ya, I know. I told the @trilinos/framework team about this a while back. You can check with @jwillenbring about the progress on fixing that.
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.
done (locally)
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... |
I'll mark this as [WIP] temporarily so the autotester doesn't bother y'all. |
@trilinos/tpetra I implemented @bartlettroscoe's suggested changes.
Thanks all! |
Add work-around for "Error 127" kokkos-kernels CUDA build link error to Tpetra's FAQ. See Trilinos/packages/tpetra/doc/FAQ.txt. This commit ONLY affects Tpetra's documentation. It does not touch source code files. @trilinos/tpetra See the following GitHub issue: trilinos#2141 and the following detailed instructions: https://tribits.org/doc/TribitsBuildReference.html#enabling-the-usage-of-resource-files-to-reduce-length-of-build-lines Thanks to @bartlettroscoe for the instructions!
Add work-around for "Error 127" kokkos-kernels CUDA build link error to Tpetra's FAQ.
See Trilinos/packages/tpetra/doc/FAQ.txt.
This pull request ONLY affects Tpetra's documentation.
It does not touch source code files.
@trilinos/tpetra
See the following GitHub issue:
#2141
and the following detailed instructions:
https://tribits.org/doc/TribitsBuildReference.html#enabling-the-usage-of-resource-files-to-reduce-length-of-build-lines
Thanks to @bartlettroscoe for the instructions!