mersenneforum.org  

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

Reply
 
Thread Tools
Old 2005-03-12, 18:50   #1
TheJudger
 
TheJudger's Avatar
 
"Oliver"
Mar 2005
Germany

2×3×5×37 Posts
Default stop client after an exponent has finished?

Hi!

I'm wondering if it's possible to tell the prime-client (mprime 23.5 / 23.9 for linux)
to finish the current exponent and send result, unreserve other exponents assignet to this client (if there are some) and terminate?
TheJudger is offline   Reply With Quote
Old 2005-03-12, 23:01   #2
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

22×3×599 Posts
Default

... without quitting GIMPS altogether, I presume you mean.

Else, the "Quit GIMPS" function does what you want, if I recall correctly.

Last fiddled with by cheesehead on 2005-03-12 at 23:04
cheesehead is offline   Reply With Quote
Old 2005-03-12, 23:12   #3
TheJudger
 
TheJudger's Avatar
 
"Oliver"
Mar 2005
Germany

2·3·5·37 Posts
Default

Yes, without exiting gimps.

I've a bounch of prime-instances on a NFS-volume shared to the crunching machines. Each prime-instance has it's own directory (prime01, prime02 and so on). The number of machine's changes quiet often, when it increases I can make new directories with a shell-script...
When I decide to let one machine do some prime-stuff it mounts the NFS-share and searches for an inactive prime-instance and starts in it's directory.

What I need is a nice way to clear a instance... OK, I can just delete the directory and 60days later the primenet server unreserves the exponent but that's isn't nice in my eyes.
TheJudger is offline   Reply With Quote
Old 2005-03-13, 00:23   #4
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

22×3×599 Posts
Default

(BTW, I'm describing what I'd do in Prime95. I don't have experience with mprime and don't know the differences in interface.)

The following steps should do what you want, I think (but I'll bet you want them automated):

1. Manually unreserve all assignments in the worktodo file except the one currently in progress. 2. Delete all those (except the one) assignments from the worktodo file, once you've unreserved them. Do #2 only after #1 in case manual unreserving doesn't work (server down, manual results page screwy again, ...).

Or, alternatively, if feasible: Just assign only one exponent at a time to each prime-stuff-doing machine. Assign another only after completion and only if that machine is to continue.

Last fiddled with by cheesehead on 2005-03-13 at 00:27
cheesehead is offline   Reply With Quote
Old 2005-05-05, 23:09   #5
wessels
 

11111000010102 Posts
Default chmod?

This may not work for you, but what I do is make
the worktodo.ini file un-writable.
  Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
37M finished to 60 bit hbock Lone Mersenne Hunters 0 2004-07-21 20:30
29-30M to 2^60 finished garo Lone Mersenne Hunters 1 2004-01-29 00:15
44M to 45M up to 2^60 finished Thomas11 Lone Mersenne Hunters 2 2003-05-05 10:40
25.48M to 25.5M up to 2^58 finished Thomas11 Lone Mersenne Hunters 0 2003-03-05 18:57
25.5M to 26M up to 2^58 finished Thomas11 Lone Mersenne Hunters 5 2003-03-04 09:55

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

Fri Nov 27 11:33:52 UTC 2020 up 78 days, 8:44, 4 users, load averages: 1.03, 1.33, 1.28

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