mersenneforum.org Software/instructions/questions
 Register FAQ Search Today's Posts Mark Forums Read

2020-08-06, 21:53   #232
MyDogBuster

May 2008
Wilmington, DE

22·23·31 Posts

Quote:
 If possible I suggest that you break it up into smaller files (maybe 500,000 each), each with a different set of k. This will allow you to start working on candidates while others are loading.
That's the exact thing I'm trying to avoid. I just turned 75 on Monday and can't see too well and don't move around too much. A straight forward one time load of files without having to bust them up would be ideal.

Last fiddled with by Uncwilly on 2020-08-07 at 02:49 Reason: Fixed quotes

2020-08-07, 02:38   #233
rogue

"Mark"
Apr 2003
Between here and the

22×7×13×17 Posts

Quote:
Originally Posted by MyDogBuster
Quote:
 If possible I suggest that you break it up into smaller files (maybe 500,000 each), each with a different set of k. This will allow you to start working on candidates while others are loading.
That's the exact thing I'm trying to avoid. I just turned 75 on Monday and can't see too well and don't move around too much. A straight forward one time load of files without having to bust them up would be ideal.
You can load that many, but I recommend that if the server is empty that you wait until loading is done before you point clients to it.

Last fiddled with by Uncwilly on 2020-08-07 at 02:50 Reason: fixed quotes

 2020-08-07, 03:44 #234 MyDogBuster     May 2008 Wilmington, DE 22·23·31 Posts Thanks Mark. Will try to load them all.
 2021-01-13, 11:59 #235 MisterBitcoin     "Nuri, the dragon :P" Jul 2016 Good old Germany 31416 Posts For now using srbsieve up to n=3000; after that i will use a script using srsieve2 and cllr. In general i think srsieve2 should be implemented in srbsieve to get a speed boost. Last fiddled with by gd_barnes on 2021-01-14 at 09:51 Reason: admin edit: split apart portion about reservation
 2021-01-13, 16:21 #236 VBCurtis     "Curtis" Feb 2005 Riverside, CA 462710 Posts Aren't the syntaxes the same for srsieve and srsieve2? Can't you just rename srsieve2 to srsieve and get what you want?
2021-01-13, 17:35   #237
MisterBitcoin

"Nuri, the dragon :P"
Jul 2016
Good old Germany

22×197 Posts

Quote:
 Originally Posted by VBCurtis Aren't the syntaxes the same for srsieve and srsieve2? Can't you just rename srsieve2 to srsieve and get what you want?

Sadly not. srsieve2 needs -s flag to import sequences from a file while srsieve just needs the name of a file to get the sequences loaded.

2021-01-13, 18:22   #238
rogue

"Mark"
Apr 2003
Between here and the

22·7·13·17 Posts

Quote:
 Originally Posted by MisterBitcoin Sadly not. srsieve2 needs -s flag to import sequences from a file while srsieve just needs the name of a file to get the sequences loaded.
It isn't quite a "slam dunk". It should support srsieve, srsieve2, and srsieve2cl as possible sieving programs.

2021-01-13, 18:49   #239
rogue

"Mark"
Apr 2003
Between here and the

22×7×13×17 Posts

You can try the following, but it will require change to your srbsieve.ini file. You need to change the phase lines. The first parameter should be the sieving program to use, "srsieve", "srsieve2", and "srsieve2cl" are the possible values but there isn't any explicit validation. So if you have:

phase=1000,100000,30000

it must now be:

phase=srsieve,1000,100000,30000

This will allow you to choose the program you want to use for each phase and play around with the configurations to determine to determine which works the best.

And no, I have not tested these changes.
Attached Files
 srbsieve_1.0.5.7z (159.6 KB, 5 views)

Last fiddled with by rogue on 2021-01-13 at 18:53

2021-01-13, 19:13   #240
MisterBitcoin

"Nuri, the dragon :P"
Jul 2016
Good old Germany

22·197 Posts

Quote:
 Originally Posted by rogue You can try the following, but it will require change to your srbsieve.ini file. You need to change the phase lines. The first parameter should be the sieving program to use, "srsieve", "srsieve2", and "srsieve2cl" are the possible values but there isn't any explicit validation. So if you have: phase=1000,100000,30000 it must now be: phase=srsieve,1000,100000,30000 This will allow you to choose the program you want to use for each phase and play around with the configurations to determine to determine which works the best. And no, I have not tested these changes.

Code:
Phase 3:  Processing k from 1132000000 to 1132052528
command: srsieve -q -m1e10 -P42000 -n145 -N192 -w sieve.in
srsieve2 v1.1, a program to find factors of k*b^n+c numbers for fixed b and variable k and n
srsieve: unknown option -- q
Fatal Error:  srsieve: invalid option -m1e10
Those flags also have been changed so i dont think it will work. Tried out your mention, but i got

Code:
Error: Could not process line phase=srsieve,144,33000,396000

2021-01-13, 20:07   #241
rogue

"Mark"
Apr 2003
Between here and the

618810 Posts

Quote:
 Originally Posted by MisterBitcoin Code: Phase 3: Processing k from 1132000000 to 1132052528 command: srsieve -q -m1e10 -P42000 -n145 -N192 -w sieve.in srsieve2 v1.1, a program to find factors of k*b^n+c numbers for fixed b and variable k and n srsieve: unknown option -- q Fatal Error: srsieve: invalid option -m1e10 Those flags also have been changed so i dont think it will work. Tried out your mention, but i got Code: Error: Could not process line phase=srsieve,144,33000,396000
You renamed srsieve2 to srsieve. Rename back to srsieve2 and update your ini file.

2021-01-13, 21:52   #242
MisterBitcoin

"Nuri, the dragon :P"
Jul 2016
Good old Germany

14248 Posts

Quote:
 Originally Posted by rogue You renamed srsieve2 to srsieve. Rename back to srsieve2 and update your ini file.

Did that and still get the Error that he couldnt process the line.

Code:
base=71
mink=1132000000
maxk=1132052528
c=-1
npgfile=1,1_.log
npgfile=2,2_.log
npgfile=3,3_.log
npgfile=4,4_.log
phase=srsieve,144,30000,300000
phase=srsieve,192,32981,42000
phase=srsieve,240,32976,225000

Thats the ini i am using, just for testing reasons.
(and yes i am using the srbsieve you posted)

 Similar Threads Thread Thread Starter Forum Replies Last Post __HRB__ Programming 41 2012-07-07 17:43 WraithX GMP-ECM 37 2011-10-28 01:04 gd_barnes No Prime Left Behind 48 2009-07-31 01:44 OmbooHankvald PSearch 3 2005-08-05 20:28 jasong Sierpinski/Riesel Base 5 10 2005-03-14 04:03

All times are UTC. The time now is 12:49.

Tue Jan 26 12:49:17 UTC 2021 up 54 days, 9 hrs, 0 users, load averages: 2.62, 2.94, 2.89