mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Factoring

Reply
 
Thread Tools
Old 2010-06-09, 01:15   #34
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

224058 Posts
Default

Quote:
Originally Posted by richs View Post
I was wondering if someone would kindly give me some advice. I am sieving 60M-61M and was about 69% complete when I noticed that the siever had not incremented over the past few hours. I shut down the siever with control-C.

The number in .last_spq0 is 60690713. How do I restart without losing what I have done so far? I already backed up .last_spq0 and 2801_79.out (my output file).
1. If it had been a BSOD or planned restart, then you could probably repeat the last command line and add -R to the end of it. Backup the output file but leave it in this directory as well (because -R scans the file).
1a. Your binary may not know -R option; then indeed override -f and -c as suggested above; and get a newer one from Jeff's site.
2. However, if the progress report had not incremented (and the computer was not swapping), then it could have been stuck in an infinite loop. What kind of a binary was it? Some binaries are patched for this, old ones are not, but there's another consequence for you - it may get stuck again, on the same value.
3. So, if it starts and gets stuck again, kill it and increase the -f value beyond the "stuck" special_q. Note: the "stuck" q=... on the screen is the previous special_q! The next primes are 60690727 and 60690733. If it get stuck on 60690727, proceed to next, etc. Even old binaries get stuck on one q perl many million, so you will probably not hit another loop.

Tell us later, how it proceeded. -Serge

P.S. The 64-bit binary didn't get stuck. Here's the number of relations for some next spq0's:
29 60690713
30 60690727
33 60690733
45 60690739
40 60690757
8 60690761
27 60690779
43 60690781
37 60690787
37 60690803

Last fiddled with by Batalov on 2010-06-09 at 01:45 Reason: (ran a test on the latest binary)
Batalov is offline   Reply With Quote
Old 2010-06-09, 01:15   #35
richs
 
richs's Avatar
 
"Rich"
Aug 2002
Benicia, California

32×5×29 Posts
Default

Thanks, apocalypse. Looks like I'll have two output files which I assume should not be a problem.
richs is offline   Reply With Quote
Old 2010-06-09, 01:44   #36
richs
 
richs's Avatar
 
"Rich"
Aug 2002
Benicia, California

32×5×29 Posts
Default

The binary was svn374-win32-p4 downloaded mid-May.

Here's what happened since I wasn't sure of the syntax for using -R:

C:\Program Files\GGNFS>gnfs-lasieve4I15e -r 2801_79.poly -o 2801_79.out -f 60690713 -c 309287 -R
Resuming with -f 60999629 -c 371
Warning: lowering FB_bound to 60999628.
^C
C:\Program Files\GGNFS>gnfs-lasieve4I15e -r 2801_79.poly -o 2801_79.out -f 60690713 -c 309287
Warning: lowering FB_bound to 60690712.

I had already made a back-up of the output file. Since the program started at 60999628, I knew that I had the -R syntax incorrect, so I stopped and restarted as shown. I will end up with two output files for this range.

Thanks for the advice since I am just learning how this works.
richs is offline   Reply With Quote
Old 2010-06-09, 04:34   #37
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3·2,083 Posts
Default

Quote:
Originally Posted by richs View Post
The binary was svn374-win32-p4 downloaded mid-May.

Here's what happened since I wasn't sure of the syntax for using -R:

C:\Program Files\GGNFS>gnfs-lasieve4I15e -r 2801_79.poly -o 2801_79.out -f 60690713 -c 309287 -R
Resuming with -f 60999629 -c 371
Warning: lowering FB_bound to 60999628.
^C
C:\Program Files\GGNFS>gnfs-lasieve4I15e -r 2801_79.poly -o 2801_79.out -f 60690713 -c 309287
Warning: lowering FB_bound to 60690712.

I had already made a back-up of the output file. Since the program started at 60999628, I knew that I had the -R syntax incorrect, so I stopped and restarted as shown. I will end up with two output files for this range.

Thanks for the advice since I am just learning how this works.
I belive what you need to do for -R is to use the original -f and -c parameters:

