mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Hardware > GPU Computing

Reply
 
Thread Tools
Old 2019-03-31, 07:41   #1
SELROC
 

23·23·47 Posts
Default 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).

Last fiddled with by SELROC on 2019-03-31 at 07:41
  Reply With Quote
Old 2019-03-31, 10:17   #2
preda
 
preda's Avatar
 
"Mihai Preda"
Apr 2015

55B16 Posts
Default

Quote:
Originally Posted by SELROC View Post
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).
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.
preda is offline   Reply With Quote
Old 2019-03-31, 10:40   #3
SELROC
 

973910 Posts
Default

Quote:
Originally Posted by preda View Post
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.

Thanks Mihai.
  Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatic fetch of Trial Factoring work for GPU mfakt* LaurV GPU to 72 81 2020-12-02 05:17
Work Fetch - External Command 0PolarBearsHere MISFIT 31 2017-08-30 20:44
x86 ASM loop control: JUMP vs LOOP ewmayer Programming 23 2012-04-29 21:13
Stopping New Work dmaine Information & Answers 1 2011-07-05 22:30
v25.7 Destroys PrimeNet v4 work-in-progress Freightyard Software 9 2008-11-08 18:01

All times are UTC. The time now is 21:15.


Sun Jul 25 21:15:38 UTC 2021 up 2 days, 15:44, 0 users, load averages: 1.93, 1.76, 1.72

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.