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)

MrRepunit 2019-11-01 06:14

Introducing gr-mfaktc, a CUDA siever for generalized repunits
 
Hi all,
just want to announce here in this thread that I finished the generalized repunits version of mfaktc, the long wished for generalization of my base 10 repunits mfaktc variant.
It supports only positive bases (b>=2).


I did not want to hijack this thread, so I created my own:
[URL]https://www.mersenneforum.org/showthread.php?t=24901[/URL]


Feel free to test it.

ixfd64 2019-11-11 21:09

Is there an official mfaktc repository somewhere?

I found a repository on GitHub, but it was last updated in 2015 and doesn't seem to be managed by Oliver.

storm5510 2019-11-21 00:44

[QUOTE=ixfd64;530337]Is there an official mfaktc repository somewhere?

I found a repository on GitHub, but it was last updated in 2015 and doesn't seem to be managed by Oliver.[/QUOTE]


[B]James Heinrich[/B] has a mersenne software download mirror on his site, [URL]https://www.mersenne.ca[/URL]. It is at the very bottom on the right side.

James Heinrich 2019-11-21 01:48

[QUOTE=storm5510;531131][B]James Heinrich[/B] has a mersenne software download mirror on his site, [URL]https://www.mersenne.ca[/URL]. It is at the very bottom on the right side.[/QUOTE]Or, more specifically, at [url]https://download.mersenne.ca/[/url]

But it's just a download mirror, it's not a [url=https://en.wikipedia.org/wiki/Repository_(version_control)]repository[/url] in the sense that (I assume) [i]ixfd64[/i] meant. He was looking for something like [url=https://github.com/Bdot42/mfakto/]Bdot's mfakto repository on Github[/url], but for mfakt[color=red]c[/color].

kriesel 2019-11-21 03:47

[QUOTE=ixfd64;530337]Is there an official mfaktc repository somewhere?

I found a repository on GitHub, but it was last updated in 2015 and doesn't seem to be managed by Oliver.[/QUOTE]If you find one, please let me know where, and I'll update the attachment at [url]http://www.mersenneforum.org/showpost.php?p=488291&postcount=2[/url]

storm5510 2019-12-09 01:19

For about 10 days, I have been trying to get the Linux version of [I]mfaktc[/I] to run on my Ubuntu system. It tells me it cannot find a specific library, [I]libcurart.so.6.5.[/I] This is a CUDA65 version. It was the only one I could find which had all its pieces. I have tried moving the library around, as well as placing it in the same folder as [I]mfaktc[/I]. No success.

It seems sort of odd that a Linux executable would have a ".exe" extension.

paulunderwood 2019-12-09 01:25

[QUOTE=storm5510;532403]For about 10 days, I have been trying to get the Linux version of [I]mfaktc[/I] to run on my Ubuntu system. It tells me it cannot find a specific library, [I]libcurart.so.6.5.[/I] This is a CUDA65 version. It was the only one I could find which had all its pieces. I have tried moving the library around, as well as placing it in the same folder as [I]mfaktc[/I]. No success.

It seems sort of odd that a Linux executable would have a ".exe" extension.[/QUOTE]

Can you post the result of [C]sudo apt-cache search cudart[/C] ? If it is not there and you have the shared object library, the best place for it is probably [c]/usr/local/lib64/[/c]

ixfd64 2019-12-09 04:51

[QUOTE=storm5510;532403]It seems sort of odd that a Linux executable would have a ".exe" extension.[/QUOTE]

I wrote a modified makefile that addresses this issue: [url]https://mersenneforum.org/showpost.php?p=524399&postcount=3188[/url]

storm5510 2019-12-09 13:44

[QUOTE=paulunderwood;532405]Can you post the result of [C][sudo apt-cache search cudart[/C] ? If it is not there and you have the shared object library, the best place for it is probably [c]/usr/local/lib64/[/c][/QUOTE]

This search produced:

[CODE]libcurart10.1 - NVIDIA CUDA Runtime Library. [/CODE]
This indicates a CUDA10 library. I have an archive with an executable which uses this. When I try to run it, I get the same message, but the file name is different: [I]libcudart.so.10.1[/I] This archive is for compilation and has no libraries in it.

paulunderwood 2019-12-09 14:55

You can compile the source. This how...

Make sure "non-free" is ticked in aptitude. Then:

[CODE]sudo apt-get update
sudo apt-get install build-essential m4 libcudart10.1 nvidia-cuda-dev nvidia-cuda-toolkit[/CODE]

Download to your "Download" directory the source from [url]https://www.mersenneforum.org/mfaktc/mfaktc-0.21/[/url]

[code]
cd ~/Downloads/
gunzip mfaktc-0.21.tar.gz
tar -xvf mfaktc-0.21.tar
cd mfaktc-0.21/src
make
[/code]

storm5510 2019-12-09 17:58

[QUOTE=paulunderwood;532446]You can compile the source. This how...

[B]Make sure "non-free" is ticked in aptitude.[/B] Then:

[CODE]sudo apt-get update
sudo apt-get install build-essential m4 libcudart10.1 nvidia-cuda-dev nvidia-cuda-toolkit[/CODE]Download to your "Download" directory the source from [URL]https://www.mersenneforum.org/mfaktc/mfaktc-0.21/[/URL]

[code]
cd ~/Downloads/
gunzip mfaktc-0.21.tar.gz
tar -xvf mfaktc-0.21.tar
cd mfaktc-0.21/src
make
[/code][/QUOTE]


"Make sure "non-free" in ticked in the aptitude..." I suppose this is something I will see along the line? If so, then this looks very simple. I didn't realize a compiler was incorporated into Linux, regardless of source. Mine is [I]Ubuntu[/I].


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

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