mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > YAFU

Reply
 
Thread Tools
Old 2022-09-23, 16:02   #34
kotenok2000
 
Mar 2018

2×52 Posts
Default

At post 440 bsquared says that yafu supports gpu ecm in 2.10
https://www.mersenneforum.org/showpo...&postcount=440
kotenok2000 is offline   Reply With Quote
Old 2022-09-23, 16:15   #35
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

5·787 Posts
Default

Quote:
Originally Posted by bsquared View Post
Almost forgot... external GPU-ECM binaries are now supported, optionally with Seth Trosi's CGBN enhancements. new options: "gpucurves", "cgbn", "use_gpuecm", "use_gpudev". Note that if you are using GPU-ECM with "factor()", then you'll probably want to make use of the "ext_ecm" option. This option sets when to switch over from internal non-gpu ECM to the external GPU-ECM binary. Otherwise, for example, factor() will try to use potentially thousands of GPU curves at B1=50000 when it only needs a few hundred. If you have AVX-ECM, then that will still be used as the internal ECM version before switching to external GPU-ECM.
I saw that mentioned in the changelog. Perhaps someone who knows more about it can point us in the right direction for finding out how to use said "GPU ECM", including where to find Windows binaries if they exist. Does it support both NVIDIA and AMD?
James Heinrich is offline   Reply With Quote
Old 2022-09-23, 16:18   #36
kotenok2000
 
Mar 2018

2×52 Posts
Default

https://download.mersenne.ca/GMP-ECM...win64-cuda.zip
kotenok2000 is offline   Reply With Quote
Old 2022-09-23, 16:26   #37
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

5·787 Posts
Default

Quote:
Originally Posted by kotenok2000 View Post
Ah, yes, well, um...

Appears to be CUDA-only so I can't play around with it.
James Heinrich is offline   Reply With Quote
Old 2022-09-23, 16:27   #38
kotenok2000
 
Mar 2018

2×52 Posts
Default

You will need to get cudart64_80.dll file
https://download.mersenne.ca/CUDA-DLLs/CUDA-8.0

Last fiddled with by kotenok2000 on 2022-09-23 at 16:36
kotenok2000 is offline   Reply With Quote
Old 2022-09-23, 17:19   #39
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

372310 Posts
Default

Quote:
Originally Posted by kotenok2000 View Post
When i run
yafu.exe "factor(3105695207255595953041248693082694537249993263358883561705428359401428617)" -p -threads 8
with use_gpuecm yafu runs siqs with one thread.
Did you Ctrl-C out of the gpu-ecm run? Threads is temporarily set to 1 to run gpu-ecm, but it should be set back to whatever it was before. A Ctrl-C might prevent it being set back.
bsquared is offline   Reply With Quote
Old 2022-09-23, 17:23   #40
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

3·17·73 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
I saw that mentioned in the changelog. Perhaps someone who knows more about it can point us in the right direction for finding out how to use said "GPU ECM", including where to find Windows binaries if they exist. Does it support both NVIDIA and AMD?
Here's a thread for GPU-ECM.

And here's a thread for Seth Trosi's improved CGBN variant of GPU-ECM.

Both are available as compile options in gmp-ecm. Only CUDA is supported.

Last fiddled with by bsquared on 2022-09-23 at 17:23
bsquared is offline   Reply With Quote
Old 2022-09-23, 17:24   #41
kotenok2000
 
Mar 2018

3216 Posts
Default

I use this perl script with Strawberry Perl
Attached Files
File Type: txt fdb_comp_evaluator.pl.txt (16.9 KB, 12 views)
File Type: ini yafu.ini (9.6 KB, 14 views)
kotenok2000 is offline   Reply With Quote
Old 2022-09-24, 16:12   #42
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009
Not U. + S.A.

96516 Posts
Default

Quote:
Originally Posted by kotenok2000 View Post
No sale! This does not use a GPU, at least, not mine, RTX 2080. Yes, I added the needed switches...
storm5510 is offline   Reply With Quote
Old 2022-09-24, 16:44   #43
kotenok2000
 
Mar 2018

2×52 Posts
Default

Does it crash?
kotenok2000 is offline   Reply With Quote
Old 2022-09-24, 16:58   #44
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

5×787 Posts
Default

Quote:
Originally Posted by storm5510 View Post
This does not use a GPU, at least, not mine
Perhaps some copy-paste of YAFU output and you .ini file might help track down the problem.
James Heinrich is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
yafu ignoring yafu.ini chris2be8 YAFU 9 2022-02-17 17:52
YAFU Version Differences nivek000 YAFU 2 2021-12-21 16:21
How I install YAFU version 2 onto my Ubuntu Machines EdH EdH 4 2021-09-26 22:39
Running YAFU via Aliqueit doesn't find yafu.ini EdH YAFU 8 2018-03-14 17:22
YAFU version 1.31 bsquared YAFU 26 2012-04-23 03:16

All times are UTC. The time now is 03:29.


Fri Dec 9 03:29:14 UTC 2022 up 113 days, 57 mins, 0 users, load averages: 1.12, 1.36, 1.45

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.

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