mersenneforum.org  

Go Back   mersenneforum.org > Fun Stuff > Lounge

Reply
 
Thread Tools
Old 2008-08-07, 06:31   #1
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

1000410 Posts
Default Retrieving Expo from pXXXXXX file

I was checking my prime directory (it ain't a folder), and discovered a p and a q file. Both ar efrom the same expo. Problem is, which one? I know that the save file name is part hex and part is decimal(?). How do I tell how much/which it is. That way I can save the test. In know that it is not a current expo, because I am only doing TF's through the V5 server on this machine. My prime.log is full of only the TF info.
Uncwilly is offline   Reply With Quote
Old 2008-08-07, 07:48   #2
ckdo
 
ckdo's Avatar
 
Dec 2007
Cleves, Germany

10000100102 Posts
Default

Learning by doing *g* ... I have the following save files:

Code:
-rw-r--r-- 1 kossy kossy  5752036 2008-07-27 08:51 m0L15153
-rw-r--r-- 1 kossy kossy 12501786 2008-08-07 09:06 m0L15159
-rw-r--r-- 1 kossy kossy 12277330 2008-08-06 18:33 m0L15237
-rw-r--r-- 1 kossy kossy  5751968 2008-08-06 18:24 q0L15201
-rw-r--r-- 1 kossy kossy  4275204 2008-08-06 18:24 qY201081
-rw-r--r-- 1 kossy kossy  4275216 2008-08-03 18:56 qY201177
-rw-r--r-- 1 kossy kossy  4275236 2008-08-07 07:06 qY201333
-rw-r--r-- 1 kossy kossy  4275248 2008-08-05 08:04 qY201417
The "qY" ones are for 4 exponents in the 34M range.
The "[mq]0L" ones are for 4 exponents in the 46M range.

So, if the save file name has a letter in 2nd place, take that letter. Add 9 to its position in the alphabet ("Y" is the 25th letter. 25+9=34). Append the numbers to get the exponent. (Here: 34201081, 34201177, 34201333, 34201417).

If, however, the letter is in 3rd place, take the letter. Add 34 to its position in the alphabet ("L" is the 12th letter. 12+34=46). Append the numbers (including the one in 2nd place) to get the exponent. (Here: 46015153, 46015159, 46015201, 46015237).

Very low exponents and very high ones (90M+ in my case) have the actual exponent as part of the file name.

Question to insiders: Why is it "add 34" and not "add 35"? There's 26 letters and 9 numbers (I can see why 0 is exempt), so it appears the naming scheme was changed too early...
ckdo is offline   Reply With Quote
Old 2008-08-07, 12:31   #3
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

22·41·61 Posts
Default

Quote:
Originally Posted by ckdo View Post
If, however, the letter is in 3rd place, take the letter. Add 34 to its position in the alphabet ("L" is the 12th letter. 12+34=46). Append the numbers (including the one in 2nd place) to get the exponent. (Here: 46015153, 46015159, 46015201, 46015237).

Question to insiders: Why is it "add 34" and not "add 35"? There's 26 letters and 9 numbers (I can see why 0 is exempt), so it appears the naming scheme was changed too early...
Thanks! My files where p9F9xxxx, and I didn't know if it was a double or a first time. Having an L makes one know it is not hex.

Maybe someone can add this and other details like: http://www.mersenneforum.org/showthread.php?t=10351
to the wiki

Last fiddled with by Uncwilly on 2008-08-07 at 12:32
Uncwilly is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
P-1 File Name Bug NBtarheel_33 Software 2 2010-06-06 08:29
Dat File? Xentar Sierpinski/Riesel Base 5 10 2008-06-23 02:09
corrupt tar.gz file optim Software 4 2004-07-05 18:54
FILE vs. MDB HiddenWarrior Software 1 2004-02-19 04:38
How to change Pxxxx.001 file to Pxxxx file? edorajh Software 3 2003-12-31 12:30

All times are UTC. The time now is 08:28.


Wed Oct 20 08:28:42 UTC 2021 up 89 days, 2:57, 0 users, load averages: 2.92, 2.97, 2.90

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, 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.