mersenneforum.org  

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

Reply
 
Thread Tools
Old 2004-01-06, 06:30   #1
millette
 
Jan 2004

2 Posts
Default Error writing intermediate file: rX250423

Hi,

I am running an LL test and was probably very low on hd space for a
short while and noticed this error:

"Error writing intermediate file: rX250423"

The equivalent p and q files seem to be written correctly, and the
program is going ahead with more iterations. I checked the faq (btw, the
footer of the list messages is misleading: the faq it points to is 404)
on the http://www.mersenne.org/ site. I also googled and found an old
1998 message in a mailing list archive. Only a question, no answer.

Since I'm almost 10% done, I was wondering if it's ok to continue, or
would it be safer to start over? I guess prime95 would have
automatically stopped, but I just want to be sure :)

Oh, happy new year!
millette is offline   Reply With Quote
Old 2004-01-06, 09:51   #2
lycorn
 
lycorn's Avatar
 
Sep 2002
Oeiras, Portugal

2×19×37 Posts
Default

As long as you have the p and q files, it´s safe to continue. An error writing to an intermediate file will at most cause a loss of some iterations (since the last save). Why the name of that particular file start by r I´m not sure, but from my past experience getting an error like that poses no problem. Keep on crunching...
Note that Prime95 doesn´t automatically stop on errors, rather it gives out error messages to warn the user that something may be wrong. Read Prime95´s help for a description of the errors and their potential severity.

Ah, Happy New Year to you, too!
lycorn is offline   Reply With Quote
Old 2004-01-06, 12:20   #3
millette
 
Jan 2004

2 Posts
Default

Quote:
Originally posted by lycorn
Note that Prime95 doesn´t automatically stop on errors, rather it gives out error messages to warn the user that something may be wrong. Read Prime95´s help for a description of the errors and their potential severity.
You know what? I only now looked into the help file - I search the net first :) But now I did, but didn't find any reference to my error in the prime95 help.

Your information and the confirmations I got on the mailing list were all reassuring, thanks!
millette is offline   Reply With Quote
Old 2004-01-07, 02:30   #4
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

22×3×599 Posts
Default Re: Error writing intermediate file: rX250423

Quote:
Originally posted by millette
"Error writing intermediate file: rX250423"

The equivalent p and q files seem to be written correctly,
When it's time for Prime95 to write the next save file, it doesn't delete either of the existing save files until it has successfully written the new one. So (IIRC) it first writes the new save file with an "r" prefix on its name. Once that is successfully written, Prime95 deletes the existing "p" save file, then renames the "q" save file to be the new "p" save file, then renames the "r" save file to be the new "q" save file. (So, normally. the "r" file exists with that name prefix for only a few seconds until it is renamed to "q".)

In your case, the preceding two save files had been successfully written, but (probably) there wasn't enough room for a third save file. In that case, Prime95 leaves the existing save files alone, restarts its timer for the next save file write interval, then continues calculations. The "p" and "q" save files will remain as the rwo most recently written save files until Prime95 is able to write a newer one, after which it will then, as above, erase the "p", rename the "q" to "p", and rename the "r" it has just then successfully written to "q".
cheesehead is offline   Reply With Quote
Old 2004-01-07, 14:40   #5
Reboot It
 
Reboot It's Avatar
 
Aug 2002
London, UK

7·13 Posts
Default Re: Re: Error writing intermediate file: rX250423

Right, cheesehead, except I think you've got your p and q the wrong way around: the p file is the more recent intermediate file, the q file is the older of the pair. An amended version of your text is below, with changes emboldened.

Quote:
When it's time for Prime95 to write the next save file, it doesn't delete either of the existing save files until it has successfully written the new one. So it first writes the new save file with an "r" prefix on its name. Once that is successfully written, Prime95 deletes the existing "q" save file, then renames the "p" save file to be the new "q" save file, then renames the "r" save file to be the new "p" save file. (So, normally. the "r" file exists with that name prefix for only a few seconds until it is renamed to "p".)

In your case, the preceding two save files had been successfully written, but (probably) there wasn't enough room for a third save file. In that case, Prime95 leaves the existing save files alone, restarts its timer for the next save file write interval, then continues calculations. The "p" and "q" save files will remain as the rwo most recently written save files until Prime95 is able to write a newer one, after which it will then, as above, erase the "q", rename the "p" to "q", and rename the "r" it has just then successfully written to "p".
Reboot It is offline   Reply With Quote
Old 2004-01-07, 15:52   #6
patrik
 
patrik's Avatar
 
"Patrik Johansson"
Aug 2002
Uppsala, Sweden

42410 Posts
Default

Yes, you have to mind your p's and q's.
patrik is offline   Reply With Quote
Old 2004-01-07, 19:23   #7
Reboot It
 
Reboot It's Avatar
 
Aug 2002
London, UK

7×13 Posts
Default

Quote:
Originally posted by patrik
Yes, you have to mind your p's and q's.
And you managed to remember the saying and extract the joke that I was trying to think up all the while while writing my previous post!
Reboot It is offline   Reply With Quote
Old 2004-01-08, 05:56   #8
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

22×3×599 Posts
Default

Good to see you guys are awake.
cheesehead is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
intermediate file write error TaliaW Software 14 2019-03-15 17:56
Error Writing Intermediate File jinydu Lounge 6 2010-09-10 05:47
Error writing intermediate file Unregistered Information & Answers 6 2009-07-27 23:58
Error reading intermediate file sharad Software 0 2004-08-09 10:40
Error reading intermediate file edorajh Software 22 2004-01-29 22:13

All times are UTC. The time now is 05:43.

Tue Oct 27 05:43:18 UTC 2020 up 47 days, 2:54, 0 users, load averages: 1.25, 1.37, 1.49

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.