mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   GPU Computing (https://www.mersenneforum.org/forumdisplay.php?f=92)
-   -   mfaktc: a CUDA program for Mersenne prefactoring (https://www.mersenneforum.org/showthread.php?t=12827)

DrobinsonPE 2020-10-04 15:36

[QUOTE=storm5510;558854]I just began using [I]Ubuntu 20.04 LTS[/I]. The archive [COLOR=DarkRed]mfaktc-0.21-linux64.cuda10.1-gpusievesize2047.tar.gz[/COLOR] does not contain the libraries needed to run. Where can I find them?[/QUOTE]

try this:
sudo apt install nvidia-cuda-toolkit

James Heinrich 2020-10-04 15:40

[QUOTE=Viliam Furik;558856]You can often find CUDA DLLs by googling them.[/QUOTE]All the relevant DLLs can be found here [url]https://download.mersenne.ca/CUDA-DLLs[/url]
But they won't help on Linux.

storm5510 2020-10-04 15:55

[QUOTE=DrobinsonPE;558857]try this:
sudo apt install nvidia-cuda-toolkit[/QUOTE]

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.

:deadhorse:


[U]Edit:[/U] [COLOR=DarkRed]Disregard all the previous on this subject. I removed Ubuntu from my system.[/COLOR]

Aramis Wyler 2020-10-04 19:02

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]

storm5510 2020-10-04 22:29

[QUOTE=storm5510;558861][U]Edit:[/U] [COLOR=DarkRed]Disregard all the previous on this subject. I removed Ubuntu from my system.[/COLOR][/QUOTE]

Actually, the above is not really true. I still have [I]Ubuntu on Windows[/I]. It is also 20.04 LTS. Using [I]mprime[/I] does not pose visual issues like [I]Prime95[/I] 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.

kriesel 2020-10-05 01:25

[QUOTE=storm5510;558888]Actually, the above is not really true. I still have [I]Ubuntu on Windows[/I]. It is also 20.04 LTS. Using [I]mprime[/I] does not pose visual issues like [I]Prime95[/I] 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.[/QUOTE]
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.

DrobinsonPE 2020-10-05 02:24

[QUOTE=kriesel;558902]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.[/QUOTE]

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.

kriesel 2020-10-05 03:31

[QUOTE=DrobinsonPE;558907]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.[/QUOTE]10.2 [url]https://developer.nvidia.com/cuda-10.2-download-archive?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu[/url] 18.04 or 16.04
11.1 [url]https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu[/url] 20.04 18.04 16.04

storm5510 2020-10-05 13:04

[QUOTE=kriesel;558902]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.[/QUOTE]

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.

kriesel 2020-10-05 14:00

[QUOTE=storm5510;558949]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.[/QUOTE]Don't know. Maybe it would be Windows on the Windows side and WSL-Ubuntu on the other. [URL]https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=WSLUbuntu&target_version=20[/URL]

aheeffer 2020-10-18 09:21

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

387687056493187475315017 and 413121450787122123422543 divide M333114347


All times are UTC. The time now is 22:00.

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