mersenneforum.org llrCUDA
 Register FAQ Search Today's Posts Mark Forums Read

 2021-05-02, 15:26 #375 Jean Penné     May 2004 FRANCE 22×149 Posts llrCUDA version 3.8.4 is released! Hi All, This GPU version of the LLR program has the same features as the previous 3.8.3, but I think that the updates made from it deserve to change the version number. Here are some of these updates : - K*2^n+c numbers can now be tested using IBDWT, even if abs(c) != 1 - All 64 bits residues match with those obtained with LLR 3.8.24 - several issues found on llrCUDA 3.8.3b3 are now fixed. Please, let me know if you have any problem to run the binary on Linux and/or to build it on your system. I wish you many successes in prime hunting! Best Regards, Jean
 2021-08-28, 16:51 #376 henryzz Just call me Henry     "David" Sep 2007 Liverpool (GMT/BST) 135528 Posts I have a more recent version of CUDA than you linked in(11.4 rather than 8). As such I tried to recompile. I got the following error: Code: /usr/local/cuda/bin/nvcc -g -O3 -I/usr/local/cuda/include -I. -Wno-deprecated-gpu-targets lprime.cu -c Llr.c(7786): error: more than one instance of overloaded function "abs" matches the argument list: function "abs(int)" /usr/local/cuda/include/crt/math_functions.h(213): here function "std::abs(__int128)" /usr/include/c++/9/bits/std_abs.h(85): here function "std::abs(long double)" /usr/include/c++/9/bits/std_abs.h(79): here function "std::abs(float)" /usr/include/c++/9/bits/std_abs.h(75): here function "std::abs(double)" /usr/include/c++/9/bits/std_abs.h(71): here function "std::abs(long long)" /usr/include/c++/9/bits/std_abs.h(61): here function "std::abs(long)" /usr/include/c++/9/bits/std_abs.h(56): here argument types are: (unsigned long) Llr.c(7786): error: more than one instance of overloaded function "abs" matches the argument list: function "abs(int)" /usr/local/cuda/include/crt/math_functions.h(213): here function "std::abs(__int128)" /usr/include/c++/9/bits/std_abs.h(85): here function "std::abs(long double)" /usr/include/c++/9/bits/std_abs.h(79): here function "std::abs(float)" /usr/include/c++/9/bits/std_abs.h(75): here function "std::abs(double)" /usr/include/c++/9/bits/std_abs.h(71): here function "std::abs(long long)" /usr/include/c++/9/bits/std_abs.h(61): here function "std::abs(long)" /usr/include/c++/9/bits/std_abs.h(56): here argument types are: (unsigned long) Llr.c(7863): error: more than one instance of overloaded function "abs" matches the argument list: function "abs(int)" /usr/local/cuda/include/crt/math_functions.h(213): here function "std::abs(__int128)" /usr/include/c++/9/bits/std_abs.h(85): here function "std::abs(long double)" /usr/include/c++/9/bits/std_abs.h(79): here function "std::abs(float)" /usr/include/c++/9/bits/std_abs.h(75): here function "std::abs(double)" /usr/include/c++/9/bits/std_abs.h(71): here function "std::abs(long long)" /usr/include/c++/9/bits/std_abs.h(61): here function "std::abs(long)" /usr/include/c++/9/bits/std_abs.h(56): here argument types are: (unsigned long) Llr.c(7863): error: more than one instance of overloaded function "abs" matches the argument list: function "abs(int)" /usr/local/cuda/include/crt/math_functions.h(213): here function "std::abs(__int128)" /usr/include/c++/9/bits/std_abs.h(85): here function "std::abs(long double)" /usr/include/c++/9/bits/std_abs.h(79): here function "std::abs(float)" /usr/include/c++/9/bits/std_abs.h(75): here function "std::abs(double)" /usr/include/c++/9/bits/std_abs.h(71): here function "std::abs(long long)" /usr/include/c++/9/bits/std_abs.h(61): here function "std::abs(long)" /usr/include/c++/9/bits/std_abs.h(56): here argument types are: (unsigned long) 4 errors detected in the compilation of "lprime.cu". make: *** [Makefile:11: lprime.o] Error 1
 2022-03-23, 09:05 #377 Jean Penné     May 2004 FRANCE 22·149 Posts llrCUDA Version 3.8.5 is released! Hi All, This GPU version of the LLR program has the same features as the previous 3.8.3, but I think that the updates made from it deserve to change the version number. Here are some of these updates : - In previous Version 3.8.4, one call to free() function was missing in Gerbicz error checking code ; this caused an important memory leak... This issue is now fixed here! - K*2^n+c numbers can now be tested using IBDWT, even if abs(c) != 1 - All 64 bits residues match with those obtained with LLR 3.8.24 - several issues found on llrCUDA 3.8.3b3 are now fixed. Please, let me know if you have any problem to run the binary on Linux and/or to build it on your system. I wish you many successes in prime hunting! Best Regards, Jean
 2022-03-23, 22:49 #378 henryzz Just call me Henry     "David" Sep 2007 Liverpool (GMT/BST) 2×34×37 Posts The error in post #376 still exists. Once I avoided that(not sure if I correctly did) it compiles and runs. I think Q is probably wrongly typed. Taking the absolute value of an unsigned integer doesn't make much sense. The relevant line numbers in llr.c are now 7843 and 7920 in the new version.
