![]() |
|
|
#1 |
|
"Antonio Key"
Sep 2011
UK
10000100112 Posts |
I looked for a program to split a newPgen output file to share between multiple instances of LLR, but I couldn't find one.
I present here a little utility to take a text file and split it into multiple (2 to 7) output files, for anyone who may be interested. The selected (single) output file name will be appended with a digit (1 to 7) depending on the number of files requested. i.e. 'split' would become 'split.1', 'split.2', 'split.3' etc. By default the first line of the input file is copied to all output files, so that the output files are still valid npg format. After the first line is written the remaining input file lines are copied such that, for example for 3 output files, output file 1 will contain input file lines 1, 2, 5, 8... output file 2 will contain input file lines 1, 3, 6, 9... output file 3 will contain input file lines 1, 4, 7, 9... Antonio |
|
|
|
|
|
#2 |
|
Jun 2003
22·33·47 Posts |
|
|
|
|
|
|
#3 |
|
"Antonio Key"
Sep 2011
UK
10000100112 Posts |
|
|
|
|
|
|
#4 |
|
Banned
"Luigi"
Aug 2002
Team Italia
24·7·43 Posts |
|
|
|
|
|
|
#5 |
|
"Mark"
Apr 2003
Between here and the
24·397 Posts |
If all instances are on the same box or all boxes can talk to one another, use PRPNet. It would make your life easier as you won't have to manage all of those instances.
Last fiddled with by rogue on 2013-04-18 at 12:34 |
|
|
|
|
|
#6 |
|
"Antonio Key"
Sep 2011
UK
21316 Posts |
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Splitting Work over Dual Boot | justinstevens42 | Information & Answers | 3 | 2018-02-07 12:51 |
| Utility of integer factorization. | jwaltos | Other Mathematical Topics | 8 | 2015-05-22 12:20 |
| Splitting P-1 stages | TheMawn | Information & Answers | 3 | 2013-10-13 00:07 |
| Faster factoring with binary splitting? | __HRB__ | Software | 3 | 2009-01-03 16:27 |
| Prime Shuffle Utility | HiddenWarrior | Programming | 6 | 2004-11-04 05:21 |