mersenneforum.org  

Go Back   mersenneforum.org > Prime Search Projects > No Prime Left Behind

Reply
 
Thread Tools
Old 2009-01-02, 16:21   #1
nuggetprime
 
nuggetprime's Avatar
 
Mar 2007
Austria

2×151 Posts
Default Perl scripts for result file conversion

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
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!
Nugget
Attached Files
File Type: gz conv_scripts.tar.gz (839 Bytes, 87 views)

Last fiddled with by nuggetprime on 2009-01-02 at 16:32 Reason: added scripts
nuggetprime is offline   Reply With Quote
Old 2009-01-02, 16:27   #2
IronBits
I ♥ BOINC!
 
IronBits's Avatar
 
Oct 2002
Glendale, AZ. (USA)

3×7×53 Posts
Default

I don't see the scripts :(
IronBits is offline   Reply With Quote
Old 2009-01-02, 16:30   #3
nuggetprime
 
nuggetprime's Avatar
 
Mar 2007
Austria

12E16 Posts
Default

Added them now,sorry
nugget
nuggetprime is offline   Reply With Quote
Old 2009-01-02, 16:55   #4
IronBits
I ♥ BOINC!
 
IronBits's Avatar
 
Oct 2002
Glendale, AZ. (USA)

45916 Posts
Default

Thanks! :)
IronBits is offline   Reply With Quote
Old 2009-01-02, 17:16   #5
nuggetprime
 
nuggetprime's Avatar
 
Mar 2007
Austria

2×151 Posts
Default

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 is offline   Reply With Quote
Old 2009-01-02, 19:44   #6
nuggetprime
 
nuggetprime's Avatar
 
Mar 2007
Austria

2×151 Posts
Default New version

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!
nugget
Attached Files
File Type: gz conv_scripts_0.02.tar.gz (1.1 KB, 79 views)

Last fiddled with by nuggetprime on 2009-01-02 at 19:45
nuggetprime is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Scripts thread bsquared YAFU 4 2012-10-21 19:45
DPGraph 2D/3D scripts nibble4bits Lounge 0 2008-01-16 17:05
A bit of Perl code to read a checkpoint file and tell how many iterations it's at GP2 Programming 0 2003-11-15 01:08
A bit of Perl code to read a checkpoint file and tell how many iterations it's at GP2 Data 0 2003-11-15 01:07
Perl scripts to convert status.txt and cleared.txt into comma-separated form GP2 Programming 4 2003-10-13 18:12

All times are UTC. The time now is 10:37.

Tue Mar 31 10:37:35 UTC 2020 up 6 days, 8:10, 0 users, load averages: 1.54, 1.34, 1.20

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