<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic forrtl: severe (24): end-of-file during read in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819142#M46754</link>
    <description>Hello all,&lt;BR /&gt;&lt;BR /&gt;I am really in need with some help with my fortran code to be used with Abaqus. I have tried so many things to overcome this problem, however, I still can not solve this. I have tried to include the following code, this prints out "something is wrong" in a continuous loop in status file when running the analysis and this ends with an error. Does anyone have any further suggestions on this? I have spent so much time over the problem... thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;[fxfortran]      open(UNIT=u,FILE='filename',STATUS='REPLACE',
     $ FORM='FORMATTED')
C
C   Read the number of points 
C
      do i=1,rtun  
         read(r,1000,IOSTAT=ios) jslnodes(i)
           If (ios.Ne.0) Then
             Write(*,*) 'Something is wrong'
             Exit
           End if
      enddo[/fxfortran]&lt;/PRE&gt;</description>
    <pubDate>Sun, 09 Oct 2011 11:03:30 GMT</pubDate>
    <dc:creator>mechprog</dc:creator>
    <dc:date>2011-10-09T11:03:30Z</dc:date>
    <item>
      <title>forrtl: severe (24): end-of-file during read</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819132#M46744</link>
      <description>I have found a few Fortran forum posts on this problem above, however all the posts were closed, so I could not post my question there. Therefore I started a new post. I am receivingthe error message and despite trying to get rid of it, still no success, can anyone help. Thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;forrtl: severe (24): end-of-file during read, unit 15, file C:\\analysis\\doc.txt&lt;/P&gt;&lt;P&gt;Image PC Routine Line Source &lt;BR /&gt;libifcoremd.dll 00000000100BE430 Unknown Unknown Unknown&lt;BR /&gt;libifcoremd.dll 00000000100B7F75 Unknown Unknown Unknown&lt;BR /&gt;libifcoremd.dll 00000000100A4F8B Unknown Unknown Unknown&lt;BR /&gt;libifcoremd.dll 0000000010025470 Unknown Unknown Unknown&lt;BR /&gt;libifcoremd.dll 0000000010024E3D Unknown Unknown Unknown&lt;BR /&gt;libifcoremd.dll 0000000010057B2B Unknown Unknown Unknown&lt;BR /&gt;standardU.dll 0000000007E611C9 Unknown Unknown Unknown&lt;BR /&gt;ABQSTD_Core.dll 0000000180ACCEFD Unknown Unknown Unknown&lt;BR /&gt;ABQSTD_Core.dll 0000000180ACAF82 Unknown Unknown Unknown&lt;BR /&gt;ABQSTD_Core.dll 000000018088CCAF Unknown Unknown Unknown&lt;BR /&gt;ABQSTD_Core.dll 00000001805B9582 Unknown Unknown Unknown&lt;BR /&gt;ABQSTD_Core.dll 0000000180380444 Unknown Unknown Unknown&lt;BR /&gt;ABQSTD_Core.dll 00000001802163EA Unknown Unknown Unknown&lt;BR /&gt;ABQSTD_Core.dll 00000001801022DC Unknown Unknown Unknown&lt;BR /&gt;ABQSTD_Core.dll 000000018006D39E Unknown Unknown Unknown&lt;BR /&gt;ABQSTD_Core.dll 0000000180031C7E Unknown Unknown Unknown&lt;BR /&gt;ABQSTD_Core.dll 0000000180017220 Unknown Unknown Unknown&lt;BR /&gt;ABQSTD_Core.dll 000000018000B4C4 Unknown Unknown Unknown&lt;BR /&gt;standard.exe 0000000140002774 Unknown Unknown Unknown&lt;BR /&gt;standard.exe 000000014000184F Unknown Unknown Unknown&lt;BR /&gt;standard.exe 00000001400011B2 Unknown Unknown Unknown&lt;BR /&gt;kernel32.dll 0000000076EE652D Unknown Unknown Unknown&lt;BR /&gt;ntdll.dll 000000007711C521 Unknown Unknown Unknown&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2011 15:24:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819132#M46744</guid>
      <dc:creator>mechprog</dc:creator>
      <dc:date>2011-10-05T15:24:50Z</dc:date>
    </item>
    <item>
      <title>forrtl: severe (24): end-of-file during read</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819133#M46745</link>
      <description>On the face of it, we can't tell you much except that your program has run out of data unexpectedly while reading a file. If it's your own code, you should put in iostat clauses and the like in your OPEN and READ with messages to tell you whether the file is found, report how much was read, what was last read, .....</description>
      <pubDate>Wed, 05 Oct 2011 15:39:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819133#M46745</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2011-10-05T15:39:42Z</dc:date>
    </item>
    <item>
      <title>forrtl: severe (24): end-of-file during read</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819134#M46746</link>
      <description>You can obtain a more useful stack trace, in terms of line-numbers, if you recompile using the -traceback option. You can then examine the READ statements that are so exposed to determine why the program ran out of data.</description>
      <pubDate>Wed, 05 Oct 2011 15:46:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819134#M46746</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-10-05T15:46:14Z</dc:date>
    </item>
    <item>
      <title>forrtl: severe (24): end-of-file during read</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819135#M46747</link>
      <description>Thanks for your response, firstly I have tried addingthe followingIOSTAT code as suggested, but I still recieve the same error messages.&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;[fxfortran]      open(UNIT=t,FILE='C:analysisdocwrite.txt',STATUS='OLD',
     $IOSTAT=ios, FORM='FORMATTED') 
      IF (ios.NE.0) PRINT*, ios[/fxfortran]&lt;/PRE&gt;&lt;BR /&gt;Secondly, I could not find much useful information regarding traceback, only on the following link:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://software.intel.com/sites/products/documentation/hpc/compilerpro/en-us/fortran/lin/compiler_f/bldaps_for/common/bldaps_use_trcback.htm"&gt;http://software.intel.com/sites/products/documentation/hpc/compilerpro/en-us/fortran/lin/compiler_f/bldaps_for/common/bldaps_use_trcback.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;How with this help me to solve my problem? &lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Wed, 05 Oct 2011 21:30:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819135#M46747</guid>
      <dc:creator>mechprog</dc:creator>
      <dc:date>2011-10-05T21:30:12Z</dc:date>
    </item>
    <item>
      <title>forrtl: severe (24): end-of-file during read</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819136#M46748</link>
      <description>If you're not getting an error on the open, it tends to confirm that your program made it to a read and failed there. If you had multiple read statements, activating the traceback should help you determine which one was active at failure, in advance of adding an iostat and other diagnostics there.&lt;BR /&gt;You're quoting a Windows style path and shared library names but posting on the linux forum. Actually, traceback without running under debugger tends to be more reliable on Windows, so the advice you got here shouldn't be wasted.</description>
      <pubDate>Thu, 06 Oct 2011 00:16:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819136#M46748</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2011-10-06T00:16:08Z</dc:date>
    </item>
    <item>
      <title>forrtl: severe (24): end-of-file during read</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819137#M46749</link>
      <description>Hi thanks, for your input, I am not sure how to use tracebacks? Can you point me towards some information where I can learn more about how to use this and any other information that may help me to solve my problem.&lt;BR /&gt;&lt;BR /&gt;P.S. Yes I accidently posted on the linux forum instead of the Windows, but couldn't move it after. If you could move it to the Windows forum, that may be useful for others in the future trying to solve similar issues. Thanks.</description>
      <pubDate>Thu, 06 Oct 2011 08:44:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819137#M46749</guid>
      <dc:creator>mechprog</dc:creator>
      <dc:date>2011-10-06T08:44:13Z</dc:date>
    </item>
    <item>
      <title>forrtl: severe (24): end-of-file during read</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819138#M46750</link>
      <description>It is beneficial to consult the Intel Fortran User Guide.

