![]() |
![]() |
#1 |
Oct 2006
22×5×13 Posts |
![]()
Is there a way to combine NewPGen files, like for Msieve? I've tried simply combining different files to a master file, including the initial ABC ... NewPGen: ... line, but that didn't help.
I would like to be able to put a couple dozen small files together for pfgw, so that when I come home, it's done all/almost done all, instead of just a small section of what I want done. Thanks! roger |
![]() |
![]() |
![]() |
#2 |
Nov 2003
1110001001102 Posts |
![]()
I assume you would like to combine small files and provide them as input to pfgw. If the forms of numbers in the files are completely different then the only way is to provide the numbers directly, for example:
507*2^516086+1 2153*2^514076-1 392113#+1 10^180004+248797842*10^89998+1 You can put all numbers above in the same file and pfgw should work. No ABC or any other header is needed. On the other hand, if the forms have something in common an ABC or ABC2 header can be constructed, but you will have to tell us more. Hope this helps. Last fiddled with by Kosmaj on 2008-01-14 at 17:27 |
![]() |
![]() |
![]() |
#3 | |
Oct 2006
1000001002 Posts |
![]()
So for example, with several NewPGen files, I could replace each 1 at the beginning of a newpgen output file line with the appropriate k, and combine them, as below?
Quote:
|
|
![]() |
![]() |
![]() |
#4 |
Nov 2003
1110001001102 Posts |
![]()
Yes, this will work. But note that on each line the first number is used as $a, the second as $b and so on. So if your exponents start at 10,000 then replace $a and $b:
ABC 8341388245905*7872802237*$a*2^$b+1 Also, remove all blank lines in the numbers section. Try to test it with only a few numbers, one from each small file. |
![]() |
![]() |
![]() |
#5 |
Oct 2006
22×5×13 Posts |
![]()
Thanks Kosmaj, I ran the file, and it didn't seem to mind the extra lines between k's.
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Combining CPUs | Edmond | Lounge | 11 | 2017-07-03 16:31 |
Combining low quality random numbers sources | only_human | Miscellaneous Math | 3 | 2016-05-20 05:47 |
Combining Msieve with CADO NFS | mfeltz | Msieve | 10 | 2016-03-16 21:12 |
Need to learn how to edit, and make from scratch, NewPGen files. | jasong | Software | 2 | 2006-05-28 21:16 |
Sieving multiple NewPGen files in a row(How?) | jasong | Software | 18 | 2005-12-30 20:23 |