mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Msieve

Reply
 
Thread Tools
Old 2022-07-24, 18:47   #1
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009
Not U. + S.A.

2×3×19×23 Posts
Default Divergent Posts from Benchmark Thread

I have an RTX 2080. What is a proper number of threads to specify?

My GPU utilization never goes beyond 2%.


Ed's Note: This and the following posts have been copied/moved from the Msieve benchmark thread since they more directly involve getting a GPU running, rather than adjusting and providing benchmark values.

Last fiddled with by EdH on 2022-08-11 at 12:43
storm5510 is offline   Reply With Quote
Old 2022-07-24, 19:57   #2
frmky
 
frmky's Avatar
 
Jul 2003
So Cal

50758 Posts
Default

No threads. After compiling the msieve-lacuda-nfsathome branch with the option CUDA=75, run with
-nc2 -g 0 -v
where the number after -g specifies which gpu to use. Without the -g option, it uses only the cpu.
frmky is offline   Reply With Quote
Old 2022-07-24, 22:22   #3
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009
Not U. + S.A.

A3E16 Posts
Default

Quote:
Originally Posted by frmky View Post
No threads. After compiling the msieve-lacuda-nfsathome branch with the option CUDA=75, run with
-nc2 -g 0 -v
where the number after -g specifies which gpu to use. Without the -g option, it uses only the cpu.
OK. Well, what i have is not Linux. It's Windows 10. Thanks for the reply!
storm5510 is offline   Reply With Quote
Old 2022-07-27, 01:43   #4
wombatman
I moo ablest echo power!
 
wombatman's Avatar
 
May 2013

185510 Posts
Default

Quote:
Originally Posted by storm5510 View Post
OK. Well, what i have is not Linux. It's Windows 10. Thanks for the reply!
If you're willing to do a little work, Windows Subsystem for Linux 2 works with CUDA now, so you can build and run it there.
wombatman is offline   Reply With Quote
Old 2022-07-27, 23:26   #5
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009
Not U. + S.A.

2·3·19·23 Posts
Default

Quote:
Originally Posted by wombatman View Post
If you're willing to do a little work, Windows Subsystem for Linux 2 works with CUDA now, so you can build and run it there.
I found one Windows version which will run, to a point. It says it cannot find "sort_engine.dll" in a folder called "cub." It is right there in the proper place where the program looks for it.

I have the subsystem installed. It is Ubuntu 20.04 LTS. It's been a while since I've used it.
storm5510 is offline   Reply With Quote
Old 2022-07-28, 01:22   #6
frmky
 
frmky's Avatar
 
Jul 2003
So Cal

2,621 Posts
Default

Quote:
Originally Posted by storm5510 View Post
I found one Windows version which will run, to a point. It says it cannot find "sort_engine.dll" in a folder called "cub." It is right there in the proper place where the program looks for it.
That's an old version that doesn't contain my work on the GPU LA. I'm not aware of anyone that's compiled a Windows version with my changes.

There's a guide to using CUDA with WSL2 at https://docs.nvidia.com/cuda/wsl-user-guide/index.html.

Last fiddled with by frmky on 2022-07-28 at 01:27
frmky is offline   Reply With Quote
Old 2022-07-28, 16:56   #7
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009
Not U. + S.A.

2×3×19×23 Posts
Default

Quote:
Originally Posted by frmky View Post
That's an old version that doesn't contain my work on the GPU LA. I'm not aware of anyone that's compiled a Windows version with my changes.

There's a guide to using CUDA with WSL2 at https://docs.nvidia.com/cuda/wsl-user-guide/index.html.
What I have on this machine is WSL1. A better option, for me, is to install Ubuntu on an idle machine. I have v21.10 burned on a DVD-R. This would, at least, give me the GUI. I know enough console commands to get by. The system I am considering has a GTX 1080 in it. I have notes I made relative to that particular system, including CUDA driver installation. I'm not familiar with "bash" files so I would have to do a bit of reading.

Point me to a version I can try and I will give it a go.
storm5510 is offline   Reply With Quote
Old 2022-07-29, 00:48   #8
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009
Not U. + S.A.

2×3×19×23 Posts
Default

Disregard the above. I found several versions on James Heinrich's mirror page which will run. The one I am running now is "1018-vbits256-sandybridge."
storm5510 is offline   Reply With Quote
Old 2022-07-29, 02:00   #9
charybdis
 
charybdis's Avatar
 
Apr 2020

22×3×79 Posts
Default

Quote:
Originally Posted by storm5510 View Post
Disregard the above. I found several versions on James Heinrich's mirror page which will run. The one I am running now is "1018-vbits256-sandybridge."
None of the versions on mersenne.ca have the GPU linear algebra code.
charybdis is offline   Reply With Quote
Old 2022-07-29, 03:49   #10
frmky
 
frmky's Avatar
 
Jul 2003
So Cal

2,621 Posts
Default

Once you have installed the compiler and CUDA toolkit...
https://docs.nvidia.com/cuda/cuda-in...u-installation

Code:
sudo apt install git libgmp-dev
git clone https://github.com/gchilders/msieve_nfsathome.git -b msieve-lacuda-nfsathome
cd msieve_nfsathome
make all CUDA=75 VBITS=256
If you don't want to run from that directory, then copy msieve, *.ptx, and cub/*.so to the directory you are running in.
frmky is offline   Reply With Quote
Old 2022-07-29, 14:41   #11
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009
Not U. + S.A.

2×3×19×23 Posts
Default

Quote:
Originally Posted by charybdis View Post
None of the versions on mersenne.ca have the GPU linear algebra code.
Then where can they be found?

Last fiddled with by storm5510 on 2022-07-29 at 15:23
storm5510 is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Perpetual benchmark thread... Xyzzy Hardware 888 2023-03-18 09:25
Non-ECM posts pulled from ECM question thread. chalsall Forum Feedback 43 2019-03-26 16:10
LLR benchmark thread Oddball Riesel Prime Search 5 2010-08-02 00:11
sr5sieve Benchmark thread axn Sierpinski/Riesel Base 5 25 2010-05-28 23:57
You have x posts in this thread, last date masser Forum Feedback 3 2008-06-06 19:34

All times are UTC. The time now is 11:38.


Tue Mar 28 11:38:21 UTC 2023 up 222 days, 9:06, 0 users, load averages: 1.20, 1.02, 0.91

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.

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