PrimeGrid
Please visit donation page to help the project cover running costs for this month

Toggle Menu

Join PrimeGrid

Returning Participants

Community

Leader Boards

Results

Other

drummers-lowrise

Advanced search

Message boards : Sieving : Possible to resume after a reboot / Ctrl-C?

Author Message
Profile Jordan Romaidis
Avatar
Send message
Joined: 11 May 17
Posts: 274
ID: 880615
Credit: 823,947,522
RAC: 0
Discovered 5 mega primesEliminated 1 conjecture "k"Discovered 1 AP26Found 1 prime in the 2018 Tour de PrimesFound 2 primes in the 2019 Tour de PrimesFound 2 primes in the 2020 Tour de PrimesFound 1 mega prime in the 2020 Tour de PrimesFound 1 prime in the 2020 Tour de Primes Mountain StageFound 1 mega prime in the 2020 Tour de Primes Mountain StageFound 1 prime in the 2021 Tour de PrimesFound 2 primes in the 2022 Tour de PrimesFound 1 mega prime in the 2022 Tour de PrimesFound 1 prime in the 2023 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (5,014,730)Cullen LLR Ruby: Earned 2,000,000 credits (2,080,460)ESP LLR Gold: Earned 500,000 credits (502,799)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (6,000,054)PPS LLR Double Bronze: Earned 100,000,000 credits (103,292,338)PSP LLR Amethyst: Earned 1,000,000 credits (1,092,773)SoB LLR Sapphire: Earned 20,000,000 credits (41,382,619)SR5 LLR Sapphire: Earned 20,000,000 credits (21,787,728)SGS LLR Sapphire: Earned 20,000,000 credits (20,284,625)TRP LLR Gold: Earned 500,000 credits (821,174)Woodall LLR Jade: Earned 10,000,000 credits (15,028,246)321 Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,084,376)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,606,749)PPS Sieve Sapphire: Earned 20,000,000 credits (30,065,949)AP 26/27 Double Silver: Earned 200,000,000 credits (257,818,067)GFN Double Bronze: Earned 100,000,000 credits (185,033,172)WW (retired) Emerald: Earned 50,000,000 credits (59,040,000)PSA Emerald: Earned 50,000,000 credits (53,011,665)
Message 111065 - Posted: 30 Oct 2017 | 17:37:11 UTC
Last modified: 30 Oct 2017 | 17:42:44 UTC

Is it possible to manually resume if the CMD line closes or is stopped?

Also, how do I change the B value after I've already started? Does that erase previous work?

Profile Michael GoetzProject donor
Volunteer moderator
Project administrator
Avatar
Send message
Joined: 21 Jan 10
Posts: 14037
ID: 53948
Credit: 477,214,715
RAC: 293,590
The "Shut up already!" badge:  This loud mouth has mansplained on the forums over 10 thousand times!  Sheesh!!!Discovered the World's First GFN-19 prime!!!Discovered 2 mega primesFound 1 prime in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de PrimesFound 1 prime in the 2020 Tour de PrimesFound 2 primes in the 2021 Tour de PrimesFound 2 primes in the 2022 Tour de PrimesFound 1 mega prime in the 2022 Tour de PrimesFound 1 prime in the 2022 Tour de Primes Mountain StageFound 1 prime in the 2023 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (6,949,793)Cullen LLR Turquoise: Earned 5,000,000 credits (5,513,946)ESP LLR Turquoise: Earned 5,000,000 credits (7,150,009)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (5,094,541)PPS LLR Sapphire: Earned 20,000,000 credits (24,049,916)PSP LLR Jade: Earned 10,000,000 credits (11,203,327)SoB LLR Sapphire: Earned 20,000,000 credits (36,601,737)SR5 LLR Sapphire: Earned 20,000,000 credits (22,821,256)SGS LLR Turquoise: Earned 5,000,000 credits (6,389,902)TRP LLR Turquoise: Earned 5,000,000 credits (6,308,522)Woodall LLR Turquoise: Earned 5,000,000 credits (6,390,624)321 Sieve (suspended) Jade: Earned 10,000,000 credits (10,061,196)Cullen/Woodall Sieve Emerald: Earned 50,000,000 credits (51,764,198)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,059,304)PPS Sieve Sapphire: Earned 20,000,000 credits (22,888,492)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,035,522)TRP Sieve (suspended) Ruby: Earned 2,000,000 credits (2,051,121)AP 26/27 Sapphire: Earned 20,000,000 credits (23,496,590)GFN Double Bronze: Earned 100,000,000 credits (120,616,519)WW (retired) Emerald: Earned 50,000,000 credits (88,580,000)PSA Jade: Earned 10,000,000 credits (13,196,884)
Message 111066 - Posted: 30 Oct 2017 | 17:44:47 UTC - in response to Message 111065.

Is it possible to manually resume if the CMD line closes or is stopped?


