mersenneforum.org  

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

Reply
 
Thread Tools
Old 2002-12-16, 06:34   #1
JackMama
 
Dec 2002

316 Posts
Default The Program Seems to Start from Scratch Each Time I Load it

Comp:
Win 98SE
P3 - 733mhz
40gb HD

Each time I start the program up again it seems to start over compeltely. It goes right back to 0% and goes on from there. It doesn't seem to be saving at all.

Any ideas?
JackMama is offline   Reply With Quote
Old 2002-12-16, 07:15   #2
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

22×3×641 Posts
Default

1) How long are you letting it run each time?

2) Can you post the exact messages Prime95 displays?

3) Are the following files all present in your Prime95's directory? prime.ini, local.ini, and mxxxxxxx (where xxxxxxx is 9876543 if you were L-L testing M9876543, or H987653 if you were L-L testing M17987653, for example)?
cheesehead is offline   Reply With Quote
Old 2002-12-16, 07:50   #3
JackMama
 
Dec 2002

112 Posts
Default

1. 24 hour+ runs

2.Here's what it says when I start it

Mersenee number primality test program version 22.12
Starting P-1 factoring on M17463737 with B1=210000, B2=4095000
Chance of finding a factor is an estimated 5.28%
P1 on M17463737 with B1=210000, B2=4095000


Also, when it reached 100% for the first time when I put my mouse cursor over the system tray it said "P-1 S-2", I believe. Now everytime I start the program again it only says "P-1" and goes all the way from 0% to 100%


3.Yes, and the last one uses "mH" and then the last six digits of the number I'm testing for its name. It's 4.16 megs large
JackMama is offline   Reply With Quote
Old 2002-12-16, 08:32   #4
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

12EC16 Posts
Default

Quote:
Also, when it reached 100% for the first time when I put my mouse cursor over the system tray it said "P-1 S-2", I believe. Now everytime I start the program again it only says "P-1" and goes all the way from 0% to 100%
The program performs the test for an inrcreasing number of bits, until it reaches 65 or 66 bits, then it should start LL test.

Luigi
ET_ is offline   Reply With Quote
Old 2002-12-16, 18:55   #5
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

22·3·641 Posts
Default

Quote:
Originally Posted by ET_
The program performs the test for an inrcreasing number of bits, until it reaches 65 or 66 bits, then it should start LL test.
You're referring to _trial_ factoring, which tries every potential factor up to a power of two. But JackMama's situation is that the trial factoring has already been done for M17463737 up to 2^65, and Prime95 is now doing (or trying to do) _P-1_ factoring to limits B1=210000, B2=4095000 for M17463737.

Before version 20, Prime95 did only trial factoring automatically before an L-L test. Version 20 added the feature of automatic P-1 factoring after trial factoring, before L-L testing. I.e., the sequence for Prime95's processing of a particular Mnumber now is a) trial factoring, b) P-1 factoring, then c) L-L testing.

If your copy of Prime95 is earlier than version 20, please consider upgrading it to the current version (v22.12).
cheesehead is offline   Reply With Quote
Old 2002-12-16, 19:42   #6
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

22×3×641 Posts
Default

Quote:
Originally Posted by JackMama
1. 24 hour+ runs
According to my estimates, a P3-733 working on M17463737 will need about 27 hours for P-1 stage 1 to B1=210000, then an additional 119 hours for stage 2 to B2=4095000. (These estimates are just for Prime95 CPU time, assuming no slowdown from anything else that system is running.)

So maybe you're cutting it short just before the end of stage 1 or just after the start of stage 2.

Try letting it run a week, or maybe two weeks if your system is doing a lot of other work, to let P-1 finish both stages. When it does finish P-1, it will go on to the L-L test (IF P-1 did not find a factor, that is!).

Quote:
2.Here's what it says when I start it

Mersenee number primality test program version 22.12
Starting P-1 factoring on M17463737 with B1=210000, B2=4095000
Chance of finding a factor is an estimated 5.28%
P1 on M17463737 with B1=210000, B2=4095000
All normal.

Quote:
Also, when it reached 100% for the first time when I put my mouse cursor over the system tray it said "P-1 S-2", I believe.
That's when it was starting stage 2 of the P-1 factoring. The "100%" was for stage 1.

Quote:
Now everytime I start the program again it only says "P-1" and goes all the way from 0% to 100%
Prime95 writes a P-1 save file ("mH463737") periodically (according to the save interval you specified, or the default of 30 minutes IIRC), so that if Prime 95 is interrupted and restarted, it can continue from where it was at the last save file rather than from the beginning.

