View Single Post
Old 2009-04-20, 07:24   #139
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3·2,083 Posts
Default

Quote:
Originally Posted by PCZ View Post
As to manual ranges, i was also thinking that the scripts that parse the servers files could also parse the manual ranges.
Well, the problem with that is the fact that LLRNet outputs a bit more data than manual LLR in its results files. Example:

manual LLR
1695*2^549586-1 is not prime. LLR Res64: CD6714BDC076CFC4 Time : 565.193 sec.

LLRnet (on the server end; the client output is more like manual LLR's)
user=mdettweiler
[2009-04-20 03:17:08]
1695*2^549586-1 is not prime. Res64: CD6714BDC076CFC4 Time : 565.193 sec.

To import the LLRnet data into the DB, we have scripts running on the servers that take the server results, convert them to a CSV format, and then plop them in a directory where the DB's scripts will pick them up and import them next time they run.

In order to import manual LLR results, what we'd need to do is code up a variation on the CSV-conversion script that, instead of reading the user and date/time info from the original results file, reads it from (say) the command line. Everything else is common to both manual and LLRnet results file formats.

Max
mdettweiler is offline