![]() |
|
|
#1376 |
|
If I May
"Chris Halsall"
Sep 2002
Barbados
973110 Posts |
|
|
|
|
|
|
#1377 |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3×29×83 Posts |
:shrug: It's what msft has been using, and no one's complained so far. (I'm guessing it's been in there a long time, since at least 1.2 in all likelihood.)
|
|
|
|
|
|
#1378 | ||
|
If I May
"Chris Halsall"
Sep 2002
Barbados
37×263 Posts |
Quote:
![]() Quoting the man page for signal(2): Quote:
|
||
|
|
|
|
|
#1379 | |
|
Apr 2012
Berlin Germany
3·17 Posts |
Quote:
i used the compiled versions for windows by flashjh, without the worktodo-file edit: with worktodo.txt it will crash Last fiddled with by Redarm on 2012-06-05 at 16:13 |
|
|
|
|
|
|
#1380 |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
1C3516 Posts |
|
|
|
|
|
|
#1381 |
|
Romulan Interpreter
Jun 2011
Thailand
7×1,373 Posts |
Found my issue. In v2.02 you have:
Code:
enum ASSIGNMENT_ERRORS clear_assignment(char *filename, int exponent)
{
<snip>
#ifdef linux
f_in = fopen(filename, "r");
if (NULL == f_in)
return CANT_OPEN_WORKFILE;
f_out = fopen("__worktodo__.tmp", "w");
if (NULL == f_out)
{
fclose(f_in);
return CANT_OPEN_TEMPFILE;
}
#else
errno_t err;
err = fopen_s(&f_in, filename, "r");
if (err)
return CANT_OPEN_WORKFILE;
err=0; err = fopen_s(&f_out, "__worktodo.tmp", "w");
if (err)
{
fclose(f_in);
return CANT_OPEN_TEMPFILE;
}
#endif
Last fiddled with by LaurV on 2012-06-05 at 17:06 Reason: colored :D |
|
|
|
|
|
#1382 | |||||
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
11100001101012 Posts |
Quote:
![]() By the way throughout this mess I think I've had 3 for 3 with my hacks. By the other way, was I correct about you wanting print_time_from_seconds to always pad the ETA with zeros to a constant length? PS Try hitting the ^C yourself. ![]() ___________________________________________________________________ PPS Quote:
Quote:
15 hrs: "15:42:24" 5 hrs: "05:42:24" 0 hrs 42 mns: "00:42:24" 7 mins "00:07:24" 24 seconds "00:00:24" 4 seconds "00:00:04" I personally think 3:2:2 is a bit excessive, since the vast majority of users do DCs. ___________________________________________________________________ PPPS Quote:
___________________________________________________________________ PPPPS Quote:
Code:
//From apsen
void
print_time_from_seconds (int sec)
{
if (sec > 3600)
{
printf ("%d", sec / 3600);
sec %= 3600;
printf (":%02d", sec / 60);
}
else
printf ("%d", sec / 60);
sec %= 60;
printf (":%02d", sec);
}
Last fiddled with by Dubslow on 2012-06-05 at 18:11 |
|||||
|
|
|
|
|
#1383 | |
|
Romulan Interpreter
Jun 2011
Thailand
100101100010112 Posts |
Quote:
![]() The "err=" and "ms/iter" is what I was thinking of. The ETA looks good as it is in v2.02. If you pad it with zeroes or better spaces up to 3:2:2 digits (in case is shorter) it would be perfect. But this is just nitpicking... Thanks for the PM, my post count is inflated too, but who cares :D, I saw your reply, I wrongly wrote ETA there. I was thinking to ms/iter with 4 decimals, fixed. ETA is already 2:2:2, so if you think 3:2:2 is too much, then there is nothing to do here. For me it looks ok either way. Last fiddled with by LaurV on 2012-06-05 at 17:57 |
|
|
|
|
|
|
#1384 |
|
Romulan Interpreter
Jun 2011
Thailand
7×1,373 Posts |
Remember I am still running v2.02 :P
Most probably it will say "caught. Bla Bla" without "^C". I don't want to interrupt the work right now only for that. edit: could not resist... I was right. Maybe you have done some changes in v2.03, but they didn't reach me yet... Last fiddled with by LaurV on 2012-06-05 at 17:45 |
|
|
|
|
|
#1385 |
|
"Jerry"
Nov 2011
Vancouver, WA
100011000112 Posts |
Attached CUDALucas 2.03 x64 binaries - Tested
- I was able to run with or without .ini file - Worktodo.txt works fine. - Command line still takes precedence - Test=XXXXXXXX in worktodo.txt works fine - Test=N/A,XXXXXXXX,XX,X works fine - Test=AID,XXXXXXXX,XX,X works fine - I tested DoubleCheck with all these also, they work fine @Dubslow - everything compiled straight out, but the makefile.win needed a small change OUT = NAME -> OUT = $(NAME) on line 6 and I still need /Tp for now This is CUDA 4.0 | sm20 & sm_21 (see next posts for CUDA 3.2 & source) Edit: With .ini and worktodo.txt in directory, I can run just CUDALucas.exe and it works fine. BTW - Thanks for all the hard work everyone! Edit2: I just edited my worktodo.txt with M86243 and restarted with CUDALucas.exe: Code:
M( 86243 )P, n = 4608, CUDALucas v2.03 Continuing work from a partial result of M26105XXX fft length = 1572864 iteration = 13559297 Last fiddled with by flashjh on 2012-06-05 at 19:16 |
|
|
|
|
|
#1386 |
|
"Jerry"
Nov 2011
Vancouver, WA
1,123 Posts |
CUDALucas 2.03 x64 CUDA 3.2 | sm_13
|
|
|
|
![]() |
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 |