2022-03-26, 07:22   #379
Jean Penné

May 2004
FRANCE

22·149 Posts

Quote:
 Originally Posted by henryzz The error in post #376 still exists. Once I avoided that(not sure if I correctly did) it compiles and runs. I think Q is probably wrongly typed. Taking the absolute value of an unsigned integer doesn't make much sense. The relevant line numbers in llr.c are now 7843 and 7920 in the new version.
I think you are right!
So, I updated the source accordingly, suppressing the calls to abs() in the these two lines.
Also, I uploaded the compressed source to-day.
Please, would you tell me if the corrected source compiles and runs now OK in your environment.
Thank you by advance, and Best Regards,

Jean

2022-03-26, 09:41   #380
henryzz
Just call me Henry

"David"
Sep 2007
Liverpool (GMT/BST)

2×34×37 Posts

Quote:
 Originally Posted by Jean Penné I think you are right! So, I updated the source accordingly, suppressing the calls to abs() in the these two lines. Also, I uploaded the compressed source to-day. Please, would you tell me if the corrected source compiles and runs now OK in your environment. Thank you by advance, and Best Regards, Jean

That seems to compile and run. I am not sure I triggered those codepaths though.

2022-03-26, 18:56   #381
Jean Penné

May 2004
FRANCE

22·149 Posts

Quote:
 Originally Posted by henryzz That seems to compile and run. I am not sure I triggered those codepaths though.
Many thanks!
Jean

 2022-05-25, 13:31 #382 Jean Penné     May 2004 FRANCE 22×149 Posts llrCUDA Version 3.8.6 is released! Hi All, This GPU version of the LLR program has the same features as the previous 3.8.3, but I think that the updates made from it deserve to change the version number. Here are some of these updates : - May 2022 : The range of available FFT lengthes has been extended using SSE2 Woltman tables. This allowed this version to test successfully M82589933 in less than 8 days! - The maximum value of bits per input double word that was defaulted to 35.0 is now defaulted to 37.0. moreover, it may be changed by user, using -oMAXBPD=xx.x option. It can be useful to decrease this value if too much round off errors occur... - In previous Version 3.8.4, one call to free() function was missing in Gerbicz error checking code ; this caused an important memory leak... This issue is now fixed here! No much new feature, but some improvements related to reliability and speed. Please, let me know if you have any problem to run the binary on Linux and/or to build it on your system. I wish you many successes in prime hunting! Best Regards, Jean

 Similar Threads Thread Thread Starter Forum Replies Last Post shanecruise Riesel Prime Search 8 2014-09-16 02:09 diep GPU Computing 1 2013-10-02 12:12

All times are UTC. The time now is 01:03.

Sun Sep 25 01:03:58 UTC 2022 up 37 days, 22:32, 0 users, load averages: 1.28, 1.29, 1.26