![]() |
|
|
#1 |
|
Mar 2020
32 Posts |
Hi folks,
I am compiling CUDALucas 2.06 from the sourceforge (https://sourceforge.net/projects/cudalucas/files/). After ran makefile, I used $./CUDALucas -r 1 to test it's reliable or not. Unfortunately, I got all residue [0000000000000]. My OS is Ubuntu 18.04 and I have already changed CUDA path in makefile and also --generate-code arch=compute_60, code=sm_60. Message showed on the top of ./CUDALucas: binary compiled for CUDA 10.10 CUDA runtime version 10.0 CUDA driver version 10.20 GPU type is Tesla V100-PCIE and driver version is 440.33.01. I have read all related posts to my question but none of them can solve my problem. What's more, I set worktodo.txt as "Test=79437629" and got "Illegal residue: 0x0000000000000000. See mersenneforum.org for help.". Thanks in advance for replies and sorry if I posted in wrong place. |
|
|
|
|
|
#2 | |
|
Jun 2003
23·683 Posts |
Quote:
Last fiddled with by axn on 2020-03-20 at 03:11 |
|
|
|
|
|
|
#3 | |
|
Mar 2020
32 Posts |
Quote:
But I still got "Illegal Residue 0x0000000". Am I right for understanding how to set the CC version to 7.0? Last fiddled with by saviourz on 2020-03-20 at 03:27 |
|
|
|
|
|
|
#4 |
|
Jun 2003
23×683 Posts |
That part is correct.
EDIT:- Next thing I'd look for is the fact that you have multiple CUDA versions in your system: Code:
binary compiled for CUDA 10.10 CUDA runtime version 10.0 CUDA driver version 10.20 Would it be possible to nuke all nvidia stuff from the system and do a clean install of latest drivers + cuda toolkit? Last fiddled with by axn on 2020-03-20 at 03:33 |
|
|
|
|
|
#5 | |
|
Mar 2020
32 Posts |
Quote:
|
|
|
|
|
|
|
#6 | |
|
Mar 2020
118 Posts |
Quote:
Code:
binary compiled for CUDA 10.20 CUDA runtime version 10.20 CUDA driver version 10.20 Which part should I suspect now? I checked nvidia-smi and saw ./CUDALucas was successfully on the GPU task queue. |
|
|
|
|
|
|
#7 |
|
Jun 2003
23·683 Posts |
Somebody faced similar problem, and found that the pre-compiled binary worked. Try reading the next few posts starting here: https://www.mersenneforum.org/showth...460#post497460
But people have made it work with native compilation as well. Maybe you can try PM-ing those folks. Not sure what platform they were using. |
|
|
|
|
|
#8 | |
|
Mar 2020
32 Posts |
Quote:
But I am still trying to figure out my compilation problem. Open to any advice! |
|
|
|
|
|
|
#9 |
|
Mar 2020
910 Posts |
FYI,
I succeed in compiling CUDALucas v2.06 on Tesla M6 with CUDA runtime 10.20. The test is correct with "./CUDALucas -r 1". I don't understand clearly about how the previous error happened. Only changes I made are in Makefile: CUDA = "path to CUDA10.20" --generate-code arch=compute_50, code=sm_50 I attached this executive file. Hope it can help. |
|
|
|
|
|
#10 | |
|
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
1E9016 Posts |
Quote:
Welcome to the forum. If you haven't seen it yet, you might find some background and reference info interesting at https://www.mersenneforum.org/showthread.php?t=24607 Please run some double-checks with that executable to confirm it produces correct runs. Last fiddled with by kriesel on 2020-03-22 at 00:21 |
|
|
|
|
|
|
#11 | |
|
Mar 2020
10012 Posts |
Quote:
|
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| GGNFS won't compile? | pakaran | Factoring | 14 | 2015-09-05 23:36 |
| Help me compile Pachi GO program, please | skan | Programming | 8 | 2012-04-19 10:21 |
| Compile v26 on Windows | Brain | Software | 1 | 2010-11-24 00:34 |
| Anyone want to compile an OS X ecm for yoyo? | jasong | GMP-ECM | 1 | 2009-03-14 11:22 |
| help to compile.... | em99010pepe | Programming | 8 | 2006-12-06 17:11 |