mersenneforum.org  

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

Reply
 
Thread Tools
Old 2020-03-18, 07:24   #1
SethTro
 
SethTro's Avatar
 
"Seth"
Apr 2019

19·23 Posts
Default Status Report for mprime backup files

I wrote a medium sized change that prints the status of all backup files in a directory.
I personally found this very useful for continuing to P-1 higher levels (especially as I tried to coordinate this across multiple computers) and for ECM work that I was moving around.

Using this worktodo.txt stopped at the points indicated you can see the output.
Code:
[Worker #1]
#Pminus1=N/A,1,2,13007,-1,20000000,0
# Stopped at ~7% stage 1 (stage 0, squaring small primes)
#Pminus1=N/A,1,2,12011,-1,20000000,0
# Stopped at ~71% stage 1
#Pminus1=N/A,1,2,13009,-1,30000,300000000
# Stopped at ~9% stage 2
#Pminus1=N/A,1,2,13217,-1,200000,0
# Finished stage 1, stage 2

#ECM2=1,2,13033,-1,1000000,0,7
# Stopped at ~33% stage 1
#ECM2=1,2,13037,-1,10000,100000000,7
# Stopped at ~27% stage 2 (curve 2)
#PRP=1,2,500009,-1
# Stopped at ~3.3%

#TEST=500029,40,1
# Stopped at ~9%

#PRP=4847,2,3321063,1
# Seventeen or bust like number stopped at ~10.8%
#PRP=6,10,71299,7
# Near Repunit prime stopped at 89%
Code:
Status of files in 'testing'.
Backup e0013033         | ECM | Curve 1 | Stage 1 (33.2%).
Backup e0013033.bu      | ECM | Curve 1 | Stage 1 (33.2%).
Backup e0013037         | ECM | Curve 2 | Stage 2 (27.9%).
Backup e0013037.bu      | ECM | Curve 2 | Stage 2 (27.9%).
Backup m0012011         | P-1 | Stage 1 (71.9%) B1 @ 14376553.
Backup m0012011.bu      | P-1 | Stage 1 (71.9%) B1 @ 14376553.
Backup m0013007         | P-1 | Stage 1 (8.4%) B1 <2436719.
Backup m0013007.bu      | P-1 | Stage 1 (8.4%) B1 <2436719.
Backup m0013009         | P-1 | B1=30000 complete, Stage 2 (9.9%).
Backup m0013009.bu      | P-1 | B1=30000 complete, Stage 2 (9.9%).
Backup m0013217         | P-1 | B1=200000,B2=20000000,E=12 complete.
Backup m0013217.bu      | P-1 | B1=200000,B2=20000000,E=12 complete.
Backup p0500009         | PRP | Iteration 16631/500009 [3.33%].
Backup p0500009.bu      | PRP | Iteration 16631/500009 [3.33%].
Backup p0500029         | LL  | Iteration 45144/500029 [9.03%].
Backup p0500029.bu      | LL  | Iteration 45144/500029 [9.03%].
Backup p4847_3321063    | PRP | Iteration 360034/3321063 [10.84%].
Backup p4847_3321063.bu | PRP | Iteration 360034/3321063 [10.84%].
Backup p6_71299_7       | PRP | Iteration 212862/71299 [89.87%].
Backup p6_71299_7.bu    | PRP | Iteration 212862/71299 [89.87%].
Would this be useful to you?
What other output would be useful?
error counts? file modification date? file size? indication that newer backup file supersedes this file? indication that file is in worktodo?

George suggested I get some feedback about what would be useful for other people and what output formatting is good before they considers it. So feedback would be much appreciated.
SethTro is offline   Reply With Quote
Old 2020-03-18, 09:47   #2
axn
 
axn's Avatar
 
Jun 2003

2×2,687 Posts
Default

Quote:
Originally Posted by SethTro View Post
file modification date? file size? indication that newer backup file supersedes this file? indication that file is in worktodo?
These three looks useful. These would allow to clean up redundant files.

Also, files in stage 2 (P-1 or ECM) should show B2 as well.
axn is offline   Reply With Quote
Old 2021-12-07, 00:56   #3
SethTro
 
SethTro's Avatar
 
"Seth"
Apr 2019

19×23 Posts
Default

I'm working on TWOK and have a bunch of P-1 save files laying around that I want to run the new fast stage 2 code on.

I rewrote my code as a standalone python file (raw) because C is terrible and it takes a quarter the code to write this in Python.

Code:
$ ./prime95_status.py 
Found 9 backup files in '.'
e0013033     | ECM | Curve 1 | Stage 1 (34.6%)
e0013033.bu  | ECM | Curve 1 | Stage 1 (2.4%)
e0013037     | ECM | Curve 2 | Stage 2 (35.4%)
m0012011     | P-1 | Stage 1 (71.6%) B1 @ 14327561
m0013007     | P-1 | Stage 1 (7.7%) B1 <2215679
m0013009     | P-1 | B1=30000 complete, Stage 2 (10.5%)
m0013217     | P-1 | B1=200000 ,B2=20000000 ,E=12 complete
p0500009     | PRP | Iteration 107730/500009 [21.55%]
p0500029     | LL  | Iteration 42453/500029 [8.49%]
30.8 introduces a new P-1 file format (probably ECM too) so I can't parse those files till the source code is released (or George gives me a sneak peak of the new pm1_save file format)
SethTro is offline   Reply With Quote
Old 2021-12-07, 23:36   #4
SethTro
 
SethTro's Avatar
 
"Seth"
Apr 2019

19·23 Posts
Default

I added a few new features today
  1. JSON output of the raw data I process
  2. Test data generator
  3. Verified support for 30.3
SethTro is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Prime95 error accessing files (work, log, backup) C0REY Information & Answers 5 2017-07-19 05:56
Mersenne.ca Status Report Gordon mersenne.ca 1 2015-09-22 10:53
Backup Files Unregistered Information & Answers 1 2008-05-30 03:30
V5 status report? PrimeCruncher PrimeNet 11 2005-10-09 18:53
The Status Files Axel Fox PrimeNet 3 2004-07-20 02:27

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


Mon Jun 27 09:40:45 UTC 2022 up 74 days, 7:42, 1 user, load averages: 1.07, 1.26, 1.32

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.

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