mersenneforum.org  

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

Reply
 
Thread Tools
Old 2021-05-02, 15:26   #375
Jean Penné
 
Jean Penné's Avatar
 
May 2004
FRANCE

22×149 Posts
Default 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
Jean Penné is offline   Reply With Quote
Old 2021-08-28, 16:51   #376
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Liverpool (GMT/BST)

135528 Posts
Default

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
henryzz is offline   Reply With Quote
Old 2022-03-23, 09:05   #377
Jean Penné
 
Jean Penné's Avatar
 
May 2004
FRANCE

22·149 Posts
Default 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
Jean Penné is offline   Reply With Quote
Old 2022-03-23, 22:49   #378
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Liverpool (GMT/BST)

2×34×37 Posts
Default

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.
henryzz is offline   Reply With Quote
Old 2022-03-26, 07:22   #379
Jean Penné
 
Jean Penné's Avatar
 
May 2004
FRANCE

22·149 Posts
Default

Quote:
Originally Posted by henryzz View Post
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
Jean Penné is offline   Reply With Quote
Old 2022-03-26, 09:41   #380
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Liverpool (GMT/BST)

2×34×37 Posts
Default

Quote:
Originally Posted by Jean Penné View Post
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.
henryzz is offline   Reply With Quote
Old 2022-03-26, 18:56   #381
Jean Penné
 
Jean Penné's Avatar
 
May 2004
FRANCE

22·149 Posts
Default

Quote:
Originally Posted by henryzz View Post
That seems to compile and run. I am not sure I triggered those codepaths though.
Many thanks!
Jean
Jean Penné is offline   Reply With Quote
Old 2022-05-25, 13:31   #382
Jean Penné
 
Jean Penné's Avatar
 
May 2004
FRANCE

22×149 Posts
Default 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
Jean Penné is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
LLRcuda shanecruise Riesel Prime Search 8 2014-09-16 02:09
LLRCUDA - getting it to work 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

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.

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