runtime error message

Jerry DeLisle jvdelisle@verizon.net
Sun Jun 17 01:05:00 GMT 2007


Brad Finney wrote:
> 
> 
> Steve Kargl wrote:
>>>
>>
>> What is (are) the unit number(s)?  Try using the ERR and IOMSG
>> features.  It would help if we could see the code.
>>
> 
> Setting some additional error checking flags, I find the error does 
> occur on a file open with iostat error code of 12 ("not enough space"). 
>    As mentioned, there are several GB of space on the drive in 
> question.  The unit under for the file in question is 21.  The error is 
> not a function of the particular file being opened, just how many have 
> been opened (and closed) during the job.  Each file is opened using the 
> same unit number, but closed before "reusing" the unit number with the 
> next file open.
> 
> I don't have any problems making the code available, but I would need to 
> provide several megabytes of data files to run it.  I will try to find 
> some time to see if I can force the error with a simpler set of data.
> 
> I appreciate you folks working on gfortran.
> 
> Brad
> 
> 
Hi Brad,

This could be an I/O library problem which I do a lot of.  I am curious if the 
size of the files matters.  If I could even see the code, I might be able to get 
an idea.  You can send to me privately if you wish.  Have you tried explicitly 
closing and reopening the UNIT each time?

Debugging here by Extra Sensory Perception is not easy.  :)

Jerry



More information about the Fortran mailing list