mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2023-03-03, 19:52   #23
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

100000010101112 Posts
Default

Quote:
Originally Posted by preda View Post
- when mprime runs out of work (empties worktodo.txt), it sets UsePrimenet=0 and NoMoreWork=0 (which wore set to UsePrimenet=1 and NoMoreWork=1 initially). This looks like a bug.
- it would be great if prime.txt would never be written by mprime. The user writes prime.txt, mprime *only* reads it.

If for some reason some options in prime.txt need to be written by the software, thouse are the ones that should be extracted from prime.txt to a separate file, such that prime.txt becomes read-only.
The best way to do this is "DaysOfWork=0"

NoMoreWork=1 really means "Quit GIMPS after current assignments complete"
Prime95 is offline   Reply With Quote
Old 2023-03-03, 20:11   #24
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

17×487 Posts
Default

Quote:
Originally Posted by Prime95 View Post
NoMoreWork=1 really means "Quit GIMPS after current assignments complete"
In 30.11, NoMoreWork will be renamed QuitGIMPS.
The mprime menus will allow setting "Days of work to queue up" to zero. The Windows dialog box already allowed this.
Prime95 is offline   Reply With Quote
Old 2023-03-03, 20:18   #25
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

22·863 Posts
Default

What about:
MaxExponents=0

that seems to work ok as well.
ATH is offline   Reply With Quote
Old 2023-03-03, 21:27   #26
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

17×487 Posts
Default

Quote:
Originally Posted by ATH View Post
What about:
MaxExponents=0

that seems to work ok as well.
I suppose that would work as well.
Prime95 is offline   Reply With Quote
Old 2023-03-03, 21:47   #27
pepi37
 
pepi37's Avatar
 
Dec 2011
After 1.58M nines:)

6A316 Posts
Default

So you will just merge two files into one? And all content of one file copy to another. No more no less? :)
pepi37 is online now   Reply With Quote
Old 2023-03-03, 22:17   #28
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

17×487 Posts
Default

Quote:
Originally Posted by pepi37 View Post
So you will just merge two files into one? And all content of one file copy to another. No more no less? :)
When you first run 30.11, the two files will be merged into one and local.txt deleted.
A few options are renamed for clarity. Some options are moved to sections like [Internals] or [PrimeNet], also for clarity.

Again, all automatic.
Prime95 is offline   Reply With Quote
Old 2023-03-04, 01:13   #29
KingKurly
 
KingKurly's Avatar
 
Sep 2010
Annapolis, MD, USA

3068 Posts
Default

Quote:
Originally Posted by Prime95 View Post
When you first run 30.11, the two files will be merged into one and local.txt deleted.
A few options are renamed for clarity. Some options are moved to sections like [Internals] or [PrimeNet], also for clarity.

Again, all automatic.
Only downside I see here is that it's a one-way trip; downgrades won't know what to do with the combined file. I don't plan on downgrading, but it's worth considering if there's some reason that someone might be inclined to try.
KingKurly is offline   Reply With Quote
Old 2023-03-04, 04:03   #30
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

7,823 Posts
Default

Bugs motivating version revert are one foreseeable reason. User preference is another.
So:

copy prime.txt was.prime.txt
copy local.txt was.local.txt
merge files
kriesel is offline   Reply With Quote
Old 2023-03-04, 13:40   #31
Andrew Usher
 
Dec 2022

3·132 Posts
Default

There seems to be something I didn't get here: what are you trying to accomplish using DaysOfWork=0 or MaxExponents=0 ? What is the intended behavior when exhausting worktodo? I think it should just be a normal stop (and automatic restart if new work is received through Primenet).
Andrew Usher is offline   Reply With Quote
Old 2023-03-04, 15:58   #32
Denial140
 
Dec 2021

10100002 Posts
Default

This might not be the right place to ask, but is there an option to not receive work from the server, but still submit results automatically? I ask because my current setup racks up several (unwanted) assignments when the work I queue gets low, but I have found in the past that setting days of work to queue lower sometimes removes work that I add manually.
Denial140 is offline   Reply With Quote
Old 2023-03-04, 18:14   #33
Mark Rose
 
Mark Rose's Avatar
 
"/X\(‘-‘)/X\"
Jan 2013
https://pedan.tech/

1100011100002 Posts
Default

Quote:
Originally Posted by Denial140 View Post
This might not be the right place to ask, but is there an option to not receive work from the server, but still submit results automatically? I ask because my current setup racks up several (unwanted) assignments when the work I queue gets low, but I have found in the past that setting days of work to queue lower sometimes removes work that I add manually.
Set DaysOfWork=0 and UnreserveDays=999999, both in prime.txt.

The first tells the client to not fetch more work from PrimeNet. The second prevents it from unreserving assignments. Sometimes the computer will be busy doing something else when mprime/Prime95 calculates the system throughput which causes it to unreserve exponents.

Last fiddled with by Mark Rose on 2023-03-04 at 18:14
Mark Rose is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why prime.txt AND local.txt? SWWright Software 5 2020-09-26 10:59
If you could, what race would you eliminate, and why? The Carnivore Hobbies 16 2019-02-14 13:55
Windows 10 in Ubuntu, good idea, bad idea, or...? jasong jasong 8 2017-04-07 00:23
Does a large P-1 test eliminate need for ECM tests UberNumberGeek Factoring 53 2009-07-11 08:24
Using Factors to Eliminate Candidates Mivacca2 Math 8 2003-03-25 16:52

All times are UTC. The time now is 14:05.


Fri Jul 7 14:05:17 UTC 2023 up 323 days, 11:33, 0 users, load averages: 1.54, 1.20, 1.15

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.

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