mersenneforum.org  

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

Reply
 
Thread Tools
Old 2012-06-02, 05:09   #1343
msft
 
msft's Avatar
 
Jul 2009
Tokyo

2·5·61 Posts
Default

Hi ,Dubslow
Nice work.
I think you can increase version.
msft is offline   Reply With Quote
Old 2012-06-02, 05:11   #1344
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 msft View Post
Hi ,Dubslow
Nice work.
Sadly, it doesn't work quite yet.

I think we'll increase the version when we get flash's crashes fixed
Dubslow is offline   Reply With Quote
Old 2012-06-02, 17:31   #1345
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
"name field"
Jun 2011
Thailand

9,859 Posts
Default

Quote:
Originally Posted by Dubslow View Post

LaurV, can you reproduce this?
Yes. Original flash's files, all versions. When no ini file is in the folder (or it has different name, OR there is a # sigh in the front of "WorkFile=worktodo.txt" line) the command "CL -d 0" (where CL is how you renamed the exe file) exits normally, after printing my device capabilities, it says "Can't open workfile" and exits. If i delete the # sign, but change the name into "WorkFile=cucurigu.txt", then the same command exits normally, saying "Can't open workfile cucurigu.txt".

But then, if the line is not commented out, and the name of the file exists on the folder (that is, I have a valid worktodo.txt file there) then it crashes without no error message after displaying my device capabilities, in less then a second.

If worktodo is empty or contains garbage, then it exists normally with "No valid assignment found".

Any other combination that has the exponent given in the command line it works.

Last fiddled with by LaurV on 2012-06-02 at 17:32
LaurV is offline   Reply With Quote
Old 2012-06-02, 18:39   #1346
flashjh
 
flashjh's Avatar
 
"Jerry"
Nov 2011
Vancouver, WA

46316 Posts
Default

Quote:
Originally Posted by LaurV View Post
...But then, if the line is not commented out, and the name of the file exists on the folder (that is, I have a valid worktodo.txt file there) then it crashes without no error message after displaying my device capabilities, in less then a second.

If worktodo is empty or contains garbage, then it exists normally with "No valid assignment found".
Exactly what I'm experiencing. I'll try to figure it out also. It's probably in the changes made going to 'safe' functions.
flashjh is offline   Reply With Quote
Old 2012-06-02, 18:49   #1347
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

237028 Posts
Default

Quote:
Originally Posted by flashjh View Post
Exactly what I'm experiencing. I'll try to figure it out also. It's probably in the changes made going to 'safe' functions.
Have you guys tried running the program under the control of a debugger?

Often saves a lot of time....
chalsall is online now   Reply With Quote
Old 2012-06-02, 19:28   #1348
flashjh
 
flashjh's Avatar
 
"Jerry"
Nov 2011
Vancouver, WA

1,123 Posts
Default

Quote:
Originally Posted by chalsall View Post
Have you guys tried running the program under the control of a debugger?

Often saves a lot of time....
Not yet, that's next after I compile the next revision Dubslow posted.

Last fiddled with by flashjh on 2012-06-02 at 19:29
flashjh is offline   Reply With Quote
Old 2012-06-02, 20:30   #1349
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
Yes. Original flash's files, all versions. When no ini file is in the folder (or it has different name, OR there is a # sigh in the front of "WorkFile=worktodo.txt" line) the command "CL -d 0" (where CL is how you renamed the exe file) exits normally, after printing my device capabilities, it says "Can't open workfile" and exits. If i delete the # sign, but change the name into "WorkFile=cucurigu.txt", then the same command exits normally, saying "Can't open workfile cucurigu.txt".

But then, if the line is not commented out, and the name of the file exists on the folder (that is, I have a valid worktodo.txt file there) then it crashes without no error message after displaying my device capabilities, in less then a second.

If worktodo is empty or contains garbage, then it exists normally with "No valid assignment found".

Any other combination that has the exponent given in the command line it works.
Thanks, that helps to narrow it down.

What about if you put non/valid assignments into cucurigu.txt, or whatever non-default name?

What about if you comment-out the WorkFile option, but then put a workfile name on the command line?

Edit: If you don't specify the workfile anywhere (e.g. comment-out WorkFile and don't say anything on the command line) does it still say "Can't open workfile" even if the file exists?

Edit2: Is it accurate to say that it simply cannot parse a proper worktodo line, regardless of workfile name and/or how said name was passed to the program? If that's the case, what about if you try "Test=//" or something like that? "Test=N/A,86243,//" or "Test=//86243" or "Test=N/A,,//86243"? There's not too much that could cause platform-dependent errors... strstr(), strtoul(), isspace(), fgets(), ...

Quote:
Originally Posted by chalsall View Post
Have you guys tried running the program under the control of a debugger?

Often saves a lot of time....
The problem is the only one who's currently "fluent" in the code is the only one for whom it works If my debug build doesn't help, then maybe we'll see about getting flash a proper debugger. The other problem is that it's Winbloze Does MSVC come with its own debugger?

Last fiddled with by Dubslow on 2012-06-02 at 21:11
Dubslow is offline   Reply With Quote
Old 2012-06-02, 21:28   #1350
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

2·7·727 Posts
Default

Quote:
Originally Posted by Dubslow View Post
The problem is the only one who's currently "fluent" in the code is the only one for whom it works If my debug build doesn't help, then maybe we'll see about getting flash a proper debugger. The other problem is that it's Winbloze Does MSVC come with its own debugger?
Grasshopper...

Jumps before he walks....
chalsall is online now   Reply With Quote
Old 2012-06-02, 21:29   #1351
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 chalsall View Post
Grasshopper...

Jumps before he walks....
I wouldn't be as much fun any other way
Dubslow is offline   Reply With Quote
Old 2012-06-02, 21:35   #1352
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

2×7×727 Posts
Default

Quote:
Originally Posted by Dubslow View Post
I wouldn't be as much fun any other way
Many wouldn't agree.

Do you understand why the code crashes?
chalsall is online now   Reply With Quote
Old 2012-06-02, 21:37   #1353
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 chalsall View Post
Do you understand why the code crashes?
Do you?
Dubslow is offline   Reply With Quote
Reply

Thread Tools


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 18:22.


Sun Jan 16 18:22:33 UTC 2022 up 177 days, 12:51, 0 users, load averages: 0.73, 0.93, 1.01

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

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