mersenneforum.org  

Go Back   mersenneforum.org > New To GIMPS? Start Here! > Information & Answers

Reply
 
Thread Tools
Old 2016-03-13, 11:35   #1
Lorenzo
 
Lorenzo's Avatar
 
Aug 2010
Republic of Belarus

2·89 Posts
Default P1 on non-x86 architecture.

Is it possible to do P1 on non-x86 architecture (something like mLucas)?
Lorenzo is offline   Reply With Quote
Old 2016-03-13, 20:28   #2
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

5·937 Posts
Default

What is "P1"?
paulunderwood is offline   Reply With Quote
Old 2016-03-13, 20:32   #3
Lorenzo
 
Lorenzo's Avatar
 
Aug 2010
Republic of Belarus

2·89 Posts
Default

Quote:
Originally Posted by paulunderwood View Post
What is "P1"?
P-1 Factoring
Lorenzo is offline   Reply With Quote
Old 2016-03-13, 20:42   #4
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

5×937 Posts
Default

https://en.wikipedia.org/wiki/Pollar...mplementations

Last fiddled with by paulunderwood on 2016-03-13 at 20:49
paulunderwood is offline   Reply With Quote
Old 2016-03-13, 21:29   #5
Lorenzo
 
Lorenzo's Avatar
 
Aug 2010
Republic of Belarus

2·89 Posts
Default

Quote:
Originally Posted by paulunderwood View Post
Sorry, but i little bit confused. How to use GMP-ECM for
PFactor=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA,1,2,333001717,-1,76,2 ???
Lorenzo is offline   Reply With Quote
Old 2016-03-13, 21:47   #6
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

5·937 Posts
Default

If it is not using FFT arithmetic it is hopeless
paulunderwood is offline   Reply With Quote
Old 2016-03-15, 16:41   #7
Lorenzo
 
Lorenzo's Avatar
 
Aug 2010
Republic of Belarus

2×89 Posts
Default

Quote:
Originally Posted by paulunderwood View Post
If it is not using FFT arithmetic it is hopeless
Sorry. Did not understand you. So P-1 factoring for M333001717 possible in mprime and cudapm (GPU version for nVidia card). Implemintation for another architecture (Linux on ARM, Power, SPARC etc.) does not exist?
Lorenzo is offline   Reply With Quote
Old 2016-03-15, 17:17   #8
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

111158 Posts
Default

Quote:
Originally Posted by Lorenzo View Post
Sorry. Did not understand you. So P-1 factoring for M333001717 possible in mprime and cudapm (GPU version for nVidia card). Implemintation for another architecture (Linux on ARM, Power, SPARC etc.) does not exist?
I think it does not exist for those architectures. Somebody correct me if I am wrong.

Last fiddled with by paulunderwood on 2016-03-15 at 17:19
paulunderwood is offline   Reply With Quote
Old 2016-03-15, 17:25   #9
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

10011000000012 Posts
Default

Quote:
Originally Posted by paulunderwood View Post
I think it does not exist for those architectures. Somebody correct me if I am wrong.
AFAIK, there was at least an ECM version for ARM, don't know about P-1 though...
ET_ is offline   Reply With Quote
Old 2016-03-15, 21:52   #10
ewmayer
2ω=0
 
ewmayer's Avatar
 
Sep 2002
República de California

267548 Posts
Default

I intend to add p-1 support to a not-too-distant Mlucas release, but no specific timeline. Key sticking point is a subquadratic gcd - I could just go with an off-the-shelf implementation of such, but have been putting in place my own implementation of such over the past couple years, and prefer to finish that work. That will avoid 3rd-part library dependencies and also allow me to compare/improve my own code versus GMP's and George's tuned-up version of the Crandall giants.c subquadratic gcd used in prime95, which is interesting from a research angle.

I actually had a working FFT-mul-based p-1 algo in the old days of Mlucas-fortran which used a highly-tuned int64-based quadratic gcd, but that was before the M-numbers being tested got so large that the timings for using said gcd started going up into many hours, as opposed to the few minutes a good subquadratic gcd needs.

Last fiddled with by ewmayer on 2016-03-15 at 21:54
ewmayer is offline   Reply With Quote
Old 2016-03-16, 07:42   #11
Lorenzo
 
Lorenzo's Avatar
 
Aug 2010
Republic of Belarus

2×89 Posts
Default

Quote:
Originally Posted by ewmayer View Post
I intend to add p-1 support to a not-too-distant Mlucas release, but no specific timeline. Key sticking point is a subquadratic gcd - I could just go with an off-the-shelf implementation of such, but have been putting in place my own implementation of such over the past couple years, and prefer to finish that work. That will avoid 3rd-part library dependencies and also allow me to compare/improve my own code versus GMP's and George's tuned-up version of the Crandall giants.c subquadratic gcd used in prime95, which is interesting from a research angle.

I actually had a working FFT-mul-based p-1 algo in the old days of Mlucas-fortran which used a highly-tuned int64-based quadratic gcd, but that was before the M-numbers being tested got so large that the timings for using said gcd started going up into many hours, as opposed to the few minutes a good subquadratic gcd needs.
ohhh, God. Sad to hear ((

So it means that is one way to use mainframe or POWER ... and this way is double check jobs.
Lorenzo is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
The Mill CPU architecture ewmayer Hardware 5 2014-05-03 19:58
Optimizing for CPU architecture: unknown Intel almostfrugal Information & Answers 1 2012-09-19 14:22
RIP 32 bit architecture... chalsall Lone Mersenne Hunters 2 2010-09-27 19:18

All times are UTC. The time now is 13:24.


Fri Jul 7 13:24:11 UTC 2023 up 323 days, 10:52, 0 users, load averages: 1.41, 1.22, 1.17

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.

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