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 : Project Staging Area : Run exactly two tasks, then quit?

Author Message
puh32
Send message
Joined: 2 Feb 09
Posts: 54
ID: 34980
Credit: 199,854,690
RAC: 10,082
Discovered 1 mega primeFound 1 prime in the 2019 Tour de Primes321 LLR Amethyst: Earned 1,000,000 credits (1,797,721)Cullen LLR Ruby: Earned 2,000,000 credits (2,027,296)ESP LLR Silver: Earned 100,000 credits (484,481)Generalized Cullen/Woodall LLR Bronze: Earned 10,000 credits (15,296)PPS LLR Turquoise: Earned 5,000,000 credits (8,675,072)PSP LLR Amethyst: Earned 1,000,000 credits (1,910,652)SoB LLR Ruby: Earned 2,000,000 credits (2,097,228)SR5 LLR Ruby: Earned 2,000,000 credits (3,960,987)SGS LLR Ruby: Earned 2,000,000 credits (3,965,211)TRP LLR Gold: Earned 500,000 credits (780,520)Woodall LLR Ruby: Earned 2,000,000 credits (2,533,135)AP 26/27 Emerald: Earned 50,000,000 credits (50,816,467)GFN Double Bronze: Earned 100,000,000 credits (110,871,837)PSA Turquoise: Earned 5,000,000 credits (9,917,946)
Message 135590 - Posted: 12 Dec 2019 | 21:10:25 UTC

Is there a straightforward way to have prpclient run exactly two tasks, and then quit? (Without having to modify the config file over and over.)

Profile [AF>Le_Pommier] AillasProject donor
Volunteer moderator
Volunteer tester
Send message
Joined: 4 Jul 07
Posts: 559
ID: 9587
Credit: 175,955,471
RAC: 58,746
Found 1 prime in the 2018 Tour de Primes321 LLR Ruby: Earned 2,000,000 credits (2,137,513)Cullen LLR Ruby: Earned 2,000,000 credits (2,132,111)ESP LLR Ruby: Earned 2,000,000 credits (2,282,922)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,322,779)PPS LLR Turquoise: Earned 5,000,000 credits (5,019,149)PSP LLR Ruby: Earned 2,000,000 credits (2,160,022)SoB LLR Turquoise: Earned 5,000,000 credits (5,579,995)SR5 LLR Turquoise: Earned 5,000,000 credits (5,087,322)SGS LLR Ruby: Earned 2,000,000 credits (2,004,892)TRP LLR Ruby: Earned 2,000,000 credits (3,379,930)Woodall LLR Ruby: Earned 2,000,000 credits (2,061,561)321 Sieve Turquoise: Earned 5,000,000 credits (8,893,963)Cullen/Woodall Sieve (suspended) Silver: Earned 100,000 credits (200,270)Generalized Cullen/Woodall Sieve (suspended) Jade: Earned 10,000,000 credits (10,001,914)PPS Sieve Sapphire: Earned 20,000,000 credits (26,509,601)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (2,145,806)TRP Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,056,568)AP 26/27 Jade: Earned 10,000,000 credits (10,162,082)GFN Sapphire: Earned 20,000,000 credits (24,546,226)PSA Emerald: Earned 50,000,000 credits (54,270,405)
Message 135618 - Posted: 13 Dec 2019 | 7:55:26 UTC - in response to Message 135590.
Last modified: 13 Dec 2019 | 7:56:15 UTC

It's very well explained in the config file (master_)prpclient.ini
When you configure which project to use:

// <suffix>:<pct>:<workunits>:<server IP>:<port> // // <suffix> - a unique suffix for the server. This is used to distinguish // file names that are created for each configured server. // <pct> - the percentage of PRP tests to do from the server. // <workunits> - the number of PRP tests to get from the server. The // server also has a limit, so the server will never return // more than its limit. // <server IP> - the IP address or name for the server // <port> - the port of the PRPNet server // // Setting pct to 0 means that the client will only get work from the // server if it cannot connect to one of the other configured servers. // Please read the prpnet_servers.txt in this directory for information // on the latest PRPNet servers.


To get only 2 task, configure your .ini file like this (for project 121 for ex):

//server=121:100:2:prpnet.primegrid.com:12001

You will run you client only on 121 project getting 2 tasks at a time.

To run and quit it's also explained in the ini file:

startoption=6
// 6 - Complete all work units, report them, then shut down

stopoption=9 (If you stop with CTRL-C)
// 9 - Do nothing and shut down (presumes you will restart with startoption=9)

stopasapoption=0
// 0 - Continue processing work unit


