mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2013-03-13, 10:49   #1
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

5×172 Posts
Default sr2sieve 1.9.3 "problems"

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
pepi37 is offline   Reply With Quote
Old 2013-03-13, 12:46   #2
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11×577 Posts
Default

Quote:
Originally Posted by pepi37 View Post
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.
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.
rogue is online now   Reply With Quote
Old 2013-03-13, 12:53   #3
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

5×172 Posts
Default

Thanks for answer.
No I know that is nothing wrong with commands.
It is how sr2sieve works!
pepi37 is offline   Reply With Quote
Old 2013-03-13, 14:14   #4
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11000110010112 Posts
Default

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.
rogue is online now   Reply With Quote
Old 2013-03-13, 14:54   #5
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

144510 Posts
Default

Quote:
Originally Posted by rogue View Post
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.
Yes updating input file when range is completed will be very usefull
pepi37 is offline   Reply With Quote
Old 2013-03-14, 23:28   #6
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

5×172 Posts
Default

In readme.txt of sr2sieve says
Quote:
Only factors larger than k and b will be found, so the sieve must be started and sieved until p >= max(k,b) with another program (NewPGen, Srsieve).
I made small sieve from n 3200000 to 3400000 and K was 139,167,271,353,773,797,and 901.

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
pepi37 is offline   Reply With Quote
Old 2013-03-15, 00:29   #7
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

947610 Posts
Default

You should have sieved only to 3400000 with srsieve, then srfile -a, and then sr2sieve to ~1e10. srsieve is much slower than sr2sieve.
Batalov is offline   Reply With Quote
Old 2013-03-15, 00:40   #8
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

5×172 Posts
Default

I made sieve with sr1sieve for every K individually :)
So it is ok depth!
Thanks for reply!
pepi37 is offline   Reply With Quote
Old 2013-03-15, 00:58   #9
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

22·23·103 Posts
Default

1500000000 << 1e10
Batalov is offline   Reply With Quote
Reply



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

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


Fri Jul 16 16:10:41 UTC 2021 up 49 days, 13:57, 1 user, load averages: 2.04, 1.97, 1.86

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