Yes. Just run the same command in the same directory. The sieve should pick up where it left off.

For example, I have a directory from which I run manual sieving. I'm currently running a GFN21 range, in two parts. I have this batch file in that directory:

start "Sieve A" gfnsvocl_w64_2G.exe 21 176750 176820 B%1 start "Sieve B" gfnsvocl_w64_2G.exe 21 176820 176890 B%1


I invoke it with:

go 8


(The 8 is the B parameter, which is used to tune speed vs. screen lag.)

This creates two CMD windows, each running the appropriate sieve portion. At any time I can stop those two sieves with CTRL-C. Entering "go 8" again in the original CMD window restarts both sieves where they left off.

It's not necessary to use a batch file to start the sieves, but I find it's convenient to do it this way.
____________
My lucky number is 75898524288+1

Profile Michael GoetzProject donor
Volunteer moderator
Project administrator
Avatar
Send message
Joined: 21 Jan 10
Posts: 14037
ID: 53948
Credit: 477,214,715
RAC: 293,590
The "Shut up already!" badge:  This loud mouth has mansplained on the forums over 10 thousand times!  Sheesh!!!Discovered the World's First GFN-19 prime!!!Discovered 2 mega primesFound 1 prime in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de PrimesFound 1 prime in the 2020 Tour de PrimesFound 2 primes in the 2021 Tour de PrimesFound 2 primes in the 2022 Tour de PrimesFound 1 mega prime in the 2022 Tour de PrimesFound 1 prime in the 2022 Tour de Primes Mountain StageFound 1 prime in the 2023 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (6,949,793)Cullen LLR Turquoise: Earned 5,000,000 credits (5,513,946)ESP LLR Turquoise: Earned 5,000,000 credits (7,150,009)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (5,094,541)PPS LLR Sapphire: Earned 20,000,000 credits (24,049,916)PSP LLR Jade: Earned 10,000,000 credits (11,203,327)SoB LLR Sapphire: Earned 20,000,000 credits (36,601,737)SR5 LLR Sapphire: Earned 20,000,000 credits (22,821,256)SGS LLR Turquoise: Earned 5,000,000 credits (6,389,902)TRP LLR Turquoise: Earned 5,000,000 credits (6,308,522)Woodall LLR Turquoise: Earned 5,000,000 credits (6,390,624)321 Sieve (suspended) Jade: Earned 10,000,000 credits (10,061,196)Cullen/Woodall Sieve Emerald: Earned 50,000,000 credits (51,764,198)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,059,304)PPS Sieve Sapphire: Earned 20,000,000 credits (22,888,492)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,035,522)TRP Sieve (suspended) Ruby: Earned 2,000,000 credits (2,051,121)AP 26/27 Sapphire: Earned 20,000,000 credits (23,496,590)GFN Double Bronze: Earned 100,000,000 credits (120,616,519)WW (retired) Emerald: Earned 50,000,000 credits (88,580,000)PSA Jade: Earned 10,000,000 credits (13,196,884)
Message 111067 - Posted: 30 Oct 2017 | 17:46:17 UTC - in response to Message 111065.
Last modified: 30 Oct 2017 | 17:46:57 UTC

Also, how do I change the B value after I've already started? Does that erase previous work?


Just stop the sieve(s) and restart with a different B value. That's one of the main reasons I use that batch file. It lets me easily experiment with different B settings.

EDIT: No work is lost when you stop and restart.
____________
My lucky number is 75898524288+1

Profile Jordan Romaidis
Avatar
Send message
Joined: 11 May 17
Posts: 274
ID: 880615
Credit: 823,947,522
RAC: 0
Discovered 5 mega primesEliminated 1 conjecture "k"Discovered 1 AP26Found 1 prime in the 2018 Tour de PrimesFound 2 primes in the 2019 Tour de PrimesFound 2 primes in the 2020 Tour de PrimesFound 1 mega prime in the 2020 Tour de PrimesFound 1 prime in the 2020 Tour de Primes Mountain StageFound 1 mega prime in the 2020 Tour de Primes Mountain StageFound 1 prime in the 2021 Tour de PrimesFound 2 primes in the 2022 Tour de PrimesFound 1 mega prime in the 2022 Tour de PrimesFound 1 prime in the 2023 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (5,014,730)Cullen LLR Ruby: Earned 2,000,000 credits (2,080,460)ESP LLR Gold: Earned 500,000 credits (502,799)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (6,000,054)PPS LLR Double Bronze: Earned 100,000,000 credits (103,292,338)PSP LLR Amethyst: Earned 1,000,000 credits (1,092,773)SoB LLR Sapphire: Earned 20,000,000 credits (41,382,619)SR5 LLR Sapphire: Earned 20,000,000 credits (21,787,728)SGS LLR Sapphire: Earned 20,000,000 credits (20,284,625)TRP LLR Gold: Earned 500,000 credits (821,174)Woodall LLR Jade: Earned 10,000,000 credits (15,028,246)321 Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,084,376)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,606,749)PPS Sieve Sapphire: Earned 20,000,000 credits (30,065,949)AP 26/27 Double Silver: Earned 200,000,000 credits (257,818,067)GFN Double Bronze: Earned 100,000,000 credits (185,033,172)WW (retired) Emerald: Earned 50,000,000 credits (59,040,000)PSA Emerald: Earned 50,000,000 credits (53,011,665)
Message 111071 - Posted: 30 Oct 2017 | 22:57:06 UTC - in response to Message 111067.

