![]() |
![]() |
#1 |
Feb 2014
22·3·7 Posts |
![]()
I've downloaded v0.21 and read the README.
It appears that some knowledge of using CUDA is needed prior to using this software. (Knowledge that, alas, I don't have.) I have CUDA 9.0 installed (I think) on a Ubuntu 17.10 machine but I don't know where to go from here. The README references a /src directory but there is no such directory in the v0.21 directory. What am I missing? Does someone have a more detailed set of instructions on how to get this up and running? :-) |
![]() |
![]() |
![]() |
#2 |
"/X\(‘-‘)/X\"
Jan 2013
2×19×83 Posts |
![]()
If you already have an mfaktc.exe, you can just run that.
Otherwise there should be a src directory. In that you made need to edit the Makefile to point a couple of variables to the right place, before you run `make`. |
![]() |
![]() |
![]() |
#3 | |
Feb 2014
22×3×7 Posts |
![]() Quote:
Try untar’ing the v0.21 Linux 64 file. There is no src directory. There is a lib directory though but that didn’t help. |
|
![]() |
![]() |
![]() |
#4 |
Oct 2014
Bari, Italy
1001112 Posts |
![]()
You should run
Code:
./mfaktc.exe -h try this command Code:
LD_LIBRARY_PATH="./lib:${LD_LIBRARY_PATH}" ./mfaktc.exe -h |
![]() |
![]() |
![]() |
#5 | |
Feb 2014
1248 Posts |
![]()
That is what I tried before.
Quote:
Thank you for your help. |
|
![]() |
![]() |
![]() |
#6 |
Feb 2014
22·3·7 Posts |
![]()
It appears that mfaktc v0.21 is compiled for CUDA 6.5. I have CUDA 9.0.
So, should I uninstall 9.0 and install 6.5 instead? Or where do I get the source of mfaktc so I can build a binary for CUDA 9.0. (Assuming I can figure out how to do that.) |
![]() |
![]() |
![]() |
#7 | |
If I May
"Chris Halsall"
Sep 2002
Barbados
2·3·5·373 Posts |
![]() Quote:
Code:
./mfaktc.exe -st |
|
![]() |
![]() |
![]() |
#8 |
Feb 2014
5416 Posts |
![]()
That is where I learned what it was looking for. Here is the output of running with the "-st" arg: (Note the last line.)
Code:
daxm@ultraman:~/mersenne/mfaktc-0.21$ ./runme.sh -st mfaktc v0.21 (64bit built) Compiletime options THREADS_PER_BLOCK 256 SIEVE_SIZE_LIMIT 32kiB SIEVE_SIZE 193154bits SIEVE_SPLIT 250 MORE_CLASSES enabled Runtime options SievePrimes 25000 SievePrimesAdjust 1 SievePrimesMin 5000 SievePrimesMax 100000 NumStreams 3 CPUStreams 3 GridSize 3 GPU Sieving enabled GPUSievePrimes 82486 GPUSieveSize 64Mi bits GPUSieveProcessSize 16Ki bits Checkpoints enabled CheckpointDelay 30s WorkFileAddDelay 600s Stages enabled StopAfterFactor bitlevel PrintMode full V5UserID (none) ComputerID (none) AllowSleep no TimeStampInResults no CUDA version info binary compiled for CUDA 6.50 CUDA runtime version -104.-5 CUDA driver version 9.0 ERROR: CUDA runtime version must match the CUDA toolkit version used during compile! Code:
daxm@ultraman:~/mersenne/mfaktc-0.21$ cat runme.sh #!/bin/bash LD_LIBRARY_PATH="./lib:${LD_LIBRARY_PATH}" ./mfaktc.exe $1 |
![]() |
![]() |
![]() |
#9 | |
If I May
"Chris Halsall"
Sep 2002
Barbados
2·3·5·373 Posts |
![]() Quote:
I would next try compiling mkfactc in your enviromment; it's not that hard. Downgrading CUDA is also an option, but I've found it can be a royal pain in the butt (I've burnt through many an Amazon VM with failed attempts). |
|
![]() |
![]() |
![]() |
#10 | |
Feb 2014
22·3·7 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#11 | |
If I May
"Chris Halsall"
Sep 2002
Barbados
2·3·5·373 Posts |
![]() Quote:
@Oliver... Perhaps it's time to update http://www.mersenneforum.org/mfaktc/ and make it possible to find precompiled executables for CUDA 9, and easier to find the source code? For example, perhaps mfaktc-0.21.tar.gz could be renamed mfaktc-0.21_src.tar.gz? |
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Installation of GGNFS | LegionMammal978 | Msieve | 17 | 2017-01-20 19:49 |
GMP-ECM - installation - how to compile - Ubuntu 15 | ThomRuley | GMP-ECM | 2 | 2017-01-06 16:54 |
installation of OS trouble | wildrabbitt | Linux | 5 | 2015-12-22 16:51 |
Don't know where installation folder went | jinydu | Information & Answers | 10 | 2009-10-14 01:29 |
GMP-ECM 6.2-rc1 - installation under MinGW failed | Andi47 | GMP-ECM | 5 | 2008-04-30 17:46 |