Hope this help
____________
Badge Score: 1*2 + 10*5 + 4*6 + 2*7 + 2*8 + 1*9 = 115

puh32
Send message
Joined: 2 Feb 09
Posts: 54
ID: 34980
Credit: 199,854,690
RAC: 10,082
Discovered 1 mega primeFound 1 prime in the 2019 Tour de Primes321 LLR Amethyst: Earned 1,000,000 credits (1,797,721)Cullen LLR Ruby: Earned 2,000,000 credits (2,027,296)ESP LLR Silver: Earned 100,000 credits (484,481)Generalized Cullen/Woodall LLR Bronze: Earned 10,000 credits (15,296)PPS LLR Turquoise: Earned 5,000,000 credits (8,675,072)PSP LLR Amethyst: Earned 1,000,000 credits (1,910,652)SoB LLR Ruby: Earned 2,000,000 credits (2,097,228)SR5 LLR Ruby: Earned 2,000,000 credits (3,960,987)SGS LLR Ruby: Earned 2,000,000 credits (3,965,211)TRP LLR Gold: Earned 500,000 credits (780,520)Woodall LLR Ruby: Earned 2,000,000 credits (2,533,135)AP 26/27 Emerald: Earned 50,000,000 credits (50,816,467)GFN Double Bronze: Earned 100,000,000 credits (110,871,837)PSA Turquoise: Earned 5,000,000 credits (9,917,946)
Message 135623 - Posted: 13 Dec 2019 | 10:11:03 UTC - in response to Message 135618.

Many thanks for your time here! I did spend significant time with the documentation, but unlike you I was unable to synthesize a bird's eye view of it.

I'm eager to take your suggestions for a spin, but I'm struggling with the "Could not determine version of phrot being used. Missing version data" problem" right now.

I'll post back if I resolve it.

Thanks again.

puh32
Send message
Joined: 2 Feb 09
Posts: 54
ID: 34980
Credit: 199,854,690
RAC: 10,082
Discovered 1 mega primeFound 1 prime in the 2019 Tour de Primes321 LLR Amethyst: Earned 1,000,000 credits (1,797,721)Cullen LLR Ruby: Earned 2,000,000 credits (2,027,296)ESP LLR Silver: Earned 100,000 credits (484,481)Generalized Cullen/Woodall LLR Bronze: Earned 10,000 credits (15,296)PPS LLR Turquoise: Earned 5,000,000 credits (8,675,072)PSP LLR Amethyst: Earned 1,000,000 credits (1,910,652)SoB LLR Ruby: Earned 2,000,000 credits (2,097,228)SR5 LLR Ruby: Earned 2,000,000 credits (3,960,987)SGS LLR Ruby: Earned 2,000,000 credits (3,965,211)TRP LLR Gold: Earned 500,000 credits (780,520)Woodall LLR Ruby: Earned 2,000,000 credits (2,533,135)AP 26/27 Emerald: Earned 50,000,000 credits (50,816,467)GFN Double Bronze: Earned 100,000,000 credits (110,871,837)PSA Turquoise: Earned 5,000,000 credits (9,917,946)
Message 135662 - Posted: 14 Dec 2019 | 14:17:47 UTC - in response to Message 135623.

//phrotexe=./phrot

Commenting out this line solved the problem.

Profile [AF>Le_Pommier] AillasProject donor
Volunteer moderator
Volunteer tester
Send message
Joined: 4 Jul 07
Posts: 559
ID: 9587
Credit: 175,955,471
RAC: 58,746
Found 1 prime in the 2018 Tour de Primes321 LLR Ruby: Earned 2,000,000 credits (2,137,513)Cullen LLR Ruby: Earned 2,000,000 credits (2,132,111)ESP LLR Ruby: Earned 2,000,000 credits (2,282,922)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,322,779)PPS LLR Turquoise: Earned 5,000,000 credits (5,019,149)PSP LLR Ruby: Earned 2,000,000 credits (2,160,022)SoB LLR Turquoise: Earned 5,000,000 credits (5,579,995)SR5 LLR Turquoise: Earned 5,000,000 credits (5,087,322)SGS LLR Ruby: Earned 2,000,000 credits (2,004,892)TRP LLR Ruby: Earned 2,000,000 credits (3,379,930)Woodall LLR Ruby: Earned 2,000,000 credits (2,061,561)321 Sieve Turquoise: Earned 5,000,000 credits (8,893,963)Cullen/Woodall Sieve (suspended) Silver: Earned 100,000 credits (200,270)Generalized Cullen/Woodall Sieve (suspended) Jade: Earned 10,000,000 credits (10,001,914)PPS Sieve Sapphire: Earned 20,000,000 credits (26,509,601)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (2,145,806)TRP Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,056,568)AP 26/27 Jade: Earned 10,000,000 credits (10,162,082)GFN Sapphire: Earned 20,000,000 credits (24,546,226)PSA Emerald: Earned 50,000,000 credits (54,270,405)
Message 135663 - Posted: 14 Dec 2019 | 14:26:15 UTC - in response to Message 135623.

