![]() |
|
|
#1 |
|
Dec 2011
After milion nines:)
5×172 Posts |
If I run sr1sieve ( latest version) with command sr1sieve.exe -i xx.txt -pxxx -Pxxx -o xxF.txt in output txt file ( in header) I got Pxxx as number ( sieve end) and output file xxF is clear of all factors that sr1sieve found.
But if I run sr2sieve with command sr2sieve -i sr_2.abcd -P300000000000 then when process finished I got -factors.txt ( i need to remove it manually) -when I remove factors in header of abcd file still exist sieve depth from sr1sieve, not new depth since process is over and new depth is much bigger. So question is 1. what command line I need to use to get automatically "clear" abcd file ( with removed factors) when process is over? 2. why new sieve depth is not written in header of abcd file when process is over. Thanks for reply |
|
|
|
|
|
#2 |
|
"Mark"
Apr 2003
Between here and the
11×577 Posts |
sr2sieve does not update the input file at any time. Use srfile to remove candidates with factors from the input file. Since sr2sieve does not update the input file, you need to use -p and -P to sieve a range with it.
|
|
|
|
|
|
#3 |
|
Dec 2011
After milion nines:)
5×172 Posts |
Thanks for answer.
No I know that is nothing wrong with commands. It is how sr2sieve works! |
|
|
|
|
|
#4 |
|
"Mark"
Apr 2003
Between here and the
11000110010112 Posts |
I could probably add a switch to sr2sieve so that it can write an updated input file. Most people would probably use it.
There are a couple of other pending changes I have for sr2sieve and sr1sieve, but I've been too busy to work on them. |
|
|
|
|
|
#5 |
|
Dec 2011
After milion nines:)
144510 Posts |
Yes updating input file when range is completed will be very usefull
|
|
|
|
|
|
#6 | |
|
Dec 2011
After milion nines:)
5×172 Posts |
In readme.txt of sr2sieve says
Quote:
So tell me how you calculate initial sieve depth ( in my case) so after that I can start use sr2sieve. I was make sieve for all those factors until 1500000000. Is that ok depth? Thanks Last fiddled with by pepi37 on 2013-03-14 at 23:31 |
|
|
|
|
|
|
#7 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
947610 Posts |
You should have sieved only to 3400000 with srsieve, then srfile -a, and then sr2sieve to ~1e10. srsieve is much slower than sr2sieve.
|
|
|
|
|
|
#8 |
|
Dec 2011
After milion nines:)
5×172 Posts |
I made sieve with sr1sieve for every K individually :)
So it is ok depth! Thanks for reply! |
|
|
|
|
|
#9 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
22·23·103 Posts |
1500000000 << 1e10
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| OFFICIAL "SERVER PROBLEMS" THREAD | ewmayer | PrimeNet | 2226 | 2021-07-16 08:35 |
| Aouessare-El Haddouchi-Essaaidi "test": "if Mp has no factor, it is prime!" | wildrabbitt | Miscellaneous Math | 11 | 2015-03-06 08:17 |
| Problem E7 of Richard Guy's "Unsolved problems in number theory" | Batalov | Computer Science & Computational Number Theory | 40 | 2013-03-16 09:19 |
| Would Minimizing "iterations between results file" may reveal "is not prime" earlier? | nitai1999 | Software | 7 | 2004-08-26 18:12 |