mersenneforum.org  

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

Reply
 
Thread Tools
Old 2015-11-18, 08:40   #144
fivemack
(loop (#_fork))
 
fivemack's Avatar
 
Feb 2006
Cambridge, England

2×7×461 Posts
Default A moderate problem

Code:
pumpkin@pumpkin:~/cudalucas-build/cudalucas-code$ ./CUDALucas -d 1 -c 10000 1257787

------- DEVICE 1 -------
name                GeForce GTX 580
Compatibility       2.0
clockRate (MHz)     1566
memClockRate (MHz)  2010
totalGlobalMem      1607139328
totalConstMem       65536
l2CacheSize         786432
sharedMemPerBlock   49152
regsPerBlock        32768
warpSize            32
memPitch            2147483647
maxThreadsPerBlock  1024
maxThreadsPerMP     1536
multiProcessorCount 16
maxThreadsDim[3]    1024,1024,64
maxGridSize[3]      65535,65535,65535
textureAlignment    512
deviceOverlap       1

Using threads: square 256, splice 128.
Starting M1257787 fft length = 64K
|   Date     Time    |   Test Num     Iter        Residue        |    FFT   Error     ms/It     Time  |       ETA      Done   |
|  Nov 18  08:09:05  |   M1257787     10000  0x3f45bf9bea7213ea  |    64K  0.07812   0.0948    0.94s  |         1:58   0.79%  |
|  Nov 18  08:09:06  |   M1257787     20000  0x961d384390291afd  |    64K  0.07812   0.0962    0.96s  |         1:58   1.59%  |
...
|  Nov 18  08:11:05  |   M1257787   1250000  0x07869a6bb3f959a5  |    64K  0.07812   0.0977    0.97s  |         0:00  99.38%  |
M( 1257787 )P, n = 64K, CUDALucas v2.05.1, estimated total time = 2:02
pumpkin@pumpkin:~/cudalucas-build/cudalucas-code$ ./CUDALucas -d 0 -c 10000 1257787

------- DEVICE 0 -------
name                GeForce GTX 970
Compatibility       5.2
clockRate (MHz)     1215
memClockRate (MHz)  3505
totalGlobalMem      4294770688
totalConstMem       65536
l2CacheSize         1835008
sharedMemPerBlock   49152
regsPerBlock        65536
warpSize            32
memPitch            2147483647
maxThreadsPerBlock  1024
maxThreadsPerMP     2048
multiProcessorCount 13
maxThreadsDim[3]    1024,1024,64
maxGridSize[3]      2147483647,65535,65535
textureAlignment    512
deviceOverlap       1

Using threads: square 256, splice 128.
Starting M1257787 fft length = 64K
|   Date     Time    |   Test Num     Iter        Residue        |    FFT   Error     ms/It     Time  |       ETA      Done   |
|  Nov 18  08:13:08  |   M1257787     10000  0x0000000000000000  |    64K  0.00000   0.1163    1.16s  |         2:25   0.79%  |
|  Nov 18  08:13:09  |   M1257787     20000  0x0000000000000000  |    64K  0.00000   0.1171    1.17s  |         2:24   1.59%  |
So on the GTX580 it seems to be working OK (I am DCing M62046323 which should take four days and be a useful does-it-work test), and on the GTX970 it definitely isn't. Any hints?

Last fiddled with by fivemack on 2015-11-18 at 08:40
fivemack is offline   Reply With Quote
Old 2015-11-18, 08:42   #145
fivemack
(loop (#_fork))
 
fivemack's Avatar
 
Feb 2006
Cambridge, England

144668 Posts
Default

Quote:
Originally Posted by Primeinator View Post
Okay. Now that test week is over I am doing this. M(859433) is merrily being crunched by my GPU; however, it doesn't appear to be saving progress. I created a results.txt file in the same folder as CUDALucas. I am still obviously missing something

Edit: To clarify, pressing control+C does in fact close the program; however, upon restarting the program it starts the test from the beginning.

Edit 2: CUDALucas does not appear to write either to results.txt or create any new files to save results.

Edit 3: Running the program again I watched until the end of the test. When it finished CUDALucas closed. I checked the folder and alas, there was no edit made to the results.txt or any new file added displaying the result.
Have you installed CUDALucas in Program Files or something? This sounds as if it doesn't have permission to write to the place it's expecting to put its output.
fivemack is offline   Reply With Quote
Old 2015-12-31, 01:03   #146
casmith789
 
Dec 2014

24 Posts
Default

Um, I can't seem to download CUDALucas from its sourceforge page, it just creates a redirect loop without any download. I've tried it in Chrome, FF and Edge,

Is anyone else having this problem? I don't remember having this issue when I tried ~a year ago
casmith789 is offline   Reply With Quote
Old 2015-12-31, 01:58   #147
casmith789
 
Dec 2014

24 Posts
Default

Well, I found my old backup of CUDALucas and it works fine on this (new) PC, so there isn't a rush. But it's weird that sourceforge doesn't work properly... :)

Tested it on a known prime and a known not prime so I know CUDALucas is working and I get these results (in case anyone was wondering):

CPU (Prime95, i7-4790, 4 cores running, 10.65 GHzd/d ish per core)
CPU (Prime95, i7-4790, 1 cores running, 13.83 GHzd/d ish per core)
GPU (nvidia gtx 970, CUDALucas 2.05.1, 20.75 GHzd/d ish)

GPU (nvidia gtx 970, mfaktc-0.21, 458 GHzd/d ish)

While these numbers will surely vary by exponent and the TFing is not done at the same range as I tested the LLs, it seems like LLing on the GPU is definitely some way off the TFing performance, and is in fact worse than the CPU for my machine if you take into account all my cores :)
casmith789 is offline   Reply With Quote
Old 2015-12-31, 02:52   #148
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

2·3·1,693 Posts
Default

The Sourceforge download just worked for me. Maybe try again?
kladner is offline   Reply With Quote
Old 2015-12-31, 03:31   #149
casmith789
 
Dec 2014

208 Posts
Default

Quote:
Originally Posted by kladner View Post
The Sourceforge download just worked for me. Maybe try again?
Yeah, works now. Weird, I tried about 10 times with no success. Cheers
casmith789 is offline   Reply With Quote
Old 2015-12-31, 04:06   #150
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

2×3×1,693 Posts
Default

Quote:
Originally Posted by casmith789 View Post
Yeah, works now. Weird, I tried about 10 times with no success. Cheers
I just now had multiple failures before I succeeded in downloading Ultradefrag from SourceForge. I was getting "Server Not Found" messages, on multiple mirrors. Then it cleared up. Something is a bit flaky over there.
kladner is offline   Reply With Quote
Old 2018-12-11, 09:17   #151
Blackadder
 
Blackadder's Avatar
 
"Angelino Desmet"
Mar 2018
Belgium

2·33 Posts
Default

Quote:
Originally Posted by garo View Post
Q. How do I get work for CUDALucas?
A. You will need to get manually get work from PrimeNet like mfaktc
You will need to get work manually get work from PrimeNet like mfaktc

Last fiddled with by Blackadder on 2018-12-11 at 09:19
Blackadder is offline   Reply With Quote
Old 2018-12-11, 10:42   #152
Blackadder
 
Blackadder's Avatar
 
"Angelino Desmet"
Mar 2018
Belgium

2×33 Posts
Default

Also, does this still work on Linux? I'm using Linux Mint 19 Xfce, but can't run the file: bash: ./CUDALucas-6.5: No such file or directory
Blackadder is offline   Reply With Quote
Old 2018-12-11, 16:45   #153
chris2be8
 
chris2be8's Avatar
 
Sep 2009

246410 Posts
Default

1: Check CUDALucas-6.5 is marked executable.
2: Run file CUDALucas-6.5.
3: If it said its some sort of script check the first line. You may get that if the #! line points to a file that doesn't exist.
4: If file said it's an executable the run ldd CUDALucas-6.5 and check if it's looking for a run time library you don't have installed.

Chris
chris2be8 is offline   Reply With Quote
Old 2018-12-11, 19:16   #154
Blackadder
 
Blackadder's Avatar
 
"Angelino Desmet"
Mar 2018
Belgium

1101102 Posts
Default

Quote:
Originally Posted by chris2be8 View Post
1: Check CUDALucas-6.5 is marked executable.
2: Run file CUDALucas-6.5.
3: If it said its some sort of script check the first line. You may get that if the #! line points to a file that doesn't exist.
4: If file said it's an executable the run ldd CUDALucas-6.5 and check if it's looking for a run time library you don't have installed.

Chris
Aha:

linux-vdso.so.1 (0x00007ffdd19fe000)
libcufft.so.6.5 => not found
libcudart.so.6.5 => not found
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007feb04e09000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007feb04a18000)
/lib/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x00007feb051a7000)

Thank you! I remember those two filenames: https://sourceforge.net/projects/cudalucas/files/

Quote:
"Note that you need library files to run CUDALucas; these are "cudart.dll"
and "cufft.dll" for Windows, and "cudart.so" and "cufft.so" for Linux. In
Windows, it's sufficient to put the .dll files into the same directory as
the executable; in Linux, you have to set the LD_LIBRARY_PATH environment
varibale to include the directory where the .so's are located."
I have no idea how to follow those instructions though. Running mprime on Linux is as far as my Linux skills go. I have already downloaded and installed the CUDA toolkit using the proper NVIDIA instructions. Now I'm stuck, or too lazy to skim esoteric forums, to figure out how to configure the LD_LIBRARY_PATH environment.

Last fiddled with by Blackadder on 2018-12-11 at 19:18
Blackadder is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Anti-poverty drug testing vs "high" tax deduction testing kladner Soap Box 3 2016-10-14 18:43
What am I testing? GARYP166 Information & Answers 9 2009-02-18 22:41
k=243 testing ?? gd_barnes Riesel Prime Search 20 2007-11-08 21:13
Testing grobie Marin's Mersenne-aries 1 2006-05-15 12:26
Speed of P-1 testing vs. Trial Factoring testing eepiccolo Math 6 2006-03-28 20:53

All times are UTC. The time now is 14:14.


Fri Jul 7 14:14:34 UTC 2023 up 323 days, 11:43, 0 users, load averages: 1.52, 1.50, 1.33

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.

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