mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   GPU Computing (https://www.mersenneforum.org/forumdisplay.php?f=92)
-   -   Stopping a primenet work fetch loop (https://www.mersenneforum.org/showthread.php?t=24246)

SELROC 2019-03-31 07:41

Stopping a primenet work fetch loop
 
* Trial factoring *

With primetools mfloop.py it is possible to stop the loop:
1. first stop the script;
2. compute all assignments until the program terminates with the error "no assignments found";
3. invoke the script with arguments ... -n 0 -t 0 to report the last results.


* PRP *
With gpuowl primenet.py the procedure is a bit different: we have to report the last result by hand via the web page.


So I propose a little change to primenet.py :
- Add a command line argument that say how many assignments we want to fetch (with possibility to set to 0 to only report results).

preda 2019-03-31 10:17

[QUOTE=SELROC;512277]
So I propose a little change to primenet.py :
- Add a command line argument that say how many assignments we want to fetch (with possibility to set to 0 to only report results).[/QUOTE]

In GPUowl primenet.py, added the optional --tasks which allows to specify the number of fetch-ahead tasks. If not specified, this is 2 for PRP and 12 for P-1.

SELROC 2019-03-31 10:40

[QUOTE=preda;512280]In GPUowl primenet.py, added the optional --tasks which allows to specify the number of fetch-ahead tasks. If not specified, this is 2 for PRP and 12 for P-1.[/QUOTE]


Thanks Mihai.


All times are UTC. The time now is 12:37.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.