mersenneforum.org  

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

Reply
 
Thread Tools
Old 2020-01-31, 08:47   #1
jas
 
"Simon Josefsson"
Jan 2020
Stockholm

23·3 Posts
Default Finish started assignments but don't get new?

Hi! I'm running mprime on linux on several machines, but there is one machine that I want to use for another purpose. I'm happy to let it finish compute the assignments I got, but I don't want it to receive new assignments. Is this possible? How do I tell mprime this?


Thanks,

/Simon
jas is offline   Reply With Quote
Old 2020-01-31, 13:27   #2
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

28·37 Posts
Default

Quote:
Originally Posted by jas View Post
I'm happy to let it finish compute the assignments I got, but I don't want it to receive new assignments. Is this possible? How do I tell mprime this?
Stop mprime. Add "NoMoreWork=1" to prime.ini. Restart mprime.

Once the last assignment in your worktodo.txt file is completed the prime.ini file is changed such that "UsePrimenet=0" is set, and mprime will exit.

Know that if you ever want to bring this machine back to Primenet work you'll need to change prime.ini to have "UsePrimenet=1" again.
chalsall is offline   Reply With Quote
Old 2020-01-31, 14:02   #3
jas
 
"Simon Josefsson"
Jan 2020
Stockholm

2410 Posts
Default

Quote:
Originally Posted by chalsall View Post
Stop mprime. Add "NoMoreWork=1" to prime.ini. Restart mprime.

Once the last assignment in your worktodo.txt file is completed the prime.ini file is changed such that "UsePrimenet=0" is set, and mprime will exit.

Know that if you ever want to bring this machine back to Primenet work you'll need to change prime.ini to have "UsePrimenet=1" again.

Yay, thank you!
jas is offline   Reply With Quote
Old 2020-02-01, 02:59   #4
Gary
 
Gary's Avatar
 
"Gary"
Aug 2015
Texas

1111102 Posts
Default

Quote:
Originally Posted by chalsall View Post
Stop mprime. Add "NoMoreWork=1" to prime.ini. Restart mprime.
The whatsnew.txt file for 25.5 says " Several files have been renamed so that they are not changed by Windows save/restore. Prime.ini is now prime.txt. ..."

So should the NoMoreWork=1 line be added to prime.txt? My 29.8 install on Linux has no prime.ini file.
Gary is offline   Reply With Quote
Old 2020-02-01, 03:10   #5
PhilF
 
PhilF's Avatar
 
Feb 2005
Colorado

59010 Posts
Default

Quote:
Originally Posted by Gary View Post
The whatsnew.txt file for 25.5 says " Several files have been renamed so that they are not changed by Windows save/restore. Prime.ini is now prime.txt. ..."

So should the NoMoreWork=1 line be added to prime.txt? My 29.8 install on Linux has no prime.ini file.
Yes, that is correct. prime.txt is the correct file.
PhilF is offline   Reply With Quote
Old 2020-02-06, 04:06   #6
Gary
 
Gary's Avatar
 
"Gary"
Aug 2015
Texas

1111102 Posts
Default

Quote:
Originally Posted by PhilF View Post
Yes, that is correct. prime.txt is the correct file.
Also, from looking at mprime source, I think NoMoreWork=1 has to be in the "global section" of the prime.txt file, before any section headers like [PrimeNet]. When I stuck it at the end of the prime.txt file after [PrimeNet] it was ignored. I moved it before and it works.
Gary is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I finish another team members LL test? petrw1 PrimeNet 3 2007-11-05 20:58
Need a way to finish exponent and have it automatically quit. jasong Software 4 2007-02-21 23:13
where do TF go when they finish? markr Data 5 2005-03-09 05:19
How to finish? 1997rj7 Lone Mersenne Hunters 2 2003-10-19 05:33
Resetting projected finish dates Kevin Software 5 2003-07-07 13:42

All times are UTC. The time now is 10:54.

Fri Feb 26 10:54:56 UTC 2021 up 85 days, 7:06, 0 users, load averages: 1.82, 1.53, 1.38

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.