mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Hardware > GPU Computing

Reply
 
Thread Tools
Old 2020-10-04, 15:36   #3345
DrobinsonPE
 
Aug 2020

5416 Posts
Default

Quote:
Originally Posted by storm5510 View Post
I just began using Ubuntu 20.04 LTS. The archive mfaktc-0.21-linux64.cuda10.1-gpusievesize2047.tar.gz does not contain the libraries needed to run. Where can I find them?
try this:
sudo apt install nvidia-cuda-toolkit
DrobinsonPE is offline   Reply With Quote
Old 2020-10-04, 15:40   #3346
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

22·19·43 Posts
Default

Quote:
Originally Posted by Viliam Furik View Post
You can often find CUDA DLLs by googling them.
All the relevant DLLs can be found here https://download.mersenne.ca/CUDA-DLLs
But they won't help on Linux.
James Heinrich is offline   Reply With Quote
Old 2020-10-04, 15:55   #3347
storm5510
Random Account
 
storm5510's Avatar
 
"Norman D. Powell"
Aug 2009
Indiana, USA.

111010100102 Posts
Default

Quote:
Originally Posted by DrobinsonPE View Post
try this:
sudo apt install nvidia-cuda-toolkit
It replies with "Unable to locate package nvidia-cuda."

When I try to run it, I get, "Error while loading shared libraries: libcudart.so.10.1: cannot open shared object file..."

I have ran this in the past, but did not keep the archive containing all the libraries. I believe there is more than one.

Trying to find them on the web is like beating the dead horse. Jumping from site to site.




Edit: Disregard all the previous on this subject. I removed Ubuntu from my system.

Last fiddled with by storm5510 on 2020-10-04 at 16:21
storm5510 is offline   Reply With Quote
Old 2020-10-04, 19:02   #3348
Aramis Wyler
 
Aramis Wyler's Avatar
 
"Bill Staffen"
Jan 2013
Pittsburgh, PA, USA

3×137 Posts
Default

I had a good bit of trouble getting it to go on a debian based linux as well - seemed like now matter how many times I installed the nvidia drivers, be it from apt or the deb file, I couldn't get t to work. It ended up being exactly what DrobinsonPE said: after I got the nvidia kernal going and rebooted I needed to install the toolkit as well. Then everything worked.

EDIT: Turns out I have upgrades available:
sudo apt list |grep cuda |grep toolkit
[sudo] password for aramis:

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

nvidia-cuda-toolkit-doc/kali-rolling,kali-rolling 10.2.89-5 all [upgradable from: 10.2.89-4]
nvidia-cuda-toolkit-gcc/kali-rolling 10.2.89-5 amd64
nvidia-cuda-toolkit/kali-rolling 10.2.89-5 amd64 [upgradable from: 10.2.89-4]

Last fiddled with by Aramis Wyler on 2020-10-04 at 19:04
Aramis Wyler is offline   Reply With Quote
Old 2020-10-04, 22:29   #3349
storm5510
Random Account
 
storm5510's Avatar
 
"Norman D. Powell"
Aug 2009
Indiana, USA.

111010100102 Posts
Default

Quote:
Originally Posted by storm5510 View Post
Edit: Disregard all the previous on this subject. I removed Ubuntu from my system.
Actually, the above is not really true. I still have Ubuntu on Windows. It is also 20.04 LTS. Using mprime does not pose visual issues like Prime95 does, but then, I should not mention this for fear of being berated, again. I will just say I much prefer console programs now and leave it go at that.
storm5510 is offline   Reply With Quote
Old 2020-10-05, 01:25   #3350
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

22·3·409 Posts
Default

Quote:
Originally Posted by storm5510 View Post
Actually, the above is not really true. I still have Ubuntu on Windows. It is also 20.04 LTS. Using mprime does not pose visual issues like Prime95 does, but then, I should not mention this for fear of being berated, again. I will just say I much prefer console programs now and leave it go at that.
Looks like you're a little ahead of NVIDIA. The libraries are distributed as part of the CUDA toolkit, and NVIDIA offers nothing later than v18.04 for Ubuntu that I found, for CUDA10.x.
kriesel is online now   Reply With Quote
Old 2020-10-05, 02:24   #3351
DrobinsonPE
 
Aug 2020

22×3×7 Posts
Default

Quote:
Originally Posted by kriesel View Post
Looks like you're a little ahead of NVIDIA. The libraries are distributed as part of the CUDA toolkit, and NVIDIA offers nothing later than v18.04 for Ubuntu that I found, for CUDA10.x.
That is strange. The computer I have my GTX 1650 super in is running Linux Mint 20.1 which is based on Ubuntu 20.04. I installed the CUDA toolkit on that computer and that is how I got mfaktc working.
DrobinsonPE is offline   Reply With Quote
Old 2020-10-05, 03:31   #3352
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

22×3×409 Posts
Default

Quote:
Originally Posted by DrobinsonPE View Post
That is strange. The computer I have my GTX 1650 super in is running Linux Mint 20.1 which is based on Ubuntu 20.04. I installed the CUDA toolkit on that computer and that is how I got mfaktc working.
10.2 https://developer.nvidia.com/cuda-10..._distro=Ubuntu 18.04 or 16.04
11.1 https://developer.nvidia.com/cuda-do..._distro=Ubuntu 20.04 18.04 16.04
kriesel is online now   Reply With Quote
Old 2020-10-05, 13:04   #3353
storm5510
Random Account
 
storm5510's Avatar
 
"Norman D. Powell"
Aug 2009
Indiana, USA.

187410 Posts
Default

Quote:
Originally Posted by kriesel View Post
Looks like you're a little ahead of NVIDIA. The libraries are distributed as part of the CUDA toolkit, and NVIDIA offers nothing later than v18.04 for Ubuntu that I found, for CUDA10.x.
In this case, is it using Linux drivers or Windows drivers? I believe it to be the latter. I don't see a reason why it would not. I have no need to run a GPU program with it.
storm5510 is offline   Reply With Quote
Old 2020-10-05, 14:00   #3354
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

22×3×409 Posts
Default

Quote:
Originally Posted by storm5510 View Post
In this case, is it using Linux drivers or Windows drivers? I believe it to be the latter. I don't see a reason why it would not. I have no need to run a GPU program with it.
Don't know. Maybe it would be Windows on the Windows side and WSL-Ubuntu on the other. https://developer.nvidia.com/cuda-do...get_version=20

Last fiddled with by kriesel on 2020-10-05 at 14:01
kriesel is online now   Reply With Quote
Old 2020-10-18, 09:21   #3355
aheeffer
 
Aug 2020

458 Posts
Default

What are the odds? Mfaktc found two factors in the same 79-bit range:

387687056493187475315017 and 413121450787122123422543 divide M333114347
aheeffer is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
mfakto: an OpenCL program for Mersenne prefactoring Bdot GPU Computing 1668 2020-12-22 15:38
The P-1 factoring CUDA program firejuggler GPU Computing 753 2020-12-12 18:07
gr-mfaktc: a CUDA program for generalized repunits prefactoring MrRepunit GPU Computing 32 2020-11-11 19:56
mfaktc 0.21 - CUDA runtime wrong keisentraut Software 2 2020-08-18 07:03
World's second-dumbest CUDA program fivemack Programming 112 2015-02-12 22:51

All times are UTC. The time now is 17:10.

Mon Mar 1 17:10:49 UTC 2021 up 88 days, 13:22, 0 users, load averages: 2.87, 2.86, 2.58

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.