![]() |
Thanks a lot. I will give it a try, then I start the next exponent tomorrow. Hopefully there will be no blackout. ;)
|
1 Attachment(s)
This simple patch lets the program try to resume from a checkpoint file if it exists, instead of having to specify the checkpoint file manually. If the primary c# checkpoint file does not exist, it will try the backup t# file, before finally starting the exponent from scratch.
You can still specify the checkpoint file manually, if needed. (Patch against cudalucas-1.1) [CODE]orion@anubis:~/projects/gimps/cudalucas/cudalucas.1.1-new$ rm c216091 t216091 orion@anubis:~/projects/gimps/cudalucas/cudalucas.1.1-new$ ./CUDALucas 216091 CUDALucas: Could not find a checkpoint file to resume from ^C orion@anubis:~/projects/gimps/cudalucas/cudalucas.1.1-new$ ./CUDALucas 216091 CUDALucas: Resuming from checkpoint file c216091 caso 2 ^C orion@anubis:~/projects/gimps/cudalucas/cudalucas.1.1-new$ ./CUDALucas t216091 CUDALucas: Resuming from checkpoint file t216091 caso 2 ^C[/CODE] |
Nice patch,Thank you!
|
What does n mean in this string ?
[CODE]Iteration $iter$ M( $exp$ )C, $checkpoint$, n = 8388608, CUDALucas v1.0[/CODE]I remember it has something to do with error rate. |
FFT length..?
[QUOTE=Karl M Johnson;253026]What does n mean in this string ?
[CODE]Iteration $iter$ M( $exp$ )C, $checkpoint$, n = 8388608, CUDALucas v1.0[/CODE]I remember it has something to do with error rate.[/QUOTE] I thought it was FFT length..? Divide it by 1024... |
Right.
I remember, when I started working on a certain exponent, it used 4 million something n, then reported some error, and made n higher to this value. |
1 Attachment(s)
Add kjaget & aaronhaviland work.
Thank you, kjaget & aaronhaviland |
Compatible hardware?
I picked up a system a while back, HP xw8400, has dual x5355 Quad CPU's, and a Quadro FX 3450 NVIDIA card. Can this system run CUDALucas?
Thanks, Doug |
[url=http://en.wikipedia.org/wiki/Nvidia_Quadro#PCI_Express]Wikipedia says[/url], "Chip also used in GeForce 6800". Which means you can't even run CUDA, let alone CUDALucas.
|
[QUOTE=Ken_g6;253195][url=http://en.wikipedia.org/wiki/Nvidia_Quadro#PCI_Express]Wikipedia says[/url], "Chip also used in GeForce 6800". Which means you can't even run CUDA, let alone CUDALucas.[/QUOTE]
Thanks for the link. Guess this card is worthless for GIMPS :( |
[QUOTE=kjaget;250727]I've done some minor porting to get this to build and run under Windows using MSVC 2008. There was nothing major that needed to change, just some fixes to get the code to use prototypes when building, use binary mode when opening checkpoint files, and a few #defines in the makefile.
... I've included both the source code and a 64-bit windows binary. I had no luck getting a 32-bit binary working, but I didn't try that hard since my system is 64-bit. My hope is that I didn't break anything for Linux builds, but without a system to test on I'm not sure how I was. In any case, there weren't that many changes so I don't think I did too much damage :) [ATTACH]6166[/ATTACH] I don't have any specific benchmarks, but a 26,xxx,xxx doublecheck takes about 2.5 days on a GTX 275. I think that's in line with Linux performance, more or less. If you can give me instructions on how to get per-iteration timing I'll try it out. Enjoy, Kevin [/QUOTE] I modified the makefile to get this to compile on x32 the test is running, but I think it is giving incorrect results. Cuda info: [QUOTE] CUDA device info name GeForce GTX 260 compute capability 1.3 maximum threads per block 512 number of multiprocessors 27 (216 shader cores) clock rate 1242MHz CUDA version info binary compiled for CUDA 3.10 CUDA driver version 3.20 CUDA runtime version 3.10 [/QUOTE] This doesn't match the check files posted. [QUOTE]CUDALucas.1.2>cudalucas 18760031 -t Iteration 10000 M( 18760031 )C, 0xfffb000040009ffe, n = 1048576, CUDALucas v1.2 [/QUOTE] And with smaller exponents, I get numbers close to 0xfffffffffffffffd. Eg, [QUOTE]CUDALucas.1.2>cudalucas 216149 -t Iteration 10000 M( 216149 )C, 0xfffffffffffffffd, n = 524288, CUDALucas v1.2[/QUOTE] Just to verify 1) the check files posted contain the residue after the first 100,000 iterations and 2) the final residue should math those on the Gimps Exponent status lookup page. [QUOTE] [url]http://www.mersenne.org/report_exponent/?exp_lo=216149&exp_hi=216149&B1=Get+status[/url] Verified LL36BF by "Unknown" Verified LL6BF by "John Sweeney" Verified LL6BF by "Marc-Etienne Vargenau" Verified LLD0AEFBD176BE36BF by "John Sweeney" Verified LLD0AEFBD176BE36BF by "Mike Gach" Verified LLD0AEFBD176BE36BF by "Ken Kriesel" Verified LLD0AEFBD176BE36BF by "Eivind Triel" [/QUOTE] Any hints were to start looking in the code? I see the original versions ran on 32 bit linux, so has this been overhauled/optimized along the way to longer work on 32 bit flavors? |
| All times are UTC. The time now is 22:59. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.