mersenneforum.org  

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

Reply
 
Thread Tools
Old 2016-07-20, 21:38   #1
fivemack
(loop (#_fork))
 
fivemack's Avatar
 
Feb 2006
Cambridge, England

2·7·461 Posts
Default CUDALucas gives all-zero residues

This is on a new shiny GTX1080, running cuda-8.0-prerelease and Nvidia driver 367.35; I did

Code:
svn checkout svn://svn.code.sf.net/p/cudalucas/code/trunk cudalucas-code
cd cudalucas-code
make
and then ...

Code:
pumpkin@pumpkin:~/cudalucas-build-cuda80/cudalucas-code$ ./CUDALucas -r 0

------- DEVICE 0 -------
name                GeForce GTX 1080
Compatibility       6.1
clockRate (MHz)     1733
memClockRate (MHz)  5005
totalGlobalMem      8504279040
totalConstMem       65536
l2CacheSize         2097152
sharedMemPerBlock   49152
regsPerBlock        65536
warpSize            32
memPitch            2147483647
maxThreadsPerBlock  1024
maxThreadsPerMP     2048
multiProcessorCount 20
maxThreadsDim[3]    1024,1024,64
maxGridSize[3]      2147483647,65535,65535
textureAlignment    512
deviceOverlap       1

Using threads: square 256, splice 128.
Starting self test M86243 fft length = 4K
Iteration 10000 / 86243, 0x0000000000000000, 4K, CUDALucas v2.05.1, error = 0.01408, real: 0:00, 0.0801 ms/iter
Expected residue [23992ccd735a03d9] does not match actual residue [0000000000000000]

Using threads: square 256, splice 128.
Starting self test M132049 fft length = 8K
Iteration 10000 / 132049, 0x0000000000000000, 8K, CUDALucas v2.05.1, error = 0.00079, real: 0:02, 0.1178 ms/iter
Expected residue [4c52a92b54635f9e] does not match actual residue [0000000000000000]

Using threads: square 256, splice 128.
Starting self test M216091 fft length = 14K
Iteration 10000 / 216091, 0x0000000000000000, 14K, CUDALucas v2.05.1, error = 0.00004, real: 0:01, 0.1285 ms/iter
Expected residue [30247786758b8792] does not match actual residue [0000000000000000]

Using threads: square 256, splice 128.
Starting self test M756839 fft length = 42K
Iteration 10000 / 756839, 0x0000000000000000, 42K, CUDALucas v2.05.1, error = 0.00000, real: 0:02, 0.1647 ms/iter
Expected residue [5d2cbe7cb24a109a] does not match actual residue [0000000000000000]
Code:
pumpkin@pumpkin:~/cudalucas-build-cuda80/cudalucas-code$ ldd ./CUDALucas
	linux-vdso.so.1 =>  (0x00007ffcd01d2000)
	libcufft.so.8.0 => /usr/local/cuda-8.0/lib64/libcufft.so.8.0 (0x00007f6f604d4000)
	libcudart.so.8.0 => /usr/local/cuda-8.0/lib64/libcudart.so.8.0 (0x00007f6f60273000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f6f5ff59000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f6f5fb94000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f6f5f990000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f6f5f771000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f6f5f569000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f6f5f265000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f6f5f04e000)
	/lib64/ld-linux-x86-64.so.2 (0x000056154fda2000)
Any ideas? Adding "-polite 1" to the command line makes it slower but otherwise no effect

Last fiddled with by fivemack on 2016-07-20 at 21:40
fivemack is offline   Reply With Quote
Old 2016-07-20, 21:54   #2
airsquirrels
 
airsquirrels's Avatar
 
"David"
Jul 2015
Ohio

11·47 Posts
Default

You need to rebuild with the compute version set correctly. 62 if I recall

This is in the Makefile

Last fiddled with by airsquirrels on 2016-07-20 at 21:55
airsquirrels is offline   Reply With Quote
Old 2016-07-21, 07:40   #3
fivemack
(loop (#_fork))
 
fivemack's Avatar
 
Feb 2006
Cambridge, England

2×7×461 Posts
Default

Compute version 61 is apparently right; 62 gives all-zero residues again. Thanks.
fivemack is offline   Reply With Quote
Old 2016-07-21, 14:52   #4
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
San Diego, Calif.

281D16 Posts
Default

Quote:
Originally Posted by fivemack View Post
This is on a new shiny GTX1080, running cuda-8.0-prerelease and Nvidia driver 367.35; ...
Driver versions 364.xx .. 367.xx reportedly have bugs. Try to get the 368.22+ driver or roll back to 362.xx
Batalov is offline   Reply With Quote
Old 2016-07-21, 15:49   #5
fivemack
(loop (#_fork))
 
fivemack's Avatar
 
Feb 2006
Cambridge, England

2×7×461 Posts
Default

Quote:
Originally Posted by Batalov View Post
Driver versions 364.xx .. 367.xx reportedly have bugs. Try to get the 368.22+ driver or roll back to 362.xx
Older drivers don't seem to support GTX1080 properly, and the newest extant Linux driver is 367.35 (2016-07-15).

The first DC I ran was successful.

Last fiddled with by fivemack on 2016-07-24 at 08:51
fivemack is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
quadratic residues zippy Math 6 2015-07-20 13:09
Fun with LL residues NBtarheel_33 Data 19 2015-04-21 16:02
residues and non residues of general quadratic congruences smslca Math 0 2012-10-12 06:42
weird residues ATH Data 2 2012-08-14 02:25
Fake Residues jinydu Lounge 1 2008-09-16 17:02

All times are UTC. The time now is 15:02.


Fri Jul 7 15:02:37 UTC 2023 up 323 days, 12:31, 0 users, load averages: 1.50, 1.28, 1.18

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, 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.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