mersenneforum.org  

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

Reply
 
Thread Tools
Old 2023-01-14, 12:36   #1
Jurzal
 
Jurzal's Avatar
 
Jan 2023
Riga, Latvia

22·3·5 Posts
Default First steps in GPU GIMPS

Hi guys,

I was wondering if you could help me bit with simplifying the how-to-gpu calculate prime numbers.
Currently I am running p95 for CPU, have completed 4 assigments with it, I was wondering if I can use my GPU too for it. I checked the gpuowl and mfaktc threads, but they seem overly complicated and contradicting with information said in main website mersenne.org. P95 for CPU is very straight forward, but GPU not so much.

I have 5900X CPU, 3060 Ti GPU and 32 GB of RAM working on Windows 10 system and I would like to contribute a bit for this project on days when electricity prices are cheap in my country (some days close to 0.00 EUR/kWh)
If any gentle soul could guide me through the first steps, I would be very grateful!

Thanks!
Jurzal is offline   Reply With Quote
Old 2023-01-14, 14:14   #2
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

24×3×163 Posts
Default

Quote:
Originally Posted by Jurzal View Post
Hi guys,

I was wondering if you could help me bit with simplifying the how-to-gpu calculate prime numbers.
...

I have 5900X CPU, 3060 Ti GPU and 32 GB of RAM working on Windows 10 system and I would like to contribute a bit for this project on days when electricity prices are cheap in my country
Welcome to the forum and the project.
3060Ti is an NVIDIA GPU that is much more powerful at TF than it is at other type GIMPS computations.
You'll want mfaktc for that GPU. Reference info thread for mfaktc is here: https://www.mersenneforum.org/showthread.php?t=23386 with first post including some getting started info.
Learn how to run mfaktc with manual assignments and result reporting, then perhaps explore the choices of client management software, GPUto72, etc.
Reference info index page is here: https://mersenneforum.org/showthread.php?t=24607
kriesel is online now   Reply With Quote
Old 2023-01-14, 14:23   #3
moebius
 
moebius's Avatar
 
Jul 2009
Germany

2·353 Posts
Default

some useful links:

Trial factoring estimated performance

get manual assignments here

Download mfakct 0.21 thread
You need to install cuda toolkit 6.0 to 9.0

Download mfaktc for other cuda versions

Last fiddled with by moebius on 2023-01-14 at 14:32
moebius is online now   Reply With Quote
Old 2023-01-14, 14:36   #4
Jurzal
 
Jurzal's Avatar
 
Jan 2023
Riga, Latvia

3C16 Posts
Default

Thanks for the links!

Will take a coffee and go through. I was wondering thou, why GPU tasks are so manual and not automated like p95 for CPU is? what holds back the dev to make it same easy-to-use as for CPU?

Thanks!
Jurzal is offline   Reply With Quote
Old 2023-01-14, 15:16   #5
Jurzal
 
Jurzal's Avatar
 
Jan 2023
Riga, Latvia

22×3×5 Posts
Default

Hi, so first obstacle here in instructions.

Where should I change the ID's to assign my account? Instruction is half-completed.
Other thing, running selfhelp test is not possible, because the files in folder does not have a help.txt file or anything related to it. What should I do?

Seems like this GPU p95 is only for very advanced users, not for anybody who is just on enthusiast level.
Thanks!
Attached Thumbnails
Click image for larger version

Name:	Untitled.png
Views:	84
Size:	39.4 KB
ID:	27921  
Jurzal is offline   Reply With Quote
Old 2023-01-14, 15:34   #6
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

24×3×163 Posts
Default

Quote:
Originally Posted by Jurzal View Post
Hi, so first obstacle here in instructions.

Where should I change the ID's to assign my account? Instruction is half-completed.
Other thing, running selfhelp test is not possible, because the files in folder does not have a help.txt file or anything related to it. What should I do?

Seems like this GPU p95 is only for very advanced users, not for anybody who is just on enthusiast level.
Thanks!
In a command prompt box set with default directory in the folder where you installed mfaktc, running mfaktc with the option -h and output redirection >> help.txt CREATES the help file.
(program-name) -h >>(destination-file-name).txt

That's separate from running the selftest.

It's expected that if a user is going to run command-line programs, he will known or learn how to run command-line programs. GPU GIMPS applications are text-mode at the command line, not graphical apps like Windows prime95.

Setting user id, computer name, etc are performed in the mfaktc.ini file. Use a text editor for that.

See also https://www.mersenneforum.org/showpo...19&postcount=8 for basic OS related knowledge needed or desirable.

Last fiddled with by kriesel on 2023-01-14 at 15:40
kriesel is online now   Reply With Quote
Old 2023-01-14, 15:38   #7
Jurzal
 
Jurzal's Avatar
 
Jan 2023
Riga, Latvia

22·3·5 Posts
Default

Thanks, I will try again!
New to this, so baby steps for me. :)
Jurzal is offline   Reply With Quote
Old 2023-01-14, 15:51   #8
retina
Undefined
 
retina's Avatar
 
"The unspeakable one"
Jun 2006
My evil lair

152118 Posts
Default

Be careful with the double greater-than ">>" because that means append, It creates anew if it's not already there, and appends to the existing if it is already there. So if you run the "-h" command more than once you get multiple copies of the help text in the file.

You can change this behaviour by using a single greater-than ">" instead. Then it will always create a new file and overwrite anything that might already be there.

Last fiddled with by retina on 2023-01-14 at 15:52
retina is offline   Reply With Quote
Old 2023-01-14, 17:21   #9
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

11110100100002 Posts
Default

Quote:
Originally Posted by retina View Post
Be careful with the ... single greater-than ">" instead. Then it will always create a new file and overwrite anything that might already be there.
A too-easy way to blow away a large log file from past runs.
kriesel is online now   Reply With Quote
Old 2023-01-18, 08:49   #10
Jurzal
 
Jurzal's Avatar
 
Jan 2023
Riga, Latvia

22×3×5 Posts
Default

Self test passed
Attached Thumbnails
Click image for larger version

Name:	selftest.png
Views:	79
Size:	146.2 KB
ID:	27929  
Jurzal is offline   Reply With Quote
Old 2023-01-18, 08:50   #11
Jurzal
 
Jurzal's Avatar
 
Jan 2023
Riga, Latvia

22×3×5 Posts
Default

CUDA version info
binary compiled for CUDA 11.20
CUDA runtime version 11.20
CUDA driver version 12.0

CUDA device info
name NVIDIA GeForce RTX 3060 Ti
compute capability 8.6
max threads per block 1024
max shared memory per MP 102400 byte
number of multiprocessors 38
clock rate (CUDA cores) 1860MHz
memory clock rate: 7001MHz
memory bus width: 256 bit

Automatic parameters
threads per grid 622592
GPUSievePrimes (adjusted) 82486
GPUsieve minimum exponent 1055144

I used cudart64_110.dll and mfaktc-0.21.win_cuda11.2-2047.zip
Jurzal is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Steps to Build a Mansion tuckerkao Lounge 1 2020-09-04 02:22
"one step backward _two steps forward " devarajkandadai Miscellaneous Math 10 2013-08-20 12:57
Next steps for TPS after Primegrid's record twin discovery axn Twin Prime Search 7 2011-12-31 07:04
HowTo Publish a Scientific Comment in 3 Easy Steps Batalov Lounge 5 2009-08-29 00:03
GIMPS on IRC HiddenWarrior PrimeNet 3 2004-05-04 06:28

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


Fri Jul 7 15:38:28 UTC 2023 up 323 days, 13:07, 0 users, load averages: 1.65, 1.26, 1.13

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.

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