gnfs-lasieve4I15e -r 2801_79.poly -o 2801_79.out -f 60000000 -c 1000000 -R

That should then automatically scan the file, pick up where it left off and continue to the end of the range. (Disclaimer: I haven't actually tried this. The last time I used a ggnfs siever standalone, i.e. outside of factmsieve.pl/py, was before the -R feature was implemented and thus I had to use the "old fashioned" resume method that you're using now. Someone else with more experience should be able to confirm whether what I suggested is correct.)
mdettweiler is offline   Reply With Quote
Old 2010-06-09, 12:39   #38
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

17×251 Posts
Default

Quote:
Originally Posted by mdettweiler View Post
I belive what you need to do for -R is to use the original -f and -c parameters:
Yep, this is right.
Mini-Geek is offline   Reply With Quote
Old 2010-06-09, 13:37   #39
Andi47
 
Andi47's Avatar
 
Oct 2004
Austria

2·17·73 Posts
Default

Quote:
Originally Posted by mdettweiler View Post
I belive what you need to do for -R is to use the original -f and -c parameters:

gnfs-lasieve4I15e -r 2801_79.poly -o 2801_79.out -f 60000000 -c 1000000 -R

That should then automatically scan the file, pick up where it left off and continue to the end of the range. (Disclaimer: I haven't actually tried this. The last time I used a ggnfs siever standalone, i.e. outside of factmsieve.pl/py, was before the -R feature was implemented and thus I had to use the "old fashioned" resume method that you're using now. Someone else with more experience should be able to confirm whether what I suggested is correct.)
I have done this quite often and it works like you said. For me it has always worked. (the only times it had failed turned out to be input errors, i.e. a typo in the command line or when I accidently typed "-a" when it should have "-r", or vice versa.)

If the last line of the output file is truncated (that happens quite often), an error message like "Warning: incomplete line. If it's just a few, it's ok, they will be skipped". This is nothing to worry about, as long as you don't get hundreds of these messages.
Andi47 is offline   Reply With Quote
Old 2010-06-20, 19:02   #40
chris2be8
 
chris2be8's Avatar
 
Sep 2009

2×1,039 Posts
Default

Reserving 137M-139M.

Chris K

PS. This thread needs a post that isn't deleted to move it back up to near the top of the forum.

Let's make it sticky until sieving is finished

Last fiddled with by wblipp on 2010-06-20 at 23:19 Reason: Note on Stickiness
chris2be8 is offline   Reply With Quote
Old 2010-06-21, 23:03   #41
richs
 
richs's Avatar
 
"Rich"
Aug 2002
Benicia, California

32·5·29 Posts
Default

60-61M complete and submitted.

Reserving 139-140M.
richs is offline   Reply With Quote
Old 2010-06-23, 04:05   #42
apocalypse
 
Feb 2003

2×3×29 Posts
Default

115M-119M completed. 7160853 relations in the range (7130008 unique). uploading now.

Reserving 140M-144M
apocalypse is offline   Reply With Quote
Old 2010-06-23, 16:15   #43
chris2be8
 
chris2be8's Avatar
 
Sep 2009

207810 Posts
Default

113M-115M uploaded. 3588854 relations.

Chris K
chris2be8 is offline   Reply With Quote
Old 2010-06-24, 10:00   #44
Gimarel
 
Apr 2010

2468 Posts
Default

Reserving 144M-148M
Gimarel is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Four more primes contest! -Closed Joe O Sierpinski/Riesel Base 5 9 2010-11-16 00:11
Run to the Top Contest - Closed Joe O Sierpinski/Riesel Base 5 12 2010-10-11 16:22
2801^79-1; thoughts on duplication sampling fivemack Factoring 0 2010-04-15 22:23
5^421-1 sieving (reservations closed) fivemack Factoring 124 2008-11-18 22:24
Is P.I.E.S. still closed to some users? jasong Information & Answers 9 2005-10-23 19:04

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


Sat Jul 17 00:16:45 UTC 2021 up 49 days, 22:04, 1 user, load averages: 1.36, 1.60, 1.58

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.