Thank you for the informative replies Michael!

recoil44Project donor
Avatar
Send message
Joined: 20 Dec 15
Posts: 167
ID: 433037
Credit: 411,347,492
RAC: 0
Discovered 1 mega primeFound 1 prime in the 2019 Tour de PrimesFound 1 mega prime in the 2019 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (5,019,377)Cullen LLR Turquoise: Earned 5,000,000 credits (5,064,170)ESP LLR Turquoise: Earned 5,000,000 credits (5,001,303)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (5,094,139)PPS LLR Turquoise: Earned 5,000,000 credits (6,021,807)PSP LLR Turquoise: Earned 5,000,000 credits (5,085,124)SoB LLR Turquoise: Earned 5,000,000 credits (5,042,051)SR5 LLR Turquoise: Earned 5,000,000 credits (5,077,248)SGS LLR Turquoise: Earned 5,000,000 credits (5,000,448)TRP LLR Turquoise: Earned 5,000,000 credits (5,003,404)Woodall LLR Turquoise: Earned 5,000,000 credits (5,035,352)321 Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,061,436)Generalized Cullen/Woodall Sieve (suspended) Jade: Earned 10,000,000 credits (10,012,148)PPS Sieve Double Bronze: Earned 100,000,000 credits (108,556,313)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (2,089,865)TRP Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,297,782)AP 26/27 Emerald: Earned 50,000,000 credits (50,153,415)GFN Double Bronze: Earned 100,000,000 credits (106,065,222)PSA Emerald: Earned 50,000,000 credits (67,666,890)
Message 111073 - Posted: 31 Oct 2017 | 1:39:20 UTC

Related question:
How do I know that a sieve has successfully completed and wasn't shut down by a power loss? Restart the sieve just to be sure?

My home computers don't stop at the log in screen on boot-up so unless I check the reliability history there's no indication that anything happened.

JimBProject donor
Honorary cruncher
Send message
Joined: 4 Aug 11
Posts: 920
ID: 107307
Credit: 989,568,983
RAC: 24,972
Discovered 1 mega prime321 LLR Turquoise: Earned 5,000,000 credits (5,009,915)Cullen LLR Turquoise: Earned 5,000,000 credits (5,031,868)ESP LLR Turquoise: Earned 5,000,000 credits (5,064,082)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (5,038,750)PPS LLR Turquoise: Earned 5,000,000 credits (5,000,461)PSP LLR Turquoise: Earned 5,000,000 credits (7,674,374)SoB LLR Sapphire: Earned 20,000,000 credits (42,604,648)SR5 LLR Jade: Earned 10,000,000 credits (11,829,173)SGS LLR Ruby: Earned 2,000,000 credits (2,865,742)TRP LLR Ruby: Earned 2,000,000 credits (4,664,880)Woodall LLR Turquoise: Earned 5,000,000 credits (5,046,412)321 Sieve (suspended) Jade: Earned 10,000,000 credits (10,057,614)Cullen/Woodall Sieve Jade: Earned 10,000,000 credits (11,209,718)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,005,451)PPS Sieve Emerald: Earned 50,000,000 credits (52,049,707)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (2,341,676)TRP Sieve (suspended) Ruby: Earned 2,000,000 credits (2,070,804)AP 26/27 Jade: Earned 10,000,000 credits (10,742,251)GFN Emerald: Earned 50,000,000 credits (50,005,964)WW (retired) Ruby: Earned 2,000,000 credits (2,688,000)PSA Double Gold: Earned 500,000,000 credits (728,567,693)
Message 111074 - Posted: 31 Oct 2017 | 3:34:15 UTC - in response to Message 111073.

Related question:
How do I know that a sieve has successfully completed and wasn't shut down by a power loss? Restart the sieve just to be sure?


You could do that. A completed sieve (assuming the checkpoint file still exists) will exit immediately with a message that the range had already been completed. Alternatively you could open the factor file in a text editor and see if stops where it's supposed to. All uploaded factor files are tested to make sure they end at the right place, so even if you don't catch it, I will.

Message boards : Sieving : Possible to resume after a reboot / Ctrl-C?

[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2023 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 2.05, 1.87, 1.97
Generated 23 Sep 2023 | 22:19:27 UTC