mersenneforum.org  

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

Reply
 
Thread Tools
Old 2021-10-29, 18:51   #1
JuanTutors
 
JuanTutors's Avatar
 
"Juan Tutors"
Mar 2004

569 Posts
Default Bug in iteration count in Prime95?

I am doing a PRP test on M332290099 (again after restarting after I gave up on it after a ton of Gerbicz errors and then went back to it but the save files were bad so the test restarted).

I noticed that it said "Iteration: 6645800/332290098" (SEE ATTACHED IMAGE.)

I thought "weird, I never noticed in all this time that second number is 1 less than the exponent". But then I went home and checked on one of my home computers and the second number is definitely the exponent and not 1 less than the exponent.

Did I run into a bug?
Attached Thumbnails
Click image for larger version

Name:	Iteration count.png
Views:	79
Size:	5.2 KB
ID:	26034  

Last fiddled with by JuanTutors on 2021-10-29 at 18:56
JuanTutors is offline   Reply With Quote
Old 2021-10-29, 20:23   #2
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

23·72·17 Posts
Default

Quote:
Originally Posted by JuanTutors View Post
Did I run into a bug?
No.
LL does p-2 iterations. https://en.wikipedia.org/wiki/Lucas%...primality_test
PRP does p-1 iterations. https://en.wikipedia.org/wiki/Fermat_primality_test

Last fiddled with by kriesel on 2021-10-29 at 20:23
kriesel is offline   Reply With Quote
Old 2021-10-29, 22:53   #3
JuanTutors
 
JuanTutors's Avatar
 
"Juan Tutors"
Mar 2004

569 Posts
Default

Quote:
Originally Posted by kriesel View Post
Yes, BUT here are my iterations at home for M332316293 and M332292529 (See image):

"Iteration: 203663120/332292529"
"Iteration: 168611800/332316293"

I see the same thing on my desktop. The number of iterations it states is the exponent.
Attached Thumbnails
Click image for larger version

Name:	Iterations at home.png
Views:	74
Size:	9.4 KB
ID:	26036  

Last fiddled with by JuanTutors on 2021-10-29 at 22:54
JuanTutors is offline   Reply With Quote
Old 2021-10-30, 04:27   #4
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
"name field"
Jun 2011
Thailand

17·19·31 Posts
Default

You are running [U][B]two[/B][/U] workers. Each worker has its own exponent. Hint: read your output lines careful.
Probably (accidentally or intentionally) you selected from the menus "windows/show all workers in the same window".

Scratch that. I misunderstood your question. Going for the morning coffee...
Are you running same version of p95, and same test type?

Last fiddled with by LaurV on 2021-10-30 at 04:31
LaurV is offline   Reply With Quote
Old 2021-10-30, 06:29   #5
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

174208 Posts
Default

Quote:
Originally Posted by kriesel View Post
Yes but prime95 has a bug where it starts numbering LL iterations at 3.
Prime95 is offline   Reply With Quote
Old 2021-10-30, 15:10   #6
JuanTutors
 
JuanTutors's Avatar
 
"Juan Tutors"
Mar 2004

569 Posts
Default

Quote:
Originally Posted by LaurV View Post
Are you running same version of p95, and same test type?
All running PRP. At home, I confirmed that my laptop running 2 instances that I took a picture of above is running 30.3 b6. I also confirmed that my desktop upstairs (not pictured) is running 30.5 b2 for some reason. The one at work that as one less iteration that I showed above is running 30.3 b6 according to mersenne.org, which I assume is accurate. I never checked a 4th computer.

Quote:
Originally Posted by Prime95 View Post
Yes but prime95 has a bug where it starts numbering LL iterations at 3.
I checked to see if I am running LL tests accidentally, but these are all PRP tests. I am sure you can check my username through mersenne.org to confirm.
JuanTutors is offline   Reply With Quote
Old 2021-10-30, 17:32   #7
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

24·7·71 Posts
Default

Looking at the code (which has not changed among all the versions you are using), the only way I see for the iteration counter to be one less than the exponent is to set

PRPStraightForward=1

in prime.txt. This disables Gerbicz error checking and proofs.
Prime95 is offline   Reply With Quote
Old 2021-10-30, 19:13   #8
JuanTutors
 
JuanTutors's Avatar
 
"Juan Tutors"
Mar 2004

569 Posts
Default

Quote:
Originally Posted by Prime95 View Post
Looking at the code (which has not changed among all the versions you are using), the only way I see for the iteration counter to be one less than the exponent is to set

PRPStraightForward=1

in prime.txt. This disables Gerbicz error checking and proofs.
I will look to see if that is set when I get to that computer on Monday. However, I did not set that option manually. I didn't know that option existed, and the computer in question is the one that has been having problems, so I would not have set it up to avoid Gerbicz error checking.
JuanTutors is offline   Reply With Quote
Old 2021-10-30, 19:53   #9
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

24×7×71 Posts
Default

You may need to send me prime.txt, local.txt, worktodo.txt, and a savefile.
Prime95 is offline   Reply With Quote
Old 2021-10-30, 20:08   #10
JuanTutors
 
JuanTutors's Avatar
 
"Juan Tutors"
Mar 2004

23916 Posts
Default

Quote:
Originally Posted by Prime95 View Post
You may need to send me prime.txt, local.txt, worktodo.txt, and a savefile.
Will do when I get to work on Monday. Please let me know how to do that. This is a restarted test as well because the first four save files were detected as bad.
JuanTutors is offline   Reply With Quote
Old 2021-10-30, 21:28   #11
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

24×7×71 Posts
Default

Quote:
Originally Posted by JuanTutors View Post
Please let me know how to do that.
Dropbox, email, whatever works for you. The files will be in the same folder as prime95.exe.
Prime95 is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Maximum core count support in latest Prime95 avinashkv94 Information & Answers 3 2021-09-09 15:26
Looks like it's down for the count bcp19 Hardware 12 2013-04-26 13:52
Prime count up henryzz Lounge 7 2007-09-19 19:45
Count of Matrices davar55 Puzzles 2 2007-06-13 20:46
Can't figure out how to count in DOS. jasong Software 2 2006-07-22 21:49

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


Sun Aug 14 10:24:23 UTC 2022 up 38 days, 5:11, 2 users, load averages: 0.79, 1.01, 1.02

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.

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