mersenneforum.org  

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

Reply
 
Thread Tools
Old 2012-07-05, 19:16   #1486
apsen
 
Jun 2011

131 Posts
Default

Quote:
Originally Posted by flashjh View Post
What settings do you use in MSVS?

The debug version is the latest revision.
I could share MSVS 2010 project file...


I think i've managed to crash that one too this morning will check more tonight.
apsen is offline   Reply With Quote
Old 2012-07-05, 21:56   #1487
flashjh
 
flashjh's Avatar
 
"Jerry"
Nov 2011
Vancouver, WA

1,123 Posts
Default

Quote:
Originally Posted by apsen View Post
I could share MSVS 2010 project file...
That would be perfect, let me know if you can post it for download or PM me for email.
flashjh is offline   Reply With Quote
Old 2012-07-08, 15:38   #1488
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
"name field"
Jun 2011
Thailand

41×251 Posts
Default

Quote:
Originally Posted by Dubslow View Post
You don't get any error messages either, like "Failed to close lockfile" in the code?

And it doesn't crash, but just fails to delete the lock file?
As I said, this is what I usually get (see below, I had to stop it some time before finish and start it from a batch to be able to capture the output, otherwise if it crash the screen is gone**), and the file will be manually deleted as I check the progress every few hours, so when the next expo finishes there was no file anymore. He still creates a new one and forgets to delete it, which will be deleted by hand next time when I check, and so on. But there is no crash of CL. I won't risk to let the file there till he finish next expo. What for?

Code:
\CL1>cl204b4020x64

