![]() |
[QUOTE=flashjh;304082]What settings do you use in MSVS?
The debug version is the latest revision.[/QUOTE] I could share MSVS 2010 project file... I think i've managed to crash that one too this morning will check more tonight. |
[QUOTE=apsen;304095]I could share MSVS 2010 project file...
[/QUOTE] That would be perfect, let me know if you can post it for download or PM me for email. |
[QUOTE=Dubslow;303785]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?[/QUOTE] 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> [/CODE] **Note: log files? when? |
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. |
[QUOTE=Dubslow;304297]So CUDALucas fails to delete the log file, but doesn't crash.[/QUOTE]
It will crash when it will be finishing next exponent and the lock file still exist. |
[QUOTE=flashjh;304105]That would be perfect, let me know if you can post it for download or PM me for email.[/QUOTE]
Sorry I've been away for the weekend. I'll try to get to it today. |
1 Attachment(s)
[QUOTE=flashjh;304105]That would be perfect, let me know if you can post it for download or PM me for email.[/QUOTE]
Here it is: |
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. |
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>[/CODE] |
[QUOTE=LaurV;305387]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>[/CODE][/QUOTE] 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.[/code] In the surrounding posts of that discussion I [URL="http://mersenneforum.org/showthread.php?p=295750&highlight=brain#post295750"]linked[/URL], 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) |
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. |
| All times are UTC. The time now is 23:15. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.