![]() |
|
|
#12 | |
|
If I May
"Chris Halsall"
Sep 2002
Barbados
261568 Posts |
Quote:
|
|
|
|
|
|
|
#13 | |
|
Feb 2014
22×3×7 Posts |
Quote:
|
|
|
|
|
|
|
#14 |
|
"Oliver"
Mar 2005
Germany
5×223 Posts |
For the precompiled binaries there is no need to have CUDA toolkit installed. All you need is a sufficient driver version. Is the CUDA runtime library in the lib/ subdirectory?
What GPU do you have? That binary won't work with Pascal generation carfs (e.g. Geforce 10x0) because of the old CUDA version. If you have CUDA toolkit already installed: it is not a big deal to compile the sources. Just edit the Makefile:
And run Code:
make |
|
|
|
|
|
#15 | |
|
Feb 2014
22×3×7 Posts |
Quote:
Code:
daxm@ultraman:/usr/src/mfaktc-master/src$ make
gcc -Wall -Wextra -O2 -I/usr/local/cuda/include/ -malign-double -funroll-all-loops -c sieve.c -o sieve.o
sieve.c: In function ‘sieve_init_class’:
sieve.c:202:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if((prime_base[j] != exp) && \
^~
sieve.c:248:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(k < 0 || k >= p || check != (p-1))
^~
sieve.c: In function ‘sieve_candidates’:
sieve.c:400:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(;i<(SIEVE_SIZE&0xFFFFFFE0) && k<(ktab_size-33);i+=32) // thirty-three!!!
^
gcc -Wall -Wextra -O2 -I/usr/local/cuda/include/ -malign-double -c timer.c -o timer.o
gcc -Wall -Wextra -O2 -I/usr/local/cuda/include/ -malign-double -c parse.c -o parse.o
gcc -Wall -Wextra -O2 -I/usr/local/cuda/include/ -malign-double -c read_config.c -o read_config.o
read_config.c:22:10: fatal error: cuda_runtime.h: No such file or directory
#include <cuda_runtime.h>
^~~~~~~~~~~~~~~~
compilation terminated.
Makefile:58: recipe for target 'read_config.o' failed
make: *** [read_config.o] Error 1
I'm guessing that mfaktc needs updated to support CUDA 9? |
|
|
|
|
|
|
#16 | |
|
Feb 2014
22×3×7 Posts |
Quote:
I cross-posted. Let me try to answer this now. :-) I have a GeForce GTX950 (?) I think. Maybe it is a 850. I'll have to double check. |
|
|
|
|
|
|
#17 | |
|
If I May
"Chris Halsall"
Sep 2002
Barbados
261568 Posts |
Quote:
I ran this query on one of my machines, and got this result: Code:
[chalsall@samba2 mfaktc]$ rpm -qf /usr/local/cuda-7.5/targets/x86_64-linux/include/cuda_runtime.h cuda-cudart-dev-7-5-7.5-18.x86_64 |
|
|
|
|
|
|
#18 | |
|
Feb 2014
22×3×7 Posts |
Quote:
I'm going to go back to basics here and try to re-install the CUDA SDK and drivers and then try again. All told I *think* I'm getting closer! :-) |
|
|
|
|
|
|
#19 | |
|
Feb 2014
22×3×7 Posts |
Quote:
Code:
daxm@ultraman:~/Downloads$ lspci | grep -i nvidia 01:00.0 VGA compatible controller: NVIDIA Corporation GM206 [GeForce GTX 950] (rev a1) 01:00.1 Audio device: NVIDIA Corporation Device 0fba (rev a1) Last fiddled with by daxmick on 2018-01-05 at 21:20 |
|
|
|
|
|
|
#20 |
|
Feb 2014
10101002 Posts |
Woot! Success! The "-st" option is now running TF!
What did I do? 1. I followed the instructions to install CUDA 9.1: https://developer.nvidia.com/cuda-do..._type=deblocal 2. I rebooted. Honestly I think it was #2 that did the trick. Prior to rebooting I issued the command 'nvidia-smi' and got an error. After reboot that command started working again. Time to go get some Assignments! I'm so excited! |
|
|
|
|
|
#21 |
|
Feb 2014
22·3·7 Posts |
|
|
|
|
|
|
#22 |
|
Feb 2014
22·3·7 Posts |
Am I getting too excited over this? I've never done anything "GPU computing" related before.
A HUGE thank you to all of you who helped me work through my woes. |
|
|
|
![]() |
Similar Threads
|
||||
| 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 |