mersenneforum.org  

Go Back   mersenneforum.org > New To GIMPS? Start Here! > Information & Answers

Reply
 
Thread Tools
Old 2009-11-22, 20:12   #1
GARYP166
 
GARYP166's Avatar
 
Feb 2009

5×7 Posts
Default Error in Worktodo file

A few months ago I posted when I had problems with saved files for 46,266,683 disappearing. Then I decided to have another try after seeing the thread

http://www.mersenneforum.org/showthread.php?t=12766

and seeing the note from Mini Geek

"trial factoring, it's one of the options for what to run in Test > Worker Windows"

Unfortunately although it was only two days ago I can't remember how I did it. However I do remember being asked to paste this text into my worktodo file:

[Worker #1]
Test=A5996856A4F73D28634EFA6CB510066F,exponent,68,1
[Worker #2]
DoubleCheck=B94D34BF558295F697581568AD2E14AF,exponent,66,1

Nothing happened until this morning when I got the following messages:

Too many sections in worktodo.txt, Line #7
Error: Worktodo.txt file contained bad LL exponent: 0
Illegal line in worktodo file: Test=exponent,68,1
Error: Worktodo.txt file contained bad LL exponent: 0
Illegal line in worktodo file: Test=DoubleCheck=exponent,66,1
Starting workers.
Too many sections in worktodo.txt, Line #7
Error: Worktodo.txt file contained bad LL exponent: 0
Illegal line in worktodo file: Test=exponent,68,1
Error: Worktodo.txt file contained bad LL exponent: 0
Illegal line in worktodo file: Test=DoubleCheck=exponent,66,1

Questions:

1) This was two days afterwards. One of my exponents had reached 75%; was this the trigger?

2) I guess some lines need to be removed from worktodo, which currently reads

