mersenneforum.org  

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

Reply
 
Thread Tools
Old 2015-02-25, 14:20   #1
CuriousKit
 
"J. Gareth Moreton"
Feb 2015
Nomadic

2×32×5 Posts
Question Passing on manual work

Hi everyone.

So I've just started using Prime95 to help with the worldwide effort of discovering and verifying Mersenne primes, although I got myself a little unstuck:

I have access to two computers currently. My personal laptop is running automatic tests without any difficulties and should provide the first report in the next few days, but my second computer I discovered is unsuitable. It's a work laptop with an externally-configured firewall that prevents Prime95 from communicating with the servers no matter what I do (I've tried setting up firewall rules to no avail), so instead I requested some manual work. Well... even when running one worker thread, the laptop has a high risk of shutting down due to overheating, plus I won't have access to it for very long. Currently it is managing one worker thread with the CPU speed reduced to 90%, but it will still take far too long and I have to position the laptop in such a way so the vents have as much clearance as possible.

My question is... once my personal laptop has finished with its current task, is there a convenient way that I can tell it to pick up the manually assigned work? I understand that I'll likely have to transfer over the work-in-progress files, but I don't want it to suddenly pick up more automatic work (as I may not realise when the current tasks have been completed), as I rather finish what I have already.
CuriousKit is offline   Reply With Quote
Old 2015-02-25, 17:03   #2
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·29·83 Posts
Default

In the same directory as the Prime95 executable, you will find various text files including readme.txt, worktodo.txt and the save files labelled like m<~6 digits> or maybe p<~6 digits>, with some of those having duplicate files with the .bu or .bu2 extension, which are copies of previous checkpoints.

It is sufficient to copy the relevant lines in worktodo.txt and the appropriate save file, for which the digits in the name should roughly match the exponent in progress. Take them from your work laptop, and put them in the equivalent place in your personal laptop's P95 files. Your personal laptop may even report the manually assigned result automatically.
Dubslow is offline   Reply With Quote
Old 2015-02-25, 17:12   #3
CuriousKit
 
"J. Gareth Moreton"
Feb 2015
Nomadic

2·32·5 Posts
Default

Indeed, I figured that would be the best thing to do so it picks up those tests, but what should be done regarding my personal laptop automatically finding new work when it completes its current task? I'm under the impression that once a worker completes a task, Prime95 sends the results to the central server and then, after a short delay, fetches a new job. I much rather it did not fetch a new job so I have plenty of time to give it the partially-complete manual job.

I may be worrying over nothing, but I sense I'll end up reserving something that won't get touched for a while, so is there a way I can say "don't look for new work until further notice"? Won't replacing worktodo.txt cause problems if it's currently working on something else?

Last fiddled with by CuriousKit on 2015-02-25 at 17:13 Reason: Clarity
CuriousKit is offline   Reply With Quote
Old 2015-02-25, 17:31   #4
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

1C3516 Posts
Default

As long as you manually edit worktodo.txt while Prime95 isn't running, there won't be problems. (That is to say, when you're transferring, quit Prime95 on your personal laptop, edit worktodo.txt with the manual assignment, and then restart Prime95.)
Dubslow is offline   Reply With Quote
Old 2015-02-25, 17:50   #5
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101Γ—103 Posts

5×11×167 Posts
Default

Quote:
Originally Posted by CuriousKit View Post
I'm under the impression that once a worker completes a task, Prime95 sends the results to the central server and then, after a short delay, fetches a new job.
Actually it normally fetches a new assignment before the old one is complete. The default is to have 10 days of work available. So, when you place the assignment from your work machine into the worktodo.txt of your home machine (make sure to put them after the lines that are currently there), it will take those in to account when figuring out how much work it has before fetching a new assignment.
Uncwilly is online now   Reply With Quote
Old 2015-02-25, 18:17   #6
CuriousKit
 
"J. Gareth Moreton"
Feb 2015
Nomadic

2×32×5 Posts
Default

Aah, that's useful to know - so I can just effectively set up a queue for each worker thread that way?
CuriousKit is offline   Reply With Quote
Old 2015-02-25, 18:56   #7
TheMawn
 
TheMawn's Avatar
 
May 2013
East. Always East.

11×157 Posts
Default

Precisely. That is the exact intent of worktodo.txt. The software reads the first line and begins work on that task. Part of the process is checking for a backup file.
TheMawn is offline   Reply With Quote
Old 2015-02-25, 19:00   #8
CuriousKit
 
"J. Gareth Moreton"
Feb 2015
Nomadic

10110102 Posts
Thumbs up

So I closed Prime95, transferred the partial work over and modified my worktodo.txt file to the following:

[Worker #1]
DoubleCheck=Censored,71,1
Test=Deleted,66418127,75,1

[Worker #2]
DoubleCheck=Removed,37385639,71,1
Test=Rendered Harmless,66418267,75,1

The two "Test" entries were the manual work. After starting Prime95 again and letting it communicate with the server, I got this in the log:

[Comm thread Feb 25 18:57] Updating computer information on the server
[Comm thread Feb 25 18:57] Sending expected completion date for M37385627: Mar 04 2015
[Comm thread Feb 25 18:57] Sending expected completion date for M66418127: Apr 27 2015
[Comm thread Feb 25 18:57] Sending expected completion date for M37385639: Mar 03 2015
[Comm thread Feb 25 18:57] Sending expected completion date for M66418267: Apr 28 2015
[Comm thread Feb 25 18:57] Done communicating with server.

So it looks like all is well. Thanks for the help. That was kinda easier than I thought!

Last fiddled with by xilman on 2015-02-25 at 20:22
CuriousKit is offline   Reply With Quote
Old 2015-02-25, 20:10   #9
legendarymudkip
 
legendarymudkip's Avatar
 
Jun 2014

23×3×5 Posts
Default

Hide the assignment keys someone can steal your work from them. Just censor them with XXX or similar.
legendarymudkip is offline   Reply With Quote
Old 2015-02-25, 20:13   #10
CuriousKit
 
"J. Gareth Moreton"
Feb 2015
Nomadic

10110102 Posts
Default

Oh shoot - I didn't realise those were sensitive. Thanks for warning me. I had to report my own post because I can't seem to edit it now.

I just assumed they were come kind of miscellaneous checksum. Oh well, you live and learn!

Last fiddled with by CuriousKit on 2015-02-25 at 20:22
CuriousKit is offline   Reply With Quote
Old 2015-02-25, 20:24   #11
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

3×3,499 Posts
Default

Quote:
Originally Posted by CuriousKit View Post
Oh well, you live and learn!
Some times, if you get lucky.

Other times, others may get the chance to learn from your demise but the majority don't pay attention until the Oh ! moment arrives
xilman is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
GIMPS wont process my manual work kenny3 Information & Answers 13 2015-05-29 02:45
Some questions on manual ECM work harry1126 Information & Answers 2 2015-03-10 08:15
question about manual checkin of work dann corbit Information & Answers 2 2012-08-21 03:23
Passing commands to PARI on Windows James Heinrich Software 2 2012-05-13 19:19
some manual LLR work BlisteringSheep No Prime Left Behind 3 2008-02-28 10:19

All times are UTC. The time now is 22:31.

Sun Jan 17 22:31:21 UTC 2021 up 45 days, 18:42, 0 users, load averages: 1.58, 1.65, 1.67

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.