mersenneforum.org Restart ;)
 Register FAQ Search Today's Posts Mark Forums Read

 2010-05-21, 17:28 #1 Svenie25     Aug 2008 Good old Germany 3·47 Posts Restart ;) Hi Folks. After around one year of being absent, I am back. ;) I would like to restart my small project to find a prime @ n=666777. I know, it is a lot of work... And now my question is, if someone please could give me some hints how to use tpsieve for the start. Am I right, that I have to do a short sieve with NewPGen? Any hint would be very helpfull. Thanks in advise Sven S.
 2010-05-21, 21:44 #2 Oddball     May 2010 1111100112 Posts On my PC, NewPGen is faster than tpsieve for one n. If you still want to use tpsieve, click the start menu, click "Run...", and then type in "cmd". The command prompt will come up, and you should type "cd [file that tpsieve is in]". Once that's done, type in: tpsieve -i (name of file) -p 10e9* -P 20e9** -N 666777 *lower limit of range. One example is to use 10e9 to begin sieving from p=10G. **upper limit of range. One example is to use 20e9 to finish sieving at p=20G. By the way, would you be interested in testing n=390000? The testing times are faster, and you have a greater chance of finding a twin. Reservations are available here: http://www.mersenneforum.org/showthread.php?t=13376 edit: Unlike NewPGen, tpsieve only gives you a list of factors; it doesn't remove them from the file. You need to remove those factors from the sieve file manually or write a separate program to do so. Last fiddled with by Oddball on 2010-05-21 at 21:52
2010-08-05, 19:38   #3
Puzzle-Peter

Jun 2009

22×132 Posts

Quote:
 Originally Posted by Oddball edit: Unlike NewPGen, tpsieve only gives you a list of factors; it doesn't remove them from the file. You need to remove those factors from the sieve file manually or write a separate program to do so.
Don't know about Windows, but in Linux it's only a few shell commands.

Good luck, btw.

Last fiddled with by Puzzle-Peter on 2010-08-05 at 19:54

2010-08-05, 22:21   #4
mdettweiler
A Sunny Moo

Aug 2007
USA (GMT-5)

186916 Posts

Quote:
 Originally Posted by Puzzle-Peter Don't know about Windows, but in Linux it's only a few shell commands. Good luck, btw.
I usually just use srfile (included with the srsieve sieving program), which can remove factors from a NewPGen formatted file with the following command:

srfile -G -k factors.txt sieve.txt

That will output the sieve file with factors removed to t17_b2.prp. I've never tried it with a twin sieve file before; the exact output file name may be different, but it should work properly.

 2010-08-05, 23:04 #5 kar_bon     Mar 2006 Germany 54518 Posts srfile can't handle candidate-files for twin-search! If you want to sieve for twins with n=666777 and with kmin=1 (or 2) / kmax=1M using tpsieve, you need a file with kmax < pmin, so for this example sieve with NewPGen upto p=1M first. If you got a multicore, use a file called "tpconfig.txt" and insert a line containig the number of threads. So for a Quad insert Code: threads=4 After NewPGen'ing you got a file (named say '666777.txt') like this Code: 2000002:T:0:2:3 75 666777 165 666777 765 666777 1239 666777 1431 666777 ... and now you can call tpsieve with Code: tpsieve -i 666777.txt -p 2e6 -P 1e9 Here 'pmin' is the the sieve-depth of the NewPGen file in the header line. Now tpsieve will sieve in 4 threads upto p=1e9. I've not yet tested/compared the timings for NewPGen and tpsieve. To consider: tpsieve will find multiple factors of one candidate, NewPGen don't! To remove the factors tpsieve will find (in a file called 'tpfactors.txt'), you have to use a script!

 Similar Threads Thread Thread Starter Forum Replies Last Post Thecmaster Hardware 8 2016-05-14 02:22 aketilander Software 3 2011-09-03 11:12 jinydu Lounge 3 2008-07-19 08:55 Unregistered Software 3 2003-11-19 23:19 Cactiman Software 1 2003-06-04 14:19

All times are UTC. The time now is 11:52.

Fri Dec 4 11:52:08 UTC 2020 up 1 day, 8:03, 0 users, load averages: 1.97, 1.58, 1.52