mersenneforum.org  

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

Reply
 
Thread Tools
Old 2003-11-19, 13:22   #1
edorajh
 
edorajh's Avatar
 
Oct 2003
Croatia

1110010002 Posts
Default Iterations between results file output?

I just borged one more machine, and now it came to me that I leave default value for Results_File_Iterations option. I think default value for this option is rather big. Could I leave it as it is, or should I go back to borged machine and choose some smaller value?

edorajh is offline   Reply With Quote
Old 2003-11-19, 14:58   #2
GP2
 
GP2's Avatar
 
Sep 2003

1010000100102 Posts
Default

You mean:
ResultsFileIterations=999999999
in prime.ini?

I have that too, by default, no idea what it's for.
It doesn't seem to be documented.

I think it's OK just to leave it.
GP2 is offline   Reply With Quote
Old 2003-11-19, 15:34   #3
edorajh
 
edorajh's Avatar
 
Oct 2003
Croatia

23·3·19 Posts
Default

Yes, I was thinking on ResultsFileIterations=999999999 in prime.ini.

I find at the Team Prime Rib's instalation guide page that recomended preferences for this field is 500000.

Here is that web page:
http://www.teamprimerib.com/faq/gimp...ws.Install.php

Anybody knows what is this option for?

Last fiddled with by edorajh on 2003-11-19 at 15:35
edorajh is offline   Reply With Quote
Old 2003-11-19, 15:44   #4
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

129116 Posts
Default

Quote:
Anybody knows what is this option for?
It should tell the program to wrtite into the results.txt file a status line like those printed out on screen.

Luigi
ET_ is offline   Reply With Quote
Old 2003-11-19, 15:49   #5
edorajh
 
edorajh's Avatar
 
Oct 2003
Croatia

23×3×19 Posts
Default

Quote:
Originally posted by ET_
It should tell the program to wrtite into the results.txt file a status line like those printed out on screen.

Luigi
Then I don't have to worry if it stays on default level (999999999)?
edorajh is offline   Reply With Quote
Old 2003-11-19, 15:57   #6
garo
 
garo's Avatar
 
Aug 2002
Termonfeckin, IE

13·211 Posts
Default

Yes you don't have to worry about it.
I don't know why the TPR FAQ recommends 500000. I have never changed it from the default.

Oh yes I remember now. It may be useful for people whose machines were crashing or when their savefiles were getting corrupted.
garo is offline   Reply With Quote
Old 2003-11-19, 20:56   #7
edorajh
 
edorajh's Avatar
 
Oct 2003
Croatia

7108 Posts
Thumbs up

OK! Thanks!
edorajh is offline   Reply With Quote
Old 2003-11-20, 01:17   #8
outlnder
 
outlnder's Avatar
 
Aug 2002

2×3×53 Posts
Default

Actually the Right to Disk is the setting that is most important. Set it to 10 minutes if you have a suspect machine, but longer for proven hardware. The save files are maintained by the Right to Disk.

The 500000 for iterations is gor the GUI. It allows you to actually see some progress.
outlnder is offline   Reply With Quote
Old 2003-11-20, 02:28   #9
dswanson
 
dswanson's Avatar
 
Aug 2002

23×52 Posts
Default

I have these three lines in my prime.ini file:
Code:
ResultsFileIterations=1000000
InterimFiles=1000000
InterimResidues=1000000
I get this in my results.txt file:
Code:
[Tue Nov 18 23:01:24 2003]
Iteration 5000000 / 10965811
UID: dswanson/1800-A, M10965811 interim WZ1 residue B3C2E4C5771F18B2 at iteration 5000000
UID: dswanson/1800-A, M10965811 interim WZ1 residue E5BFD4C146CE1ACF at iteration 5000001
UID: dswanson/1800-A, M10965811 interim WZ1 residue 3FF07FB2C623F846 at iteration 5000002
[Wed Nov 19 08:00:54 2003]
Iteration 6000000 / 10965811
UID: dswanson/1800-A, M10965811 interim WZ1 residue 196BCBC82611C0E0 at iteration 6000000
UID: dswanson/1800-A, M10965811 interim WZ1 residue 353AC164FCA506C9 at iteration 6000001
UID: dswanson/1800-A, M10965811 interim WZ1 residue B1A942851882AED4 at iteration 6000002
[Wed Nov 19 16:59:25 2003]
Iteration 7000000 / 10965811
UID: dswanson/1800-A, M10965811 interim WZ1 residue 7FAB38853624A8B5 at iteration 7000000
UID: dswanson/1800-A, M10965811 interim WZ1 residue D0B5A7B01CEF0BBD at iteration 7000001
UID: dswanson/1800-A, M10965811 interim WZ1 residue 00AEE66C1F87AF74 at iteration 7000002
"ResultsFileIterations=1000000" gives me the date and the "Iteration xxxxxxx" line in the output once every 1,000,000 iterations.

"InterimResidues=1000000" gives me the interim residue lines once every 1,000,000 iterations. This useful if you are running a parallel run with another user or computer, and want to compare intermediate residues periodically to see whether there has been an intermediate error. If so, you can back up to the previous save file where both systems matched and start over. Assuming, of course, that you have intermediate save files. That's the purpose of the "InterimFiles=1000000". It writes a save file named pyyyyyyy.nnn every 1,000,000 iterations (yyyyyyy is your exponent, nnn starts at 001 on the first save file and increments by 1 for each subsequent save file). If you ever need to restart from this interim file, simply remove the ".nnn" from the end of the name (or, more conservately, copy it to a new file named pyyyyyyy). One hazard of using this option is that it leaves a bunch of large files behind if you don't clean up your directory periodically.

I don't actually run in parallel with other computers. I simply enjoy seeing the additional information in my results.txt file. And having the intermediate save files has rescued me once or twice when I accidently deleted both my pyyyyyyy and qyyyyyyy files.
dswanson is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
console output to txt file pepi37 Linux 23 2015-09-28 18:23
what's the point of "Iterations between results file outputs"? ixfd64 Software 3 2012-08-01 18:55
prp output file jasong Sierpinski/Riesel Base 5 1 2005-03-13 05:41
Would Minimizing "iterations between results file" may reveal "is not prime" earlier? nitai1999 Software 7 2004-08-26 18:12
A bit of Perl code to read a checkpoint file and tell how many iterations it's at GP2 Data 0 2003-11-15 01:07

All times are UTC. The time now is 18:03.

Mon May 25 18:03:02 UTC 2020 up 61 days, 15:36, 1 user, load averages: 1.94, 2.04, 2.12

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.