mersenneforum.org  

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

Reply
 
Thread Tools
Old 2019-11-01, 06:14   #3224
MrRepunit
 
MrRepunit's Avatar
 
Mar 2011
Germany

3×31 Posts
Default 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:
https://www.mersenneforum.org/showthread.php?t=24901


Feel free to test it.
MrRepunit is online now   Reply With Quote
Old 2019-11-11, 21:09   #3225
ixfd64
Bemusing Prompter
 
ixfd64's Avatar
 
"Danny"
Dec 2002
California

2,411 Posts
Default

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.

Last fiddled with by ixfd64 on 2019-11-11 at 21:09
ixfd64 is offline   Reply With Quote
Old 2019-11-21, 00:44   #3226
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009

36748 Posts
Default

Quote:
Originally Posted by ixfd64 View Post
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.

James Heinrich has a mersenne software download mirror on his site, https://www.mersenne.ca. It is at the very bottom on the right side.
storm5510 is offline   Reply With Quote
Old 2019-11-21, 01:48   #3227
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

3,499 Posts
Default

Quote:
Originally Posted by storm5510 View Post
James Heinrich has a mersenne software download mirror on his site, https://www.mersenne.ca. It is at the very bottom on the right side.
Or, more specifically, at https://download.mersenne.ca/

But it's just a download mirror, it's not a repository in the sense that (I assume) ixfd64 meant. He was looking for something like Bdot's mfakto repository on Github, but for mfaktc.
James Heinrich is offline   Reply With Quote
Old 2019-11-21, 03:47   #3228
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

29×199 Posts
Default

Quote:
Originally Posted by ixfd64 View Post
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.
If you find one, please let me know where, and I'll update the attachment at http://www.mersenneforum.org/showpos...91&postcount=2
kriesel is offline   Reply With Quote
Old 2019-12-09, 01:19   #3229
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009

198010 Posts
Default

For about 10 days, I have been trying to get the Linux version of mfaktc to run on my Ubuntu system. It tells me it cannot find a specific library, libcurart.so.6.5. 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 mfaktc. No success.

It seems sort of odd that a Linux executable would have a ".exe" extension.
storm5510 is offline   Reply With Quote
Old 2019-12-09, 01:25   #3230
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

3,851 Posts
Default

Quote:
Originally Posted by storm5510 View Post
For about 10 days, I have been trying to get the Linux version of mfaktc to run on my Ubuntu system. It tells me it cannot find a specific library, libcurart.so.6.5. 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 mfaktc. No success.

It seems sort of odd that a Linux executable would have a ".exe" extension.
Can you post the result of sudo apt-cache search cudart ? If it is not there and you have the shared object library, the best place for it is probably /usr/local/lib64/

Last fiddled with by paulunderwood on 2019-12-09 at 01:30
paulunderwood is offline   Reply With Quote
Old 2019-12-09, 04:51   #3231
ixfd64
Bemusing Prompter
 
ixfd64's Avatar
 
"Danny"
Dec 2002
California

1001011010112 Posts
Default

Quote:
Originally Posted by storm5510 View Post
It seems sort of odd that a Linux executable would have a ".exe" extension.
I wrote a modified makefile that addresses this issue: https://mersenneforum.org/showpost.p...postcount=3188

Last fiddled with by ixfd64 on 2019-12-09 at 04:51
ixfd64 is offline   Reply With Quote
Old 2019-12-09, 13:44   #3232
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009

22·32·5·11 Posts
Default

Quote:
Originally Posted by paulunderwood View Post
Can you post the result of [sudo apt-cache search cudart ? If it is not there and you have the shared object library, the best place for it is probably /usr/local/lib64/
This search produced:

Code:
libcurart10.1 - NVIDIA CUDA Runtime Library.
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: libcudart.so.10.1 This archive is for compilation and has no libraries in it.
storm5510 is offline   Reply With Quote
Old 2019-12-09, 14:55   #3233
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

3,851 Posts
Default

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
Download to your "Download" directory the source from https://www.mersenneforum.org/mfaktc/mfaktc-0.21/

Code:
cd ~/Downloads/
gunzip mfaktc-0.21.tar.gz
tar -xvf mfaktc-0.21.tar
cd mfaktc-0.21/src
make
paulunderwood is offline   Reply With Quote
Old 2019-12-09, 17:58   #3234
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009

198010 Posts
Default

Quote:
Originally Posted by paulunderwood View Post
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
Download to your "Download" directory the source from https://www.mersenneforum.org/mfaktc/mfaktc-0.21/

Code:
cd ~/Downloads/
gunzip mfaktc-0.21.tar.gz
tar -xvf mfaktc-0.21.tar
cd mfaktc-0.21/src
make

"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 Ubuntu.
storm5510 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 1680 2021-09-13 17:01
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 12:16.


Sat Oct 16 12:16:32 UTC 2021 up 85 days, 6:45, 0 users, load averages: 1.88, 1.39, 1.24

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.