Hmmm ... Are you deleting the mH463737 save file before restarting Prime95? If you have been, please DON'T delete it anymore. If Prime95 finds a mH463737 file when it restarts, it will resume the P-1 where it last left off, instead of at 0%. If there's no mH463737, it starts over at 0%.

Quote:
3.Yes, and the last one uses "mH" and then the last six digits of the number I'm testing for its name. It's 4.16 megs large
Yep. A P-1 save file for M17463737 would be named "mH463737" would be about 4.16 meg in size while stage 2 was in progress (vs. about 2 megs during stage 1). Please don't delete it before the L-L test starts. Prime95 will take care of it when it's finished.
cheesehead is offline   Reply With Quote
Old 2002-12-18, 09:18   #7
JackMama
 
Dec 2002

112 Posts
Default

Try letting it run a week, or maybe two weeks if your system is doing a lot of other work, to let P-1 finish both stages. When it does finish P-1, it will go on to the L-L test (IF P-1 did not find a factor, that is!).

Well Windows isn't exactly the most stable of OS's, so it tends to crash from time to time.

Hmmm ... Are you deleting the mH463737 save file before restarting Prime95?

Nope

-----

Well since the mH463737 file is gone and now two files, pH463737 and qH463737. The has since gone from "P-1 S-1" to 0.74% of 17463737" on the icon in the system tray. The last line on the program window looks like this

"[Dec 17 23:39] iteration 130000 / 17463737 [0.74%]. Per iteration time 1.098 sec."

So is this just stage two?
JackMama is offline   Reply With Quote
Old 2002-12-18, 10:10   #8
patrik
 
patrik's Avatar
 
"Patrik Johansson"
Aug 2002
Uppsala, Sweden

52×17 Posts
Default

Quote:
So is this just stage two?
No, now the LL test has started.
patrik is offline   Reply With Quote
Old 2002-12-18, 10:53   #9
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

22×3×641 Posts
Default

Quote:
Originally Posted by JackMama
Well Windows isn't exactly the most stable of OS's, so it tends to crash from time to time.
Yeah, but after a reboot Prime95 should continue from where it was when the last save file was written.

Quote:
Hmmm ... Are you deleting the mH463737 save file before restarting Prime95?

Nope
Now I'm out of theories.

Quote:
Well since the mH463737 file is gone and now two files, pH463737 and qH463737. The has since gone from "P-1 S-1" to 0.74% of 17463737" on the icon in the system tray. The last line on the program window looks like this

"[Dec 17 23:39] iteration 130000 / 17463737 [0.74%]. Per iteration time 1.098 sec."

So is this just stage two?
Like patrik said, it's reached the L-L test. 17463737 iterations times 1.098 sec per iteration = about seven months until L-L completion.
cheesehead is offline   Reply With Quote
Old 2002-12-19, 00:22   #10
outlnder
 
outlnder's Avatar
 
Aug 2002

1001111102 Posts
Default

I don't think Prime95 saves the P-1 stage of testing. So if this isn't complete, it will start from the beginning.

If this machine is not going to be on 24/7, it might be more advantageous to run Double Checks or Trial Factoring. Just a thought
outlnder is offline   Reply With Quote
Old 2002-12-20, 06:13   #11
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

769210 Posts
Default

Quote:
Originally Posted by outlnder
I don't think Prime95 saves the P-1 stage of testing.
Yes, outlnder, there IS a P-1 save file. :)

I have a collection of several dozen Prime95 P-1 save files that I use for extending previous P-1 searches to higher limits; they really do allow Prime95 to take up where it left off instead of starting over.
cheesehead is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pls Help. On one computer (Win 10), every time restart Prime95, it restarts from scratch??!!! king Information & Answers 4 2018-02-14 07:49
How to set the CPU Start Time hawkeyor Information & Answers 14 2016-06-27 10:35
Scratch challenge! Xyzzy Programming 31 2012-06-01 19:01
Cat scratch! mfgoode Science & Technology 0 2007-06-08 09:05
Small win32 program, range of time to do a TF dsouza123 Programming 1 2003-10-09 16:04

All times are UTC. The time now is 14:40.


Fri May 20 14:40:36 UTC 2022 up 36 days, 12:41, 0 users, load averages: 1.37, 1.50, 1.57

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.

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