mersenneforum.org Divergent Posts from Benchmark Thread
 Register FAQ Search Today's Posts Mark Forums Read

 2022-07-24, 18:47 #1 storm5510 Random Account     Aug 2009 Not U. + S.A. 2·1,163 Posts 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
 2022-07-24, 19:57 #2 frmky     Jul 2003 So Cal 1001101010002 Posts 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.
2022-07-24, 22:22   #3
storm5510
Random Account

Aug 2009
Not U. + S.A.

2·1,163 Posts

Quote:
 Originally Posted by frmky 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!

2022-07-27, 01:43   #4
wombatman
I moo ablest echo power!

May 2013

22×11×41 Posts

Quote:
 Originally Posted by storm5510 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.

2022-07-27, 23:26   #5
storm5510
Random Account

Aug 2009
Not U. + S.A.

2·1,163 Posts

Quote:
 Originally Posted by wombatman 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.

2022-07-28, 01:22   #6
frmky

Jul 2003
So Cal

23×3×103 Posts

Quote:
 Originally Posted by storm5510 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

2022-07-28, 16:56   #7
storm5510
Random Account

Aug 2009
Not U. + S.A.

2·1,163 Posts

Quote:
 Originally Posted by frmky 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.

 2022-07-29, 00:48 #8 storm5510 Random Account     Aug 2009 Not U. + S.A. 44268 Posts 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."
2022-07-29, 02:00   #9
charybdis

Apr 2020

32×5×19 Posts

Quote:
 Originally Posted by storm5510 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.

 2022-07-29, 03:49 #10 frmky     Jul 2003 So Cal 23·3·103 Posts 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.
2022-07-29, 14:41   #11
storm5510
Random Account

Aug 2009
Not U. + S.A.

44268 Posts

Quote:
 Originally Posted by charybdis 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

 Similar Threads Thread Thread Starter Forum Replies Last Post Xyzzy Hardware 877 2022-09-18 19:58 chalsall Forum Feedback 43 2019-03-26 16:10 Oddball Riesel Prime Search 5 2010-08-02 00:11 axn Sierpinski/Riesel Base 5 25 2010-05-28 23:57 masser Forum Feedback 3 2008-06-06 19:34

All times are UTC. The time now is 10:10.

Wed Sep 28 10:10:44 UTC 2022 up 41 days, 7:39, 0 users, load averages: 1.00, 1.16, 1.03