![]() |
|
|
#1 |
|
"Seth"
Apr 2019
1F216 Posts |
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%]. 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. |
|
|
|
|
|
#2 |
|
Jun 2003
23×683 Posts |
|
|
|
|
|
|
#3 |
|
"Seth"
Apr 2019
49810 Posts |
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%] |
|
|
|
|
|
#4 |
|
"Seth"
Apr 2019
2·3·83 Posts |
I added a few new features today
|
|
|
|
![]() |
| 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 |