&lt;DIV class="section"&gt;&lt;H2&gt;Syntax&lt;/H2&gt;&lt;TABLE class="syntaxdiagramtbl" border="0" cellpadding="1" cellspacing="0" width="85%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="noborder" valign="top" width="32%"&gt;&lt;P&gt;Linux and Mac OS X:&lt;/P&gt;&lt;/TD&gt;&lt;TD class="noborder" valign="top"&gt;&lt;P&gt;-traceback&lt;/P&gt;&lt;P&gt;-notraceback&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE class="syntaxdiagramtbl" border="0" cellpadding="1" cellspacing="0" width="85%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="noborder" valign="top" width="32%"&gt;&lt;P&gt;Windows:&lt;/P&gt;&lt;/TD&gt;&lt;TD class="noborder" valign="top"&gt;&lt;P&gt;/traceback&lt;/P&gt;&lt;P&gt;/notraceback&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;
&lt;DIV class="section"&gt;&lt;H2&gt;Arguments&lt;/H2&gt;&lt;P&gt;None&lt;/P&gt;
&lt;/DIV&gt;

&lt;H2&gt;Default&lt;/H2&gt;&lt;TABLE border="0" cellpadding="4" cellspacing="0" width="90%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="noborder" valign="top" width="30%"&gt;&lt;P&gt;notraceback&lt;/P&gt;&lt;/TD&gt;
&lt;TD class="noborder" valign="top"&gt;&lt;P&gt;No extra information is generated in the object file to produce traceback information.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Thu, 06 Oct 2011 09:38:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819138#M46750</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-10-06T09:38:14Z</dc:date>
    </item>
    <item>
      <title>forrtl: severe (24): end-of-file during read</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819139#M46751</link>
      <description>&lt;P&gt;By reading the through the Intel Fortran Comilers, it seems that the traceback option is used by typing a command into the command window however, I do not have an executable as I am only building a user defined subroutine to be used with Abaqus. I am still not sure how traceback will help me to solve this problem. I am posting to find some more inspiration, the fortran world is much lonelier than I expected... :-( (expect for this forum of course :-))&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2011 16:09:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819139#M46751</guid>
      <dc:creator>mechprog</dc:creator>
      <dc:date>2011-10-06T16:09:58Z</dc:date>
    </item>
    <item>
      <title>forrtl: severe (24): end-of-file during read</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819140#M46752</link>
      <description>&lt;I&gt;&amp;gt; I do not have an executable as I am only building a user defined subroutine &amp;gt; to be used with Abaqus.&lt;BR /&gt;&lt;BR /&gt;&lt;/I&gt;This is the first mention of Abaqus in this thread. In your situation I would write a small driver (main program) to call the subroutine in the same way that Abaqus does (I don't use Abaqus). &lt;BR /&gt;&lt;BR /&gt;Compile and run the program consisting of the driver and the subroutine outside of Abaqus and debug it. Then, when it is working properly, hook it up to Abaqus.&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Oct 2011 16:44:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819140#M46752</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-10-06T16:44:15Z</dc:date>
    </item>
    <item>
      <title>forrtl: severe (24): end-of-file during read</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819141#M46753</link>
      <description>That's a good idea mecej4 thanks, &lt;BR /&gt;&lt;BR /&gt;I am not sure if I would CALL my subroutine as a subroutine in the small driver (main program) or do this in some other way? &lt;BR /&gt;&lt;BR /&gt;Note: that the current Abaqus subroutine calls a number of other abaqus based subroutines and utilities. Therefore I am not sure if this will cause a bunch of problems, as it relays on a bunch of inputs/links with abaqus.</description>
      <pubDate>Thu, 06 Oct 2011 17:27:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819141#M46753</guid>
      <dc:creator>mechprog</dc:creator>
      <dc:date>2011-10-06T17:27:08Z</dc:date>
    </item>
    <item>
      <title>forrtl: severe (24): end-of-file during read</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819142#M46754</link>
      <description>Hello all,&lt;BR /&gt;&lt;BR /&gt;I am really in need with some help with my fortran code to be used with Abaqus. I have tried so many things to overcome this problem, however, I still can not solve this. I have tried to include the following code, this prints out "something is wrong" in a continuous loop in status file when running the analysis and this ends with an error. Does anyone have any further suggestions on this? I have spent so much time over the problem... thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;[fxfortran]      open(UNIT=u,FILE='filename',STATUS='REPLACE',
     $ FORM='FORMATTED')
C
C   Read the number of points 
C
      do i=1,rtun  
         read(r,1000,IOSTAT=ios) jslnodes(i)
           If (ios.Ne.0) Then
             Write(*,*) 'Something is wrong'
             Exit
           End if
      enddo[/fxfortran]&lt;/PRE&gt;</description>
      <pubDate>Sun, 09 Oct 2011 11:03:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819142#M46754</guid>
      <dc:creator>mechprog</dc:creator>
      <dc:date>2011-10-09T11:03:30Z</dc:date>
    </item>
    <item>
      <title>forrtl: severe (24): end-of-file during read</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819143#M46755</link>
      <description>How does this differ from your expectation? You open and clear out a file, as if you intended to write to it, then attempt to read data from it. You might report at least on whether ios indicates an attempt to read past the end or some other error.</description>
      <pubDate>Sun, 09 Oct 2011 12:41:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819143#M46755</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2011-10-09T12:41:47Z</dc:date>
    </item>
    <item>
      <title>forrtl: severe (24): end-of-file during read</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819144#M46756</link>
      <description>Note that you are opening unit "u" and reading from unit "r". Is that intentional?&lt;BR /&gt;&lt;BR /&gt;You've probably read more data than is in the file. As Tim posts - what's the value of ios when it first goes non-zero? What's the value of i at that time? What is in "filename". Does it have "rtun" lines in it (each read pulls in a complete record which is equivalent to a line for a formatted file)? Does each line have a constant that suits the type of jslnodes (integer if it is implicitly typed)? What is the format statement referred to with statement label 1000? Does it have a data edit descriptor that suits the type of jslnodes? &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 09 Oct 2011 21:51:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819144#M46756</guid>
      <dc:creator>IanH</dc:creator>
      <dc:date>2011-10-09T21:51:42Z</dc:date>
    </item>
    <item>
      <title>forrtl: severe (24): end-of-file during read</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819145#M46757</link>
      <description>It would be helpful if you print the value of ios, as this will tell you what the error is.&lt;BR /&gt;&lt;BR /&gt;However, a couple of observations:&lt;BR /&gt;1. Is this the acutal code, or an example, is your data file called 'filename' or something else. You should have the full page and name of the file in the open statement.&lt;BR /&gt;2. If you are only reading the file, why have you got the STATUS='REPLACE', as this would suggest you are &lt;BR /&gt;going to write to the file, replacing the original.&lt;BR /&gt;3. If this is the real code, not an example, you open unit number "u", but are reading from unit number "r". These should be the same unit number.&lt;BR /&gt;&lt;BR /&gt;Can you please post the full code you are using, otherwise we are guess as to the real cause of the problem.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;David&lt;BR /&gt;</description>
      <pubDate>Sun, 09 Oct 2011 22:48:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819145#M46757</guid>
      <dc:creator>DavidWhite</dc:creator>
      <dc:date>2011-10-09T22:48:02Z</dc:date>
    </item>
    <item>
      <title>forrtl: severe (24): end-of-file during read</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819146#M46758</link>
      <description>Dear IanH,&lt;BR /&gt;&lt;BR /&gt;I am very sorry for rating your reponse, I pressed the star by accident whilst reading itand could not change it after.If the administrators can remove the 1star, please do.I rate your response very highly and appreciate it very much.&lt;BR /&gt;&lt;BR /&gt;I well get back to you all ASAP on your comments. Many Thanks.</description>
      <pubDate>Mon, 10 Oct 2011 08:55:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819146#M46758</guid>
      <dc:creator>mechprog</dc:creator>
      <dc:date>2011-10-10T08:55:06Z</dc:date>
    </item>
    <item>
      <title>forrtl: severe (24): end-of-file during read</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819147#M46759</link>
      <description>TimP, thanks for your input. Your are correct, I have changed this from "REPLACE" to "OLD" to avoid clearing out the file (my mistake).&lt;BR /&gt;&lt;BR /&gt;I am not familar with IOSTAT, so I am learning as I go along as to how it is going to help me solve this and future problems.</description>
      <pubDate>Tue, 11 Oct 2011 08:52:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819147#M46759</guid>
      <dc:creator>mechprog</dc:creator>
      <dc:date>2011-10-11T08:52:44Z</dc:date>
    </item>
    <item>
      <title>forrtl: severe (24): end-of-file during read</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819148#M46760</link>
      <description>&lt;I&gt;&amp;gt; I am not familar with IOSTAT, so I am learning as I go along as to how it is going to help me solve this and future problems.&lt;BR /&gt;&lt;BR /&gt;&lt;/I&gt;There is no need to explore and stumble in the dark. The compiler documentation contains a table of IOSTAT values, equivalent symbolic constants, and the longer string describing the significance of each I/O error.</description>
      <pubDate>Tue, 11 Oct 2011 11:21:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819148#M46760</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-10-11T11:21:29Z</dc:date>
    </item>
    <item>
      <title>forrtl: severe (24): end-of-file during read</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819149#M46761</link>
      <description>I looked into it and we can not change the star rating once you have set it. We did submit our star rating to try increase it.&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;------&lt;/P&gt;&lt;P&gt;Wendy&lt;/P&gt;&lt;P&gt;&lt;A href="http://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/announcement/241/"&gt;Attaching or including files in a post&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2011 16:51:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819149#M46761</guid>
      <dc:creator>Wendy_Doerner__Intel</dc:creator>
      <dc:date>2011-10-11T16:51:12Z</dc:date>
    </item>
    <item>
      <title>forrtl: severe (24): end-of-file during read</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819151#M46763</link>
      <description>Hi everyone,&lt;BR /&gt;&lt;BR /&gt;1. For sure, the help and support on this forum is some of the best I have experienced on the internet.&lt;BR /&gt;2. Are you think about the same Abaqus? I am referring to SIMULA Abaqus Finite Element Analysis Engineering software&lt;BR /&gt;3. "Fun" is one way of describing it :-)&lt;BR /&gt;&lt;BR /&gt;Thanks for everyone advice and tips, I have tried to incorporate all that I can.I can incorporate all of it, as I am not writing a full program, but rather a Fortran subroutine to be used with an analysis. You comments regarding confidentiality is much appreciated, I have always felt this forum to becompletely professional.&lt;BR /&gt;&lt;BR /&gt;I have uploaded the code and Nodesdoc_test file to this post, see link below. I look forward to any feedback and advice. It's been a steep learning curve, hope that I manageif it gets steeper ;-)&lt;BR /&gt;&lt;BR /&gt;Thank-you all.</description>
      <pubDate>Wed, 12 Oct 2011 17:56:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819151#M46763</guid>
      <dc:creator>mechprog</dc:creator>
      <dc:date>2011-10-12T17:56:05Z</dc:date>
    </item>
    <item>
      <title>forrtl: severe (24): end-of-file during read</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819152#M46764</link>
      <description>You've got all the numbers on one line. Each READ statement (without an ADVANCE specifier) reads in a complete "record". For formatted (text) files, a record is equivalent to a line. The read statement will pull in the whole line, and then guided by its list of io-items (of which there is only one - "jslnodes(i)") and its format, convert the first four characters to a integer, store that in jslnodes(i), and then discard the rest of the line. Because there's only one line, the next trip through the do loop, you hit end of file!&lt;BR /&gt;&lt;BR /&gt;Note that the format for the read "(I4)" says to get a single integer from a field that is four characters wide. It doesn't say anything about using the comma as a separator - which is what your input file is using - so you've got a mismatch there too. &lt;BR /&gt;&lt;BR /&gt;
