mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2021-07-02, 19:28   #1
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

3×2,447 Posts
Default PRP testing on non-x86 CPUs

Years ago, Phil Carmody wrote a program called phrot. This program can be used to PRP Sierpinski/Riesel numbers on non-x86 CPUs. My intention is to get this running on one of Apple's new CPUs but I do not have one yet and probably won't get one until next year.

If you have an M1 CPU, download the attached file and follow the readme to build and run the program. Please post updates here.
Attached Files
File Type: 7z phrot.7z (271.1 KB, 75 views)
rogue is online now   Reply With Quote
Old 2021-07-02, 19:57   #2
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

101011001110112 Posts
Default

mLucas is getting PRP (with proof file generation and GEC, IIRC). That might be the best choice.

Last fiddled with by ewmayer on 2021-07-02 at 20:34 Reason: Not for Sierpinski/Riesels
Uncwilly is online now   Reply With Quote
Old 2021-07-02, 20:34   #3
Viliam Furik
 
Viliam Furik's Avatar
 
"Viliam Furík"
Jul 2018
Martin, Slovakia

2·401 Posts
Default

Quote:
Originally Posted by Uncwilly View Post
mLucas is getting PRP (with proof file generation and GEC, IIRC). That might be the best choice.
I don't think Mlucas can handle Sierpinski and Riesel numbers, can it?
Viliam Furik is offline   Reply With Quote
Old 2021-07-02, 21:09   #4
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

101011001110112 Posts
Default

Quote:
Originally Posted by Viliam Furik View Post
I don't think Mlucas can handle Sierpinski and Riesel numbers, can it?
No mention of it in the readme.
https://www.mersenneforum.org/mayer/README.html

It does have PRP with GEC.
Uncwilly is online now   Reply With Quote
Old 2021-07-02, 23:39   #5
Viliam Furik
 
Viliam Furik's Avatar
 
"Viliam Furík"
Jul 2018
Martin, Slovakia

2×401 Posts
Default

Quote:
Originally Posted by rogue View Post
This program can be used to PRP Sierpinski/Riesel numbers on non-x86 CPUs.
OP was talking about a program for Riesel and Sierpinski numbers. Because of this, Mlucas, even though having PRP with GEC, comes out of play.
Viliam Furik is offline   Reply With Quote
Old 2021-07-03, 03:43   #6
axn
 
axn's Avatar
 
Jun 2003

23·683 Posts
Default

IIRC, phrot was designed for non-base-2 numbers (to support SR5), and was not recommended on base-2 on x86 because it was much slower than LLR.

IIRC, there is a plain C LLR, that could be compiled on any CPU.

Ergo, you should compare phrot with plain C LLR (regardless of the CPU), if you're testing base 2 numbers.
axn is offline   Reply With Quote
Old 2021-07-03, 13:32   #7
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

1CAD16 Posts
Default

Quote:
Originally Posted by axn View Post
IIRC, phrot was designed for non-base-2 numbers (to support SR5), and was not recommended on base-2 on x86 because it was much slower than LLR.

IIRC, there is a plain C LLR, that could be compiled on any CPU.

Ergo, you should compare phrot with plain C LLR (regardless of the CPU), if you're testing base 2 numbers.
If there is a "plain C LLR", can you provide link?
rogue is online now   Reply With Quote
Old 2021-07-03, 13:48   #8
axn
 
axn's Avatar
 
Jun 2003

125308 Posts
Default

Found a really old thread - https://www.mersenneforum.org/showthread.php?t=15584

Not sure it is the right one. You could PM Jean and check.
axn is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Status of Wagstaff testing? and testing Mersenne primes for Wagstaff-ness GP2 Wagstaff PRP Search 414 2020-12-27 08:11
Anti-poverty drug testing vs "high" tax deduction testing kladner Soap Box 3 2016-10-14 18:43
CPUs assigned houding Hardware 10 2015-03-25 00:33
A tale of 3 CPUs chris2be8 Hardware 7 2010-07-20 23:12
Speed of P-1 testing vs. Trial Factoring testing eepiccolo Math 6 2006-03-28 20:53

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


Fri Jul 7 13:52:15 UTC 2023 up 323 days, 11:20, 0 users, load averages: 2.12, 1.41, 1.22

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.

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