[Worker #1]
DoubleCheck=44C4F6F2CB1AA38A4941A98466710304,23110891,67,1
[Worker #2]
Test=BDA22BB964CF82416AE126334DFA234B,45890281,68,1
[Worker #1]
Test=A5996856A4F73D28634EFA6CB510066F,exponent,68,1
[Worker #2]
DoubleCheck=B94D34BF558295F697581568AD2E14AF,exponent,66,1

how should I edit the worktodo file?

Grateful for advice.

G
GARYP166 is offline   Reply With Quote
Old 2009-11-22, 22:21   #2
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

22×3×641 Posts
Default

Quote:
Originally Posted by GARYP166 View Post
1) This was two days afterwards. One of my exponents had reached 75%; was this the trigger?
No.

Quote:
2) I guess some lines need to be removed from worktodo, which currently reads

[Worker #1]
DoubleCheck=44C4F6F2CB1AA38A4941A98466710304,23110891,67,1
[Worker #2]
Test=BDA22BB964CF82416AE126334DFA234B,45890281,68,1
[Worker #1]
Test=A5996856A4F73D28634EFA6CB510066F,exponent,68,1
[Worker #2]
DoubleCheck=B94D34BF558295F697581568AD2E14AF,exponent,66,1

how should I edit the worktodo file?
Change it to:

[Worker #1]
DoubleCheck=44C4F6F2CB1AA38A4941A98466710304,23110891,67,1
Test=A5996856A4F73D28634EFA6CB510066F,exponent,68,1
[Worker #2]
Test=BDA22BB964CF82416AE126334DFA234B,45890281,68,1
DoubleCheck=B94D34BF558295F697581568AD2E14AF,exponent,66,1

There should be only one header for each worker, and all assignments for that worker should be listed under that header but before the next header.
cheesehead is offline   Reply With Quote
Old 2009-11-22, 22:50   #3
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

24·17·29 Posts
Default

Quote:
Originally Posted by cheesehead View Post
DoubleCheck=B94D34BF558295F697581568AD2E14AF,exponent,66,1
You need to change the text "exponent" with the Mersenne number you are testing.
Prime95 is offline   Reply With Quote
Old 2009-11-23, 00:06   #4
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

22×3×641 Posts
Default

I presume that's not literally in the file, but the poster simply wishes to conceal the exact exponent.
cheesehead is offline   Reply With Quote
Old 2009-11-23, 00:41   #5
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

24×17×29 Posts
Default

I'm not certain. Two of the exponents weren't concealed. A newcomer may assume the program can infer the exponent from the assignment ID or by contacting the server.
Prime95 is offline   Reply With Quote
Old 2009-11-23, 18:17   #6
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

22·3·641 Posts
Default

Quote:
Originally Posted by cheesehead View Post
the poster simply wishes to conceal the exact exponent.
Isn't that a more reasonable theory than a newbie's thinking that "exponent" is a legitimate character string for that field? C'mon.
cheesehead is offline   Reply With Quote
Old 2009-11-23, 18:21   #7
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

7×13×47 Posts
Default

Quote:
Originally Posted by cheesehead View Post
I presume that's not literally in the file, but the poster simply wishes to conceal the exact exponent.
I doubt it, because he said he put the exact lines that were in the example from the Manual Assignments page into his worktodo.txt file. When you get assignments there, after giving your lines, it says the following:
Quote:
Distribute the lines above to your computer's worktodo.txt files. A typical version 25 prime95 worktodo.txt file on a dual core computer looks like this:

[Worker #1]
Test=A5996856A4F73D28634EFA6CB510066F,exponent,68,1
[Worker #2]
DoubleCheck=B94D34BF558295F697581568AD2E14AF,exponent,66,1

Older prime95's must run one prime95 instance for each core. The input file is called worktodo.ini. A typical worktodo.ini file looks like this:

Test=exponent,68,1
or
DoubleCheck=exponent,66,1

For Glucas and Mlucas follow the documentation that comes with those programs

Last fiddled with by Mini-Geek on 2009-11-23 at 18:22
Mini-Geek is offline   Reply With Quote
Old 2009-11-23, 18:40   #8
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

22·3·641 Posts
Default

Quote:
Originally Posted by Mini-Geek View Post
I doubt it, because he said he put the exact lines that were in the example from the Manual Assignments page into his worktodo.txt file. When you get assignments there, after giving your lines, it says the following:
Oh ... now that I see the exact comparison with the message text ... I guess you're right.

In that case, we should advise GARYP166 to also change the example assignment type, assignment key, bit level and P-1 indicator to his actual assignment type, assignment key, bit level and P-1 indicator.

Some folks are more literal than others. Perhaps the page message should use "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" instead of "A5996856A4F73D28634EFA6CB510066F" and the other key, and make it clearer that those lines are not to be copied literally.
cheesehead is offline   Reply With Quote
Old 2009-11-23, 18:44   #9
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

102658 Posts
Default

Quote:
Originally Posted by cheesehead View Post
Some folks are more literal than others. Perhaps the page message should use "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" instead of "A5996856A4F73D28634EFA6CB510066F" and the other key, and make it clearer that those lines are not to be copied literally.
I agree. A line or two in front of the real assignment line(s) saying that THIS is what you should use might also help.
Mini-Geek is offline   Reply With Quote
Old 2009-11-23, 19:02   #10
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

11110000011002 Posts
Default

Also, use

"[your assignment line from above]" instead of some fake assignment line.

But there's still the problem of copying the [Worker #1] and [Worker #2] lines from the example. Maybe there should be more than one example of arrangement of those, to emphasize that they're only examples.
cheesehead is offline   Reply With Quote
Old 2009-11-23, 21:18   #11
GARYP166
 
GARYP166's Avatar
 
Feb 2009

5·7 Posts
Default

Thanks to Cheesehead and Mini Geek for their replies.

I have no desire to conceal the exponents - indeed I mentioned the one I wanted in my post. For the record they are

46,266,683 - my first test, which crashed in February and which I decided to restart
23,110,891 - 35.43% done
45,890,281 - 76.63% done

I managed to work out what I did. I logged on and clicked on manual testing. For preferred work types I clicked on double check tests, not seeing LL tests in the drop down menu, and then entered 46,266,683 in both the Optional Exponent range boxes. Finally I clicked on Get Assignments. To test it I entered 49,979,687 and got the message

Distribute the lines above to your computer's worktodo.txt files. A typical version 25 prime95 worktodo.txt file on a dual core computer looks like this:

[Worker #1]
Test=A5996856A4F73D28634EFA6CB510066F,exponent,68,1
[Worker #2]
DoubleCheck=B94D34BF558295F697581568AD2E14AF,exponent,66,1

which is the same message as I got for 46,266,683.

I didn't realise that this was an example - my thought on seeing the strings was that they were hex representations of some number that Prime 95 would recognise. I changed the worktodo file so that it read as Cheesehead advised, including the word "exponent", and it's gone past today's communication with the server without generating an error message.

So my new questions are:

1) What should I have in my worktodo file so that 46,266,683 is the next to start?

2) What is the trigger that adds a new exponent to the queue? We've established that having one of my exponents reaching 75% was just a co-incidence, but how far does the test have to progress before another one is allocated?

G
GARYP166 is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Feromant_CUDA: worktodo file feromant FermatSearch 1 2017-07-13 16:25
Minor error in handling worktodo tha Software 1 2015-05-11 13:56
WorkToDo File storm5510 Software 9 2009-08-18 00:18
N/A in my worktodo.txt file? uigrad PrimeNet 13 2008-11-10 13:12
Inclusion of worktodo.add file? Graff PrimeNet 17 2008-11-01 01:49

All times are UTC. The time now is 11:07.


Mon May 23 11:07:50 UTC 2022 up 39 days, 9:09, 0 users, load averages: 1.01, 1.21, 1.25

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

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