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
 

1DA116 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

22×3×112 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
 

10000100000102 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 14:58.


Fri Jul 7 14:58:44 UTC 2023 up 323 days, 12:27, 0 users, load averages: 1.08, 1.06, 1.09

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, 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.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