mersenneforum.org  

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

Reply
 
Thread Tools
Old 2005-08-27, 15:00   #1
Carlos
 
Carlos's Avatar
 
Jan 2005

13 Posts
Default Should mprime work like this?

One of my machines had a hard drive error (self inflected). Mprime was not able to read one of it's checkpoint files. So mprime copied the other checkpoint file into the bad file. Again mprime could not read the checkpoint file so again it copied the good checkpoint file into the bad checkpoint file. Again mprime could not read the bad checkpoint file so it gave up and started from the begining (wiping out the good file) with the factor in worktodo.ini file.

This cost me several weeks of run time! I would have much perfered if mprime had just stopped! This way I would have had a chance to repair the problem.

I am running mprime235 on this machine. The machine is a P-III.

Carlos

Last fiddled with by Carlos on 2005-08-27 at 15:02
Carlos is offline   Reply With Quote
Old 2005-08-27, 18:28   #2
Xyzzy
 
Xyzzy's Avatar
 
Aug 2002

2·4,153 Posts
Default

Maybe this will help?

From undoc.txt
Quote:
You can have the program generate save files every n iterations. The files will have a .XXX extension where XXX equals the current iteration divided by n. In prime.ini enter:

InterimFiles=n
Xyzzy is offline   Reply With Quote
Old 2005-08-27, 20:10   #3
Carlos
 
Carlos's Avatar
 
Jan 2005

13 Posts
Default

My Diety! I have read the undoc.txt file many times, but it never soaked in. Your suggestion seems to work. I tried it with 1000 iterations and mprime creates a file every 1 minute. I changed the number of iterations to 1000000.

Mprime also puts an entry in results.txt file containing the residue each time it creates a new IterimFile. I donot know what use to make of this information?

I will make a completly new directory for mprime and test restarting mprime from one of the IterimFile.

I will need to delete some of the IterimFile every few days!

Thanks for the very nice suggestion.

Carlos
Carlos is offline   Reply With Quote
Old 2005-08-27, 21:37   #4
Xyzzy
 
Xyzzy's Avatar
 
Aug 2002

2·4,153 Posts
Default

Quote:
Originally Posted by Carlos
Mprime also puts an entry in results.txt file containing the residue each time it creates a new IterimFile. I donot know what use to make of this information?
When we run a verification test of a new prime it is nice to be able to compare residues every million iterations to make sure everything matches... If it were up to me I would make the residue behavior default, since it doesn't add that much to the log file...
Xyzzy is offline   Reply With Quote
Old 2005-08-27, 22:06   #5
Carlos
 
Carlos's Avatar
 
Jan 2005

13 Posts
Thumbs up

Quote:
Originally Posted by Xyzzy
When we run a verification test of a new prime it is nice to be able to compare residues every million iterations to make sure everything matches... If it were up to me I would make the residue behavior default, since it doesn't add that much to the log file...

Sounds like a good idea. Does the results.txt file get sent to the server when a number is completed? If you were to post that request, probably most people would be willing to do it. I will turn mine on.

Carlos
Carlos is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
mprime 29.1.8, losing work rudi_m Software 2 2017-01-31 14:01
How to calculate work/effort for PRP work? James Heinrich PrimeNet 0 2011-06-28 19:29
How Do I Make Mprime Work In Ubuntu?? hesdeadjim Software 4 2010-01-01 19:03
./mprime -B in 257 Lazlow PrimeNet 3 2008-10-29 20:40
Problem with mprime (Fixed with mprime -d) antiroach Software 2 2004-07-19 04:07

All times are UTC. The time now is 19:56.


Sun Oct 17 19:56:59 UTC 2021 up 86 days, 14:25, 0 users, load averages: 1.09, 1.18, 1.30

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.