mkdir: cannot create directory `backup1': File exists
Continuing work from a partial result of M26497649 fft length = 1440K iteration = 25924502
Iteration 26000000 M( 26497649 )C, 0x147ebfbc35ee7028, n = 1440K, CUDALucas v2.04 Beta err = 0.1602 (3:58 real, 2.3764 ms/iter, ETA 15:50)
Iteration 26100000 M( 26497649 )C, 0x29fb299b35e9cbe6, n = 1440K, CUDALucas v2.04 Beta err = 0.1514 (5:24 real, 3.2440 ms/iter, ETA 16:13)
Iteration 26200000 M( 26497649 )C, 0x24f8055de4892515, n = 1440K, CUDALucas v2.04 Beta err = 0.1484 (5:15 real, 3.1472 ms/iter, ETA 10:29)
Iteration 26300000 M( 26497649 )C, 0xefd050dabce73911, n = 1440K, CUDALucas v2.04 Beta err = 0.1465 (5:15 real, 3.1483 ms/iter, ETA 5:14)
Iteration 26400000 M( 26497649 )C, 0x561f30c88f709ac5, n = 1440K, CUDALucas v2.04 Beta err = 0.1465 (5:15 real, 3.1455 ms/iter, ETA 0:00)
M( 26497649 )C, 0x3640c1d7bbccd206, n = 1440K, CUDALucas v2.04 Beta, estimated total time = 20:09:02Failed to delete lockfile: Permission denied


Starting M26477161 fft length = 1440K
Running careful round off test for 1000 iterations. If average error >= 0.25, the test will restart with a larger FFT length.
Iteration  100, average error = 0.08310, max error = 0.11816
Iteration  200, average error = 0.09513, max error = 0.11523
Iteration  300, average error = 0.10003, max error = 0.12500
Iteration  400, average error = 0.10162, max error = 0.11523
Iteration  500, average error = 0.10283, max error = 0.12500
Iteration  600, average error = 0.10387, max error = 0.11719
Iteration  700, average error = 0.10443, max error = 0.11877
Iteration  800, average error = 0.10473, max error = 0.11719
Iteration  900, average error = 0.10501, max error = 0.11963
Iteration 1000, average error = 0.10556 < 0.25 (max error = 0.11719), continuing test.
Iteration 100000 M( 26477161 )C, 0x29c5c3235f93ea86, n = 1440K, CUDALucas v2.04 Beta err = 0.1406 (5:15 real, 3.1537 ms/iter, ETA 23:02:23)
Iteration 200000 M( 26477161 )C, 0x6ba92ed1ae662307, n = 1440K, CUDALucas v2.04 Beta err = 0.1416 (5:15 real, 3.1455 ms/iter, ETA 22:53:31)
Iteration 300000 M( 26477161 )C, 0x37767e5f4c3e32a6, n = 1440K, CUDALucas v2.04 Beta err = 0.1641 (5:15 real, 3.1472 ms/iter, ETA 22:49:02)
Iteration 400000 M( 26477161 )C, 0x32b9c11d199d4789, n = 1440K, CUDALucas v2.04 Beta err = 0.1465 (5:14 real, 3.1461 ms/iter, ETA 22:43:17)
Iteration 500000 M( 26477161 )C, 0x37b6870dea4c136c, n = 1440K, CUDALucas v2.04 Beta err = 0.1406 (5:15 real, 3.1434 ms/iter, ETA 22:36:53)
Iteration 600000 M( 26477161 )C, 0x3e02bb220e7bcfea, n = 1440K, CUDALucas v2.04 Beta err = 0.1563 (5:15 real, 3.1491 ms/iter, ETA 22:34:06)
Iteration 700000 M( 26477161 )C, 0x4e92011453afc83b, n = 1440K, CUDALucas v2.04 Beta err = 0.1436 (5:14 real, 3.1463 ms/iter, ETA 22:27:40)
        SIGINT caught, writing checkpoint. Estimated time spent so far: 40:31

\CL1>
**Note: log files? when?
LaurV is offline   Reply With Quote
Old 2012-07-08, 19:35   #1489
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·29·83 Posts
Default

So CUDALucas fails to delete the log file, but doesn't crash.

As for logging, I'll add that in 2.05, but in the meantime you can redirect the output to a file.
Dubslow is offline   Reply With Quote
Old 2012-07-09, 17:32   #1490
apsen
 
Jun 2011

100000112 Posts
Default

Quote:
Originally Posted by Dubslow View Post
So CUDALucas fails to delete the log file, but doesn't crash.
It will crash when it will be finishing next exponent and the lock file still exist.
apsen is offline   Reply With Quote
Old 2012-07-09, 17:35   #1491
apsen
 
Jun 2011

131 Posts
Default

Quote:
Originally Posted by flashjh View Post
That would be perfect, let me know if you can post it for download or PM me for email.
Sorry I've been away for the weekend. I'll try to get to it today.
apsen is offline   Reply With Quote
Old 2012-07-10, 14:12   #1492
apsen
 
Jun 2011

131 Posts
Default

Quote:
Originally Posted by flashjh View Post
That would be perfect, let me know if you can post it for download or PM me for email.
Here it is:
Attached Files
File Type: zip CUDALUcas.zip (1.4 KB, 273 views)
apsen is offline   Reply With Quote
Old 2012-07-10, 14:22   #1493
apsen
 
Jun 2011

100000112 Posts
Default

In open_s if the opening of the file is not successful it is being closed and the program crashed when it tries to close file handle -1.

I still haven't found why the lock file is not deleted as when I compile it myself I do not see that behavior.

Last fiddled with by apsen on 2012-07-10 at 14:23
apsen is offline   Reply With Quote
Old 2012-07-21, 15:55   #1494
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
"name field"
Jun 2011
Thailand

283316 Posts
Default

That is related to the discussion started in the "332M" thread, about the maximum exponent and FFT size that CL is able to handle.

Code:
e:\-99-Prime\CudaLucas\CL0>cl204b4020x64.exe

mkdir: cannot create directory `backup0': File exists
over specifications Grid = 65536
try increasing threads (256) or decreasing FFT length (16384K)

e:\-99-Prime\CudaLucas\CL0>cl204b4020x64.exe -threads 512

