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: 213
ID: 880615
Credit: 665,157,192
RAC: 11
Discovered 4 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 Stage321 LLR Ruby: Earned 2,000,000 credits (4,574,478)Cullen LLR Ruby: Earned 2,000,000 credits (2,080,460)ESP LLR Gold: Earned 500,000 credits (502,325)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (6,000,054)PPS LLR Emerald: Earned 50,000,000 credits (91,487,742)PSP LLR Bronze: Earned 10,000 credits (23,710)SoB LLR Sapphire: Earned 20,000,000 credits (39,985,666)SR5 LLR Jade: Earned 10,000,000 credits (16,535,456)SGS LLR Jade: Earned 10,000,000 credits (18,555,210)TRP LLR Gold: Earned 500,000 credits (525,711)Woodall LLR Jade: Earned 10,000,000 credits (15,028,246)321 Sieve Amethyst: Earned 1,000,000 credits (1,062,420)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,606,749)PPS Sieve Sapphire: Earned 20,000,000 credits (23,296,981)AP 26/27 Double Silver: Earned 200,000,000 credits (225,955,184)GFN Double Bronze: Earned 100,000,000 credits (146,045,712)PSA Emerald: Earned 50,000,000 credits (52,891,089)
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: 13326
ID: 53948
Credit: 224,564,490
RAC: 49,031
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 1 mega primeFound 1 prime in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de PrimesFound 1 prime in the 2020 Tour de Primes321 LLR Ruby: Earned 2,000,000 credits (2,822,730)Cullen LLR Ruby: Earned 2,000,000 credits (2,005,249)ESP LLR Turquoise: Earned 5,000,000 credits (5,009,577)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,145,754)PPS LLR Jade: Earned 10,000,000 credits (13,316,582)PSP LLR Turquoise: Earned 5,000,000 credits (5,197,957)SoB LLR Sapphire: Earned 20,000,000 credits (34,291,181)SR5 LLR Jade: Earned 10,000,000 credits (10,007,110)SGS LLR Ruby: Earned 2,000,000 credits (2,276,330)TRP LLR Ruby: Earned 2,000,000 credits (4,527,210)Woodall LLR Ruby: Earned 2,000,000 credits (2,195,123)321 Sieve Jade: Earned 10,000,000 credits (10,061,196)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,170,256)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,059,304)PPS Sieve Sapphire: Earned 20,000,000 credits (22,885,121)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 Jade: Earned 10,000,000 credits (10,118,303)GFN Emerald: Earned 50,000,000 credits (72,944,307)PSA Jade: Earned 10,000,000 credits (12,445,029)
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: 13326
ID: 53948
Credit: 224,564,490
RAC: 49,031
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 1 mega primeFound 1 prime in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de PrimesFound 1 prime in the 2020 Tour de Primes321 LLR Ruby: Earned 2,000,000 credits (2,822,730)Cullen LLR Ruby: Earned 2,000,000 credits (2,005,249)ESP LLR Turquoise: Earned 5,000,000 credits (5,009,577)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,145,754)PPS LLR Jade: Earned 10,000,000 credits (13,316,582)PSP LLR Turquoise: Earned 5,000,000 credits (5,197,957)SoB LLR Sapphire: Earned 20,000,000 credits (34,291,181)SR5 LLR Jade: Earned 10,000,000 credits (10,007,110)SGS LLR Ruby: Earned 2,000,000 credits (2,276,330)TRP LLR Ruby: Earned 2,000,000 credits (4,527,210)Woodall LLR Ruby: Earned 2,000,000 credits (2,195,123)321 Sieve Jade: Earned 10,000,000 credits (10,061,196)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,170,256)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,059,304)PPS Sieve Sapphire: Earned 20,000,000 credits (22,885,121)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 Jade: Earned 10,000,000 credits (10,118,303)GFN Emerald: Earned 50,000,000 credits (72,944,307)PSA Jade: Earned 10,000,000 credits (12,445,029)
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: 213
ID: 880615
Credit: 665,157,192
RAC: 11
Discovered 4 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 Stage321 LLR Ruby: Earned 2,000,000 credits (4,574,478)Cullen LLR Ruby: Earned 2,000,000 credits (2,080,460)ESP LLR Gold: Earned 500,000 credits (502,325)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (6,000,054)PPS LLR Emerald: Earned 50,000,000 credits (91,487,742)PSP LLR Bronze: Earned 10,000 credits (23,710)SoB LLR Sapphire: Earned 20,000,000 credits (39,985,666)SR5 LLR Jade: Earned 10,000,000 credits (16,535,456)SGS LLR Jade: Earned 10,000,000 credits (18,555,210)TRP LLR Gold: Earned 500,000 credits (525,711)Woodall LLR Jade: Earned 10,000,000 credits (15,028,246)321 Sieve Amethyst: Earned 1,000,000 credits (1,062,420)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,606,749)PPS Sieve Sapphire: Earned 20,000,000 credits (23,296,981)AP 26/27 Double Silver: Earned 200,000,000 credits (225,955,184)GFN Double Bronze: Earned 100,000,000 credits (146,045,712)PSA Emerald: Earned 50,000,000 credits (52,891,089)
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 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: 916
ID: 107307
Credit: 974,118,817
RAC: 0
Discovered 1 mega prime321 LLR Ruby: Earned 2,000,000 credits (2,691,081)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,220)PSP LLR Turquoise: Earned 5,000,000 credits (7,639,762)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,070,105)TRP LLR Ruby: Earned 2,000,000 credits (2,291,092)Woodall LLR Turquoise: Earned 5,000,000 credits (5,046,412)321 Sieve Jade: Earned 10,000,000 credits (10,057,614)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,002,919)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,005,451)PPS Sieve Emerald: Earned 50,000,000 credits (52,042,965)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,000,251)PSA Double Gold: Earned 500,000,000 credits (728,547,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 - 2020 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 3.39, 3.00, 3.29
Generated 26 Sep 2020 | 16:22:15 UTC