mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   No Prime Left Behind (https://www.mersenneforum.org/forumdisplay.php?f=82)
-   -   Perl scripts for result file conversion (https://www.mersenneforum.org/showthread.php?t=11260)

nuggetprime 2009-01-02 16:21

Perl scripts for result file conversion
 
1 Attachment(s)
Finally,I've made some perl scripts to convert various server file formats to standard LLR output format . There are three scripts in the attatched file:
[code]ppn2llr.pl: PRPNet 1.02 completed_tests.log format -> standard LLR output format
lln2llr.pl: three-lines-per-result LLRNet output format -> standard LLR output format
lln2llr_sl.pl: one-line-per-result LLRNet output format -> standard LLR output format[/code]All you need to run them is a perl interpreter.

The useage is simple: <name_of_script> <INFILE> <OUTFILE>

What is planned for the future:
-Give in/outfiles with -i and -o
-for ppn2llr.pl:Add faked time(i.e. append Time : 0.0 sec. to every line) with -ft option, determine type of test(Proth/LLR/PRP) for composite results with -dt
-maybe merge scripts

Enjoy:smile:!
Nugget

IronBits 2009-01-02 16:27

I don't see the scripts :(

nuggetprime 2009-01-02 16:30

Added them now,sorry:sorry:
nugget

IronBits 2009-01-02 16:55

Thanks! :)

nuggetprime 2009-01-02 17:16

Oh yes, I have even more plannings for future:
-make a script than converts PRPnet completed_tests.log to llrnet-style format,with a mailaddress/user database.

nuggetprime 2009-01-02 19:44

New version
 
1 Attachment(s)
Version 0.02 is out. Changes:
All scripts:
-Code cleanup
-Various small changes
-input/output file handing with -i and -o
ppn2llr.pl:
-Added option -ft to add faked time.
-Can now determine type of test for composite tests,this feature can be disabled with -nd .
(When -nd is enabled,it always prints Res64: for composite tests.)

The next version will probably have sorting, not-printing of doublecheck tests for ppn2llr,a script that converts from Prpnet to llrnet format with a mailaddress/user database,and some other new helpful scripts for manual reservations.

Enjoy:smile:!
nugget


All times are UTC. The time now is 22:49.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.