mkdir: cannot create directory `backup0': File exists
Starting M332194529 fft length = 16384K
Running careful round off test for 1000 iterations. If average error >= 0.25, the test will restart with a larger FFT length.
CUDALucas.cu(159) : cufftSafeCall() CUFFT error 6: CUFFT_EXEC_FAILED

e:\-99-Prime\CudaLucas\CL0>cl204b4020x64.exe -threads 1024

mkdir: cannot create directory `backup0': File exists
Starting M332194529 fft length = 16384K
Running careful round off test for 1000 iterations. If average error >= 0.25, the test will restart with a larger FFT length.
CUDALucas.cu(159) : cufftSafeCall() CUFFT error 6: CUFFT_EXEC_FAILED

e:\-99-Prime\CudaLucas\CL0>

Last fiddled with by LaurV on 2012-07-21 at 15:56
LaurV is offline   Reply With Quote
Old 2012-07-21, 17:11   #1495
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·29·83 Posts
Default

Quote:
Originally Posted by LaurV View Post
That is related to the discussion started in the "332M" thread, about the maximum exponent and FFT size that CL is able to handle.

Code:
e:\-99-Prime\CudaLucas\CL0>cl204b4020x64.exe

mkdir: cannot create directory `backup0': File exists
over specifications Grid = 65536
try increasing threads (256) or decreasing FFT length (16384K)

e:\-99-Prime\CudaLucas\CL0>cl204b4020x64.exe -threads 512

mkdir: cannot create directory `backup0': File exists
Starting M332194529 fft length = 16384K
Running careful round off test for 1000 iterations. If average error >= 0.25, the test will restart with a larger FFT length.
CUDALucas.cu(159) : cufftSafeCall() CUFFT error 6: CUFFT_EXEC_FAILED

e:\-99-Prime\CudaLucas\CL0>cl204b4020x64.exe -threads 1024

mkdir: cannot create directory `backup0': File exists
Starting M332194529 fft length = 16384K
Running careful round off test for 1000 iterations. If average error >= 0.25, the test will restart with a larger FFT length.
CUDALucas.cu(159) : cufftSafeCall() CUFFT error 6: CUFFT_EXEC_FAILED

e:\-99-Prime\CudaLucas\CL0>
I can't help you then, I don't actually know much of anything about the CUFFT library. Was this on a GTX 580? Do you have a 2.1 CC card?

When I tried it, I got an OOM error:
Code:
bill@Gravemind:~/CUDALucas∰∂ CUDALucas -f 16384K -threads 512 332194529

Starting M332194529 fft length = 16384K
CUDALucas.cu(259) : cudaSafeCall() Runtime API error 2: out of memory.
In the surrounding posts of that discussion I linked, there's some discussion of how much mem is needed; my card is only a 768MB card, so that's my problem. What's yours? (Just add a -info to your options)

Last fiddled with by Dubslow on 2012-07-21 at 17:12 Reason: ()
Dubslow is offline   Reply With Quote
Old 2012-07-23, 07:49   #1496
lycorn
 
lycorn's Avatar
 
"GIMFS"
Sep 2002
Oeiras, Portugal

2·7·113 Posts
Default

Hi all,

I haven´t been following this thread for a while now, so I got a bit confused about the latest available windows version of the CUDALucas program. Could someone please point me to the right .exe (to be run on a 560Ti)?
Thanks in advance.
lycorn is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Don't DC/LL them with CudaLucas LaurV Data 131 2017-05-02 18:41
CUDALucas / cuFFT Performance on CUDA 7 / 7.5 / 8 Brain GPU Computing 13 2016-02-19 15:53
CUDALucas: which binary to use? Karl M Johnson GPU Computing 15 2015-10-13 04:44
settings for cudaLucas fairsky GPU Computing 11 2013-11-03 02:08
Trying to run CUDALucas on Windows 8 CP Rodrigo GPU Computing 12 2012-03-07 23:20

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


Fri Jul 7 14:47:39 UTC 2023 up 323 days, 12:16, 0 users, load averages: 1.82, 1.48, 1.23

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.

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