mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > GMP-ECM

Reply
 
Thread Tools
Old 2022-03-17, 13:15   #518
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

23·587 Posts
Default

Quote:
Originally Posted by SethTro View Post
I'm happy to look at this as a bug. I vaguely remember that I wasn't sure if I should always stop or only if the cofactor is composite.
Thanks, but I've moved to using a separate machine with ecm.py and it is working as needed.

I'd leave as is unless others are interested. For me it is no longer an issue.

Again, thank you for considering it.
EdH is offline   Reply With Quote
Old 2022-05-24, 17:34   #519
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009
Not U. + S.A.

2×72×23 Posts
Default

There seems to be an oddity about using a GPU in GMP-ECM.

The --help switch shows the maximum size of a B1 value is 2^1018. Using Windows Calculator to calculate log(2) * 1018 says this is a 308 digit value.

If I run this:

Code:
echo "2^14447-1" | gpuecm -gpu -maxmem 2048 5e6 10e6
I get this message:

Quote:
GMP-ECM 7.0.4-dev [configured with MPIR 2.7.2, --enable-gpu, --enable-openmp] [ECM]
Input number is 2^14447-1 (4349 digits)
GPU: Error, input number should be strictly lower than 2^1018
please report internal errors at <ecm-discuss@lists.gforge.inria.fr>.
B1 in my example is 5e6 or 5,000,000. This is obviously smaller than a 308 digit number.

I am missing something here and I cannot determine what it is.
storm5510 is online now   Reply With Quote
Old 2022-05-24, 17:43   #520
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

425210 Posts
Default

Quote:
Originally Posted by storm5510 View Post
There seems to be an oddity about using a GPU in GMP-ECM.

The --help switch shows the maximum size of a B1 value is 2^1018. Using Windows Calculator to calculate log(2) * 1018 says this is a 308 digit value.

If I run this:

Code:
echo "2^14447-1" | gpuecm -gpu -maxmem 2048 5e6 10e6
I get this message:

B1 in my example is 5e6 or 5,000,000. This is obviously smaller than a 308 digit number.

I am missing something here and I cannot determine what it is.
You are missing something. The inputted number is too big. You specified 2^14447-1. The max is 2^1018.

Last fiddled with by paulunderwood on 2022-05-24 at 17:43
paulunderwood is offline   Reply With Quote
Old 2022-05-24, 17:52   #521
SethTro
 
SethTro's Avatar
 
"Seth"
Apr 2019

19×23 Posts
Default

If you are willing to compile gmp-ecm from source you can test larger input numbers (it's also faster).

See https://www.mersenneforum.org/showthread.php?t=27103
SethTro is offline   Reply With Quote
Old 2022-05-25, 13:52   #522
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009
Not U. + S.A.

225410 Posts
Default

Quote:
Originally Posted by paulunderwood View Post
You are missing something. The inputted number is too big. You specified 2^14447-1. The max is 2^1018.
Understood. IMHO, it is not good for much of anything at this size.
storm5510 is online now   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running CUDA on non-Nvidia GPUs Rodrigo GPU Computing 3 2016-05-17 05:43
Error in GMP-ECM 6.4.3 and latest svn ATH GMP-ECM 10 2012-07-29 17:15
latest SVN 1677 ATH GMP-ECM 7 2012-01-07 18:34
Has anyone seen my latest treatise? davieddy Lounge 0 2011-01-21 19:29
Latest version? [CZ]Pegas Software 3 2002-08-23 17:05

All times are UTC. The time now is 00:31.


Thu Aug 11 00:31:39 UTC 2022 up 34 days, 19:18, 2 users, load averages: 0.99, 1.17, 1.23

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.

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