Ubuntu cuda installation compilation of sample scripts
PTIJ: Haman's bad computer
What is the evidence for the "tyranny of the majority problem" in a direct democracy context?
Extract more than nine arguments that occur periodically in a sentence to use in macros in order to typset
How can I write humor as character trait?
How does the math work for Perception checks?
Redundant comparison & "if" before assignment
Can the US President recognize Israel’s sovereignty over the Golan Heights for the USA or does that need an act of Congress?
What features enable the Su-25 Frogfoot to operate with such a wide variety of fuels?
How to explain what's wrong with this application of the chain rule?
Pre-mixing cryogenic fuels and using only one fuel tank
Limits and Infinite Integration by Parts
How do you respond to a colleague from another team when they're wrongly expecting that you'll help them?
Can I say "fingers" when referring to toes?
Lowest total scrabble score
Can I visit Japan without a visa?
Why should universal income be universal?
Did arcade monitors have same pixel aspect ratio as TV sets?
What does "Scientists rise up against statistical significance" mean? (Comment in Nature)
Are Captain Marvel's powers affected by Thanos' actions in Infinity War
How to fade a semiplane defined by line?
Has any country ever had 2 former presidents in jail simultaneously?
A social experiment. What is the worst that can happen?
When were female captains banned from Starfleet?
Do the primes contain an infinite almost arithmetic progression?
Ubuntu cuda installation compilation of sample scripts
I am a newbie and did extensive search before posting this question. I just installed cuda 10.1 with a nvidia on Ubuntu 18.04 and followed the instructions all the way to test the compilation. Running into -lGL not found
/usr/bin/ld: cannot find -lGL
collect2: error: ld returned 1 exit status
Makefile:318: recipe for target 'randomFog' failed
make[1]: * [randomFog] Error 1
make[1]: Target 'all' not remade because of errors.
make[1]: Leaving directory '/home/hozaifa/NVIDIA_CUDA-10.1_Samples/7_CUDALibraries/randomFog'
Makefile:51: recipe for target '7_CUDALibraries/randomFog/Makefile.ph_build' failed
make: * [7_CUDALibraries/randomFog/Makefile.ph_build] Error 2
make: Target 'all' not remade because of errors.
hozaifa@hozaifa-Ubuntu:~/NVIDIA_CUDA-10.1_Samples$ echo $PATH
/usr/local/cuda-10.1/bin:/usr/local/cuda-10.1/NsightCompute-2019.1:/usr/local/cuda-10.1/bin:/usr/local/cuda-10.1/NsightCompute-2019.1:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
hozaifa@hozaifa-Ubuntu:~/NVIDIA_CUDA-10.1_Samples$ echo $LD_LIBRARY_PATH
/usr/local/cuda-10.1/lib64:/usr/local/cuda-10.1/lib64:/usr/local/cuda-10.1/lib64
hozaifa@hozaifa-Ubuntu:~/NVIDIA_CUDA-10.1_Samples$
From which nvcc I get
hozaifa@hozaifa-Ubuntu:~/NVIDIA_CUDA-10.1_Samples$ which nvcc
/usr/local/cuda-10.1/bin/nvcc
ubuntu path cuda
New contributor
add a comment |
I am a newbie and did extensive search before posting this question. I just installed cuda 10.1 with a nvidia on Ubuntu 18.04 and followed the instructions all the way to test the compilation. Running into -lGL not found
/usr/bin/ld: cannot find -lGL
collect2: error: ld returned 1 exit status
Makefile:318: recipe for target 'randomFog' failed
make[1]: * [randomFog] Error 1
make[1]: Target 'all' not remade because of errors.
make[1]: Leaving directory '/home/hozaifa/NVIDIA_CUDA-10.1_Samples/7_CUDALibraries/randomFog'
Makefile:51: recipe for target '7_CUDALibraries/randomFog/Makefile.ph_build' failed
make: * [7_CUDALibraries/randomFog/Makefile.ph_build] Error 2
make: Target 'all' not remade because of errors.
hozaifa@hozaifa-Ubuntu:~/NVIDIA_CUDA-10.1_Samples$ echo $PATH
/usr/local/cuda-10.1/bin:/usr/local/cuda-10.1/NsightCompute-2019.1:/usr/local/cuda-10.1/bin:/usr/local/cuda-10.1/NsightCompute-2019.1:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
hozaifa@hozaifa-Ubuntu:~/NVIDIA_CUDA-10.1_Samples$ echo $LD_LIBRARY_PATH
/usr/local/cuda-10.1/lib64:/usr/local/cuda-10.1/lib64:/usr/local/cuda-10.1/lib64
hozaifa@hozaifa-Ubuntu:~/NVIDIA_CUDA-10.1_Samples$
From which nvcc I get
hozaifa@hozaifa-Ubuntu:~/NVIDIA_CUDA-10.1_Samples$ which nvcc
/usr/local/cuda-10.1/bin/nvcc
ubuntu path cuda
New contributor
add a comment |
I am a newbie and did extensive search before posting this question. I just installed cuda 10.1 with a nvidia on Ubuntu 18.04 and followed the instructions all the way to test the compilation. Running into -lGL not found
/usr/bin/ld: cannot find -lGL
collect2: error: ld returned 1 exit status
Makefile:318: recipe for target 'randomFog' failed
make[1]: * [randomFog] Error 1
make[1]: Target 'all' not remade because of errors.
make[1]: Leaving directory '/home/hozaifa/NVIDIA_CUDA-10.1_Samples/7_CUDALibraries/randomFog'
Makefile:51: recipe for target '7_CUDALibraries/randomFog/Makefile.ph_build' failed
make: * [7_CUDALibraries/randomFog/Makefile.ph_build] Error 2
make: Target 'all' not remade because of errors.
hozaifa@hozaifa-Ubuntu:~/NVIDIA_CUDA-10.1_Samples$ echo $PATH
/usr/local/cuda-10.1/bin:/usr/local/cuda-10.1/NsightCompute-2019.1:/usr/local/cuda-10.1/bin:/usr/local/cuda-10.1/NsightCompute-2019.1:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
hozaifa@hozaifa-Ubuntu:~/NVIDIA_CUDA-10.1_Samples$ echo $LD_LIBRARY_PATH
/usr/local/cuda-10.1/lib64:/usr/local/cuda-10.1/lib64:/usr/local/cuda-10.1/lib64
hozaifa@hozaifa-Ubuntu:~/NVIDIA_CUDA-10.1_Samples$
From which nvcc I get
hozaifa@hozaifa-Ubuntu:~/NVIDIA_CUDA-10.1_Samples$ which nvcc
/usr/local/cuda-10.1/bin/nvcc
ubuntu path cuda
New contributor
I am a newbie and did extensive search before posting this question. I just installed cuda 10.1 with a nvidia on Ubuntu 18.04 and followed the instructions all the way to test the compilation. Running into -lGL not found
/usr/bin/ld: cannot find -lGL
collect2: error: ld returned 1 exit status
Makefile:318: recipe for target 'randomFog' failed
make[1]: * [randomFog] Error 1
make[1]: Target 'all' not remade because of errors.
make[1]: Leaving directory '/home/hozaifa/NVIDIA_CUDA-10.1_Samples/7_CUDALibraries/randomFog'
Makefile:51: recipe for target '7_CUDALibraries/randomFog/Makefile.ph_build' failed
make: * [7_CUDALibraries/randomFog/Makefile.ph_build] Error 2
make: Target 'all' not remade because of errors.
hozaifa@hozaifa-Ubuntu:~/NVIDIA_CUDA-10.1_Samples$ echo $PATH
/usr/local/cuda-10.1/bin:/usr/local/cuda-10.1/NsightCompute-2019.1:/usr/local/cuda-10.1/bin:/usr/local/cuda-10.1/NsightCompute-2019.1:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
hozaifa@hozaifa-Ubuntu:~/NVIDIA_CUDA-10.1_Samples$ echo $LD_LIBRARY_PATH
/usr/local/cuda-10.1/lib64:/usr/local/cuda-10.1/lib64:/usr/local/cuda-10.1/lib64
hozaifa@hozaifa-Ubuntu:~/NVIDIA_CUDA-10.1_Samples$
From which nvcc I get
hozaifa@hozaifa-Ubuntu:~/NVIDIA_CUDA-10.1_Samples$ which nvcc
/usr/local/cuda-10.1/bin/nvcc
ubuntu path cuda
ubuntu path cuda
New contributor
New contributor
New contributor
asked 1 min ago
Hozaifa BhuttaHozaifa Bhutta
1
1
New contributor
New contributor
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Hozaifa Bhutta is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1416543%2fubuntu-cuda-installation-compilation-of-sample-scripts%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Hozaifa Bhutta is a new contributor. Be nice, and check out our Code of Conduct.
Hozaifa Bhutta is a new contributor. Be nice, and check out our Code of Conduct.
Hozaifa Bhutta is a new contributor. Be nice, and check out our Code of Conduct.
Hozaifa Bhutta is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1416543%2fubuntu-cuda-installation-compilation-of-sample-scripts%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown