Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

fort.xx file 1

Status
Not open for further replies.

ArmenD

Programmer
Feb 3, 2005
101
US
does any one know what a fort.xx file is?
I am getting errors like the one below but not sure what fort.58 is?

how would I know where in my program the bug may be?

Code:
fmt: end of file
apparent state: unit 58 named fort.58
last format: (A)
lately reading sequential formatted external IO
 
Look for

1) an open on channel 58. Look for all the open statements: there probably won't be many.
2) an A format. This could be
read(58,'(A)')xxx

read (channel, '(A)')xxx where channel = 58

read (58, 10) xxx
10 format(A)

or some other variant of the above

You will need an end=label in the read for detecting end of file.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top