mersenneforum.org  

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

Reply
 
Thread Tools
Old 2020-06-04, 14:59   #2806
ZFR
 
ZFR's Avatar
 
Feb 2008
Meath, Ireland

101110012 Posts
Default

Where can I get CUDALucas for Linux? The sourceforge link only has Windows execs.

https://sourceforge.net/projects/cudalucas/
ZFR is offline   Reply With Quote
Old 2020-06-04, 15:12   #2807
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

3·23·59 Posts
Default

Quote:
Originally Posted by ZFR View Post
Where can I get CUDALucas for Linux?
https://download.mersenne.ca/CUDALucas

Last fiddled with by James Heinrich on 2020-06-04 at 15:13
James Heinrich is offline   Reply With Quote
Old 2020-06-04, 15:17   #2808
ZFR
 
ZFR's Avatar
 
Feb 2008
Meath, Ireland

5×37 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
Thank you.
And the libs? I got only got 6.5 of libcudart.so and libcufft.so. Can I use them?
ZFR is offline   Reply With Quote
Old 2020-06-04, 15:19   #2809
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

3·23·59 Posts
Default

I have no idea. If someone wants to point me to the libs I can host them too.
James Heinrich is offline   Reply With Quote
Old 2020-06-04, 15:30   #2810
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

23×919 Posts
Default

Quote:
Originally Posted by ZFR View Post
Thank you.
And the libs? I got only got 6.5 of libcudart.so and libcufft.so. Can I use them?
CUDALucas and libs need to match on CUDA version. Driver version needs to support that CUDA version. And gpu compute capability needs to support that CUDA version. A sufficiently old and sufficiently new combination of gpus may be incompatible. (Driver new enough to support the new gpu may not support the old gpu.) So "can I use them" depends on your gpu model. See https://www.mersenneforum.org/showpost.php?p=490615&postcount=4

Last fiddled with by kriesel on 2020-06-04 at 15:36
kriesel is offline   Reply With Quote
Old 2020-06-04, 18:34   #2811
ZFR
 
ZFR's Avatar
 
Feb 2008
Meath, Ireland

5·37 Posts
Default

My GPU uses CUDA 10.2

Is there a link where I can get the CUDA 10.2 libs? Aside from having to install the whole cuda development toolkit?

Last fiddled with by ZFR on 2020-06-04 at 18:42
ZFR is offline   Reply With Quote
Old 2020-06-04, 19:17   #2812
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

23·919 Posts
Default

Quote:
Originally Posted by ZFR View Post
My GPU uses CUDA 10.2

Is there a link where I can get the CUDA 10.2 libs? Aside from having to install the whole cuda development toolkit?
Depending on what linux you are running, you could try something like what's done to get google colab ready for cudalucas:
Code:
apt-get install -y cuda-cudart-10-2
apt-get install -y cuda-cufft-dev-10-2
(and there may also be work needed on path)

https://www.mersenneforum.org/showpo...29&postcount=6

Last fiddled with by kriesel on 2020-06-04 at 19:21
kriesel is offline   Reply With Quote
Old 2020-06-04, 19:25   #2813
ZFR
 
ZFR's Avatar
 
Feb 2008
Meath, Ireland

5×37 Posts
Default

Quote:
Originally Posted by kriesel View Post
Depending on what linux you are running, you could try something like what's done to get google colab ready for cudalucas:
Code:
apt-get install -y cuda-cudart-10-2
apt-get install -y cuda-cufft-dev-10-2
(and there may also be work needed on path)

https://www.mersenneforum.org/showpo...29&postcount=6

Thank you, I'm using Linux Mint, so your instructions worked.

Thanks again both for your help.
ZFR is offline   Reply With Quote
Old 2020-06-04, 20:51   #2814
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

23·919 Posts
Default

Quote:
Originally Posted by ZFR View Post
Thank you, I'm using Linux Mint, so your instructions worked.

Thanks again both for your help.
You're welcome.
I had forgotten about the linux setup script linked from https://www.mersenneforum.org/showpo...12&postcount=1
See also https://www.mersenneforum.org/showpo...20&postcount=5
Tune cudalucas for your gpu and test for reliability.
-memtest
fft benchmarking
threads benchmarking
built in self test (which only covers up to 8M fft length)
I recommend at least retest memory annually.
Be aware that CUDALucas does not include a Jacobi check, so some errors may go silently undetected.
Gpuowl now includes LL DC with Jacobi check (but not shift) and may be slightly faster on a modern NVIDIA gpu.

Have fun!

Last fiddled with by kriesel on 2020-06-04 at 20:54
kriesel is offline   Reply With Quote
Old 2020-06-13, 19:34   #2815
ZFR
 
ZFR's Avatar
 
Feb 2008
Meath, Ireland

5·37 Posts
Default

Quote:
Originally Posted by kriesel View Post
fft benchmarking
threads benchmarking
After I run the benchmarks, do I just leave the files in the program's folder?
ZFR is offline   Reply With Quote
Old 2020-06-13, 21:30   #2816
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

162708 Posts
Default

Quote:
Originally Posted by ZFR View Post
After I run the benchmarks, do I just leave the files in the program's folder?
Yes. The program uses those files to decide what fft length and threads choices to try first.
Have a look inside them if you haven't yet.
During my early testing, I hit some cases where anomalies showed up in the files, particularly for older CUDA versions, 4.x I think. If the benchmark runs anomalously fast at some lengths or thread combinations, the calculations using those lengths will probably be wrong.
See https://mersenneforum.org/showpost.p...postcount=2591
and https://mersenneforum.org/showpost.p...postcount=2608
kriesel is offline   Reply With Quote
Reply

Thread Tools


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

All times are UTC. The time now is 04:35.


Fri Jan 27 04:35:57 UTC 2023 up 162 days, 2:04, 0 users, load averages: 0.86, 1.07, 1.07

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, 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.

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