![]() |
![]() |
#1 |
Jan 2003
1216 Posts |
![]()
Just some stupid questions. I have been using newpgen for sometime and have recently been trying out sr1sieve and I have a question.
Is there anyway to specify P1/pmax/P as infinite (i.e. continue until I manually stop the process)? Or is there are reason why it must be specified? |
![]() |
![]() |
![]() |
#2 |
Oct 2007
Manchester, UK
1,373 Posts |
![]()
You could just set it stupidly high, then when you want to stop it use ctrl+c.
As to why it has to be specified, at a guess I'd say that it's to make sure people know what they're doing. A hoop to jump though which forces people to know what they're doing before they do it. |
![]() |
![]() |
![]() |
#3 | |
"Mark"
Apr 2003
Between here and the
24×11×41 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#4 |
A Sunny Moo
Aug 2007
USA
22·112·13 Posts |
![]()
srsieve will, if you don't enter a pmax, by default choose a pmax of pmin+4T (4e12). I'm sure that it wouldn't be hard to produce similar functionality in sr1sieve; however, as lavalamp suggested, you could always just set an arbitrarily high value manually. All you have to do is add a "-P x" flag to the command line when you launch sr1sieve (x in my example represents your arbitrarily high pmax). I used 1e12, i.e. 1T, once recently when I was doing a relatively small sieving job with sr1sieve, though you could always set that to a higher value if you expect to need to go higher than 1T. For example, you could use 1e15, which would be the same as 1P--which is higher than any individual siever would likely ever want to undertake, so that should give you plenty of headroom. (The only projects that I know of that have ever gone up that high are Riesel Sieve and PSP, both of which have quite a lot of collective power thrown on their sieves.)
|
![]() |
![]() |
![]() |
#5 |
Jan 2003
2·32 Posts |
![]()
Thanks for all the pointers. Setting an absurdly high pmax is what I did in the end (it should keep my PC busy over Christmas anyway).
|
![]() |
![]() |
![]() |
#6 | |
Mar 2003
New Zealand
22058 Posts |
![]() Quote:
I will add a default value for pmax in a future version of sr1sieve, probably pmin+4e12 as in srsieve, unless someone has a better suggestion. |
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
sr1sieve with work files? | masser | Conjectures 'R Us | 1 | 2017-12-28 17:43 |
Building sr1sieve for RPi | wombatman | Software | 14 | 2017-03-04 16:21 |
32-bit of sr1sieve and sr2sieve for Win | pepi37 | Software | 5 | 2013-08-09 22:31 |
sr1sieve 1.2.0 | arminius | Riesel Prime Search | 14 | 2007-12-02 22:53 |