Which PSA project do you want to run?

What's your computer system? Windows or Linux/Mac?

It's probaly how the path to you proth application is configured in your .ini file.

On Linux:Mac you should define like this:
phrotexe=./phrot

On Windows (I don't have a win system right now to be sure about the exe name)
phrotexe=phrot.exe (<- check the exe name on your computer)

'./' prefix path should be used on *nix system only.

Verify this point. It could be on of the possibility of your problem.
____________
Badge Score: 1*2 + 10*5 + 4*6 + 2*7 + 2*8 + 1*9 = 115

Profile [AF>Le_Pommier] AillasProject donor
Volunteer moderator
Volunteer tester
Send message
Joined: 4 Jul 07
Posts: 559
ID: 9587
Credit: 175,955,471
RAC: 58,746
Found 1 prime in the 2018 Tour de Primes321 LLR Ruby: Earned 2,000,000 credits (2,137,513)Cullen LLR Ruby: Earned 2,000,000 credits (2,132,111)ESP LLR Ruby: Earned 2,000,000 credits (2,282,922)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,322,779)PPS LLR Turquoise: Earned 5,000,000 credits (5,019,149)PSP LLR Ruby: Earned 2,000,000 credits (2,160,022)SoB LLR Turquoise: Earned 5,000,000 credits (5,579,995)SR5 LLR Turquoise: Earned 5,000,000 credits (5,087,322)SGS LLR Ruby: Earned 2,000,000 credits (2,004,892)TRP LLR Ruby: Earned 2,000,000 credits (3,379,930)Woodall LLR Ruby: Earned 2,000,000 credits (2,061,561)321 Sieve Turquoise: Earned 5,000,000 credits (8,893,963)Cullen/Woodall Sieve (suspended) Silver: Earned 100,000 credits (200,270)Generalized Cullen/Woodall Sieve (suspended) Jade: Earned 10,000,000 credits (10,001,914)PPS Sieve Sapphire: Earned 20,000,000 credits (26,509,601)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (2,145,806)TRP Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,056,568)AP 26/27 Jade: Earned 10,000,000 credits (10,162,082)GFN Sapphire: Earned 20,000,000 credits (24,546,226)PSA Emerald: Earned 50,000,000 credits (54,270,405)
Message 135664 - Posted: 14 Dec 2019 | 14:26:57 UTC - in response to Message 135662.

//phrotexe=./phrot

Commenting out this line solved the problem.


Even simpler... :)
____________
Badge Score: 1*2 + 10*5 + 4*6 + 2*7 + 2*8 + 1*9 = 115

puh32
Send message
Joined: 2 Feb 09
Posts: 54
ID: 34980
Credit: 199,854,690
RAC: 10,082
Discovered 1 mega primeFound 1 prime in the 2019 Tour de Primes321 LLR Amethyst: Earned 1,000,000 credits (1,797,721)Cullen LLR Ruby: Earned 2,000,000 credits (2,027,296)ESP LLR Silver: Earned 100,000 credits (484,481)Generalized Cullen/Woodall LLR Bronze: Earned 10,000 credits (15,296)PPS LLR Turquoise: Earned 5,000,000 credits (8,675,072)PSP LLR Amethyst: Earned 1,000,000 credits (1,910,652)SoB LLR Ruby: Earned 2,000,000 credits (2,097,228)SR5 LLR Ruby: Earned 2,000,000 credits (3,960,987)SGS LLR Ruby: Earned 2,000,000 credits (3,965,211)TRP LLR Gold: Earned 500,000 credits (780,520)Woodall LLR Ruby: Earned 2,000,000 credits (2,533,135)AP 26/27 Emerald: Earned 50,000,000 credits (50,816,467)GFN Double Bronze: Earned 100,000,000 credits (110,871,837)PSA Turquoise: Earned 5,000,000 credits (9,917,946)
Message 135665 - Posted: 14 Dec 2019 | 14:32:05 UTC - in response to Message 135664.

Thanks, nevertheless, for your feedback!

Post to thread

Message boards : Project Staging Area : Run exactly two tasks, then quit?

[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2020 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 2.07, 2.83, 3.01
Generated 1 Oct 2020 | 23:33:49 UTC