And finally nmax is 117, but you've only got 63 numbers in the file.&lt;BR /&gt;&lt;BR /&gt;So either your input file needs to change to match the code, or your code needs to change to match the input file, or a bit of both.&lt;BR /&gt;&lt;BR /&gt;If you want to stick to the comma separated line you might be able to get away with list directed formatting (use a * for the format). There are some downsides, as the rules for what is valid input under list directed formatting are quite loose, so errors in the input may go undetected or some forms of input may not be translated quite as you'd expect. Most of the time that means that you are better off using an explicit format, perhaps with some parsing code to handle things like use of a comma as a separator. But as an example:&lt;BR /&gt;
&lt;BR /&gt;&lt;PRE&gt;[fxfortran]      PROGRAM LookMumICanRead      
        IMPLICIT NONE      
        INTEGER, PARAMETER :: u = 55
        INTEGER, PARAMETER :: nmax = 63
        INTEGER :: jslnodes(nmax)
        INTEGER :: i
!****        
        OPEN( UNIT=u, FILE='Nodesdoc_test.txt', ACTION='READ', 
     +      STATUS='OLD' )      
        READ (u,*) jslnodes(:nmax)        
        DO i = 1, nmax
          PRINT "(I0,':',T5,I0)", i, jslnodes(i)
        END DO        
        CLOSE(u)      
      END PROGRAM LookMumICanRead[/fxfortran]&lt;/PRE&gt; This uses F90 array syntax and type declarations, just to balance the archaic fixed form source.&lt;BR /&gt;&lt;BR /&gt;(Don't worry about the stars - I don't collect them...)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Oct 2011 21:17:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-24-end-of-file-during-read/m-p/819152#M46764</guid>
      <dc:creator>IanH</dc:creator>
      <dc:date>2011-10-12T21:17:01Z</dc:date>
    </item>
  </channel>
</rss>

