<?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 (67): input statement requires too much data, in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-67-input-statement-requires-too-much-data/m-p/751721#M7945</link>
    <description>OK, good luck hunting this down. A few notes: the unformatted data files should be created by the Intel Fortran compiler - other Fortran compilers may use a different binary format for the unformatted file.&lt;BR /&gt;&lt;BR /&gt;You are right to use od to view the file. They are pretty easy to read using od. the "00000018" values are pointers/byte counts to the end of and beginning of the record ( 18 hex = 24 decimal, byte count to end of record or beginning of record (6 data elements of 4 bytes each, 24 byte records). So you will have one length at the start of a record to point to the end, and another length word at the end that points backwards to the start of the record.&lt;BR /&gt;&lt;BR /&gt;For more information, in your documentation search for "Record Types" or look under "User Guide" -&amp;gt; "Building Applications" -&amp;gt; "Data and IO" -&amp;gt; "Fortran IO" -&amp;gt; "Record Types". &lt;BR /&gt;&lt;BR /&gt;I'd look at the END of the unformatted data file and see that a complete record was written.</description>
    <pubDate>Mon, 27 Dec 2010 21:34:10 GMT</pubDate>
    <dc:creator>Ron_Green</dc:creator>
    <dc:date>2010-12-27T21:34:10Z</dc:date>
    <item>
      <title>forrtl: severe (67): input statement requires too much data,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-67-input-statement-requires-too-much-data/m-p/751716#M7940</link>
      <description>I am using Intel Composer,now in this program gaves me this:&lt;BR /&gt;forrtl: severe (67): input statement requires too much data&lt;BR /&gt;In the same program,it has read 2 binary files with no problem.&lt;BR /&gt;if(itimes.eq.1) &lt;BR /&gt; +open(27, file='rec.in', form='unformatted', status='old')&lt;BR /&gt;150 read(27,end=1000) xrec,yrec,zrec,trec,urec,inum&lt;BR /&gt;&lt;BR /&gt;What means too much data?&lt;BR /&gt;I made rec.in this way:&lt;BR /&gt;write(*, fmt="(/'Enter input file name')")&lt;BR /&gt; read(5,85) ifname&lt;BR /&gt;85 format(a72)&lt;BR /&gt; write(*, fmt="(/'Enter output file name')")&lt;BR /&gt; read(5,85) ofname&lt;BR /&gt;c&lt;BR /&gt; open(unit=11, file=ifname, status='old')&lt;BR /&gt; open(unit=12, file=ofname, form='unformatted')&lt;BR /&gt; n=0&lt;BR /&gt;c&lt;BR /&gt;100 read(11,5, end=999) x,y,z,t,u,i&lt;BR /&gt;5 format(5f10.3,i3)&lt;BR /&gt; write(12) x,y,z,t,u,i&lt;BR /&gt;&lt;BR /&gt;Where is the problem?</description>
      <pubDate>Mon, 27 Dec 2010 16:31:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-67-input-statement-requires-too-much-data/m-p/751716#M7940</guid>
      <dc:creator>milenko1976</dc:creator>
      <dc:date>2010-12-27T16:31:54Z</dc:date>
    </item>
    <item>
      <title>forrtl: severe (67): input statement requires too much data,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-67-input-statement-requires-too-much-data/m-p/751717#M7941</link>
      <description>Show the type declarations (and dimensions, if any) for the items of the I/O list:&lt;BR /&gt;&lt;BR /&gt; x,y,z,t,u,i</description>
      <pubDate>Mon, 27 Dec 2010 17:37:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-67-input-statement-requires-too-much-data/m-p/751717#M7941</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2010-12-27T17:37:58Z</dc:date>
    </item>
    <item>
      <title>forrtl: severe (67): input statement requires too much data,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-67-input-statement-requires-too-much-data/m-p/751718#M7942</link>
      <description>Tough question because I have not declare them,nor the original code writer.Actually intention was to make binary from ascii.&lt;BR /&gt;Input file,couple of lines: &lt;BR /&gt; 0.000 1.000 0.020 0.000 0.000 -2&lt;BR /&gt; 0.250 1.000 0.020 0.000 0.000 -2&lt;BR /&gt; 0.500 1.000 0.020 0.000 0.000 -2&lt;BR /&gt; 0.750 1.000 0.020 0.000 0.000 -2&lt;BR /&gt; 1.000 1.000 0.020 0.000 0.000 -2&lt;BR /&gt; 1.250 1.000 0.020 0.000 0.000 -2&lt;BR /&gt; 1.500 1.000 0.020 0.000 0.000 -2&lt;BR /&gt; 1.750 1.000 0.020 0.000 0.000 -2&lt;BR /&gt; 2.000 1.000 0.020 0.000 0.000 -2&lt;BR /&gt;The formay is 5f10.3,int3.So od -t x4 gives:&lt;BR /&gt;0000000 00000018 00000000 3f800000 3ca3d70a&lt;BR /&gt;0000020 00000000 00000000 fffffffe 00000018&lt;BR /&gt;0000040 00000018 3e800000 3f800000 3ca3d70a&lt;BR /&gt;0000060 00000000 00000000 fffffffe 00000018&lt;BR /&gt;0000100 00000018 3f000000 3f800000 3ca3d70a&lt;BR /&gt;0000120 00000000 00000000 fffffffe 00000018&lt;BR /&gt;0000140 00000018 3f400000 3f800000 3ca3d70a&lt;BR /&gt;0000160 00000000 00000000 fffffffe 00000018&lt;BR /&gt;0000200 00000018 3f800000 3f800000 3ca3d70a&lt;BR /&gt;0000220 00000000 00000000 fffffffe 00000018&lt;BR /&gt;0000240 00000018 3fa00000 3f800000 3ca3d70a&lt;BR /&gt;0000260 00000000 00000000 fffffffe 00000018&lt;BR /&gt;0000300 00000018 3fc00000 3f800000 3ca3d70a&lt;BR /&gt;0000320 00000000 00000000 fffffffe 00000018&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Dec 2010 20:07:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-67-input-statement-requires-too-much-data/m-p/751718#M7942</guid>
      <dc:creator>milenko1976</dc:creator>
      <dc:date>2010-12-27T20:07:27Z</dc:date>
    </item>
    <item>
      <title>forrtl: severe (67): input statement requires too much data,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-67-input-statement-requires-too-much-data/m-p/751719#M7943</link>
      <description>There must be some bug in your code, but it's not clear where that is. Your example, as far as I can tell:&lt;BR /&gt;&lt;BR /&gt;program repro&lt;BR /&gt; real :: x,y,z,t,u&lt;BR /&gt; integer :: i&lt;BR /&gt; real :: xr,yr,zr,tr,ur&lt;BR /&gt; integer :: ir&lt;BR /&gt;&lt;BR /&gt; open(unit=11, file='rec.txt', status='old')&lt;BR /&gt; open(unit=12, file='rec.in', form='unformatted', status='new')&lt;BR /&gt;&lt;BR /&gt; do while(.true.)&lt;BR /&gt;100 read(11,5, end=999) x,y,z,t,u,i&lt;BR /&gt;5 format(5f10.3,i3)&lt;BR /&gt; write(12) x,y,z,t,u,i&lt;BR /&gt; end do&lt;BR /&gt;999 write(*,*) "file converted, closing files."&lt;BR /&gt; close( 11 )&lt;BR /&gt; close( 12 )&lt;BR /&gt; write(*,*) "re-reading the binary file"&lt;BR /&gt; open(27,file='rec.in',form='unformatted', status='old')&lt;BR /&gt;&lt;BR /&gt; do while(.true.)&lt;BR /&gt; read(27,end=1000) xr,yr,zr,tr,ur,ir&lt;BR /&gt; write(*,*) xr, yr, zr, tr, ur, ir&lt;BR /&gt; end do&lt;BR /&gt;&lt;BR /&gt;1000 close(27) &lt;BR /&gt; write(*,*) "end of file reached"&lt;BR /&gt;&lt;BR /&gt;end program repro&lt;BR /&gt;&lt;BR /&gt;and I created the input text file "rec.txt":&lt;BR /&gt;$ more rec.txt&lt;BR /&gt; 0.000 1.000 0.020 0.000 0.000 -2&lt;BR /&gt; 0.250 1.000 0.020 0.000 0.000 -2&lt;BR /&gt; 0.500 1.000 0.020 0.000 0.000 -2&lt;BR /&gt; 0.750 1.000 0.020 0.000 0.000 -2&lt;BR /&gt; 1.000 1.000 0.020 0.000 0.000 -2&lt;BR /&gt; 1.250 1.000 0.020 0.000 0.000 -2&lt;BR /&gt; 1.500 1.000 0.020 0.000 0.000 -2&lt;BR /&gt; 1.750 1.000 0.020 0.000 0.000 -2&lt;BR /&gt; 2.000 1.000 0.020 0.000 0.000 -2&lt;BR /&gt;&lt;BR /&gt;ifort -g -traceback -o repro repro.f90&lt;BR /&gt;rwgreen-mac02:79662 rwgreen$ ./repro&lt;BR /&gt;file converted, closing files.&lt;BR /&gt;re-reading the binary file&lt;BR /&gt; 0.0000000E+00 1.000000 2.0000000E-02 0.0000000E+00 0.0000000E+00&lt;BR /&gt; -2&lt;BR /&gt; 0.2500000 1.000000 2.0000000E-02 0.0000000E+00 0.0000000E+00&lt;BR /&gt; -2&lt;BR /&gt; 0.5000000 1.000000 2.0000000E-02 0.0000000E+00 0.0000000E+00&lt;BR /&gt; -2&lt;BR /&gt; 0.7500000 1.000000 2.0000000E-02 0.0000000E+00 0.0000000E+00&lt;BR /&gt; -2&lt;BR /&gt; 1.000000 1.000000 2.0000000E-02 0.0000000E+00 0.0000000E+00&lt;BR /&gt; -2&lt;BR /&gt; 1.250000 1.000000 2.0000000E-02 0.0000000E+00 0.0000000E+00&lt;BR /&gt; -2&lt;BR /&gt; 1.500000 1.000000 2.0000000E-02 0.0000000E+00 0.0000000E+00&lt;BR /&gt; -2&lt;BR /&gt; 1.750000 1.000000 2.0000000E-02 0.0000000E+00 0.0000000E+00&lt;BR /&gt; -2&lt;BR /&gt; 2.000000 1.000000 2.0000000E-02 0.0000000E+00 0.0000000E+00&lt;BR /&gt; -2&lt;BR /&gt;end of file reached&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Runs without a problem. This is with the 12.0 compiler, but should work with any older version too. &lt;BR /&gt;So you have some bug in your code without the code there is no telling where the bug is. Make sure that label 1000 closes file unit 27, and check the logic flow in your program.&lt;BR /&gt;&lt;BR /&gt;ron</description>
      <pubDate>Mon, 27 Dec 2010 20:42:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-67-input-statement-requires-too-much-data/m-p/751719#M7943</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2010-12-27T20:42:08Z</dc:date>
    </item>
    <item>
      <title>forrtl: severe (67): input statement requires too much data,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-67-input-statement-requires-too-much-data/m-p/751720#M7944</link>
      <description>Thanks Ron,well I have presented just part of the code but I will go through ti again.</description>
      <pubDate>Mon, 27 Dec 2010 21:02:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-67-input-statement-requires-too-much-data/m-p/751720#M7944</guid>
      <dc:creator>milenko1976</dc:creator>
      <dc:date>2010-12-27T21:02:14Z</dc:date>
    </item>
    <item>
      <title>forrtl: severe (67): input statement requires too much data,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-67-input-statement-requires-too-much-data/m-p/751721#M7945</link>
      <description>OK, good luck hunting this down. A few notes: the unformatted data files should be created by the Intel Fortran compiler - other Fortran compilers may use a different binary format for the unformatted file.&lt;BR /&gt;&lt;BR /&gt;You are right to use od to view the file. They are pretty easy to read using od. the "00000018" values are pointers/byte counts to the end of and beginning of the record ( 18 hex = 24 decimal, byte count to end of record or beginning of record (6 data elements of 4 bytes each, 24 byte records). So you will have one length at the start of a record to point to the end, and another length word at the end that points backwards to the start of the record.&lt;BR /&gt;&lt;BR /&gt;For more information, in your documentation search for "Record Types" or look under "User Guide" -&amp;gt; "Building Applications" -&amp;gt; "Data and IO" -&amp;gt; "Fortran IO" -&amp;gt; "Record Types". &lt;BR /&gt;&lt;BR /&gt;I'd look at the END of the unformatted data file and see that a complete record was written.</description>
      <pubDate>Mon, 27 Dec 2010 21:34:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-67-input-statement-requires-too-much-data/m-p/751721#M7945</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2010-12-27T21:34:10Z</dc:date>
    </item>
    <item>
      <title>forrtl: severe (67): input statement requires too much data,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-67-input-statement-requires-too-much-data/m-p/751722#M7946</link>
      <description>another question: you are using the newest 'Fortran Composer XE 2011' compiler. did this program work with our older compilers like 11.1, 11.0, 10.1, or older?&lt;BR /&gt;&lt;BR /&gt;One other user has said he had problems with unformatted files with this XE 2011 compiler that he did NOT see with 11.1. But his code was too large to give to us. So there may be a bug, but so far we have not had a code that we can use to investigate the possible bug.&lt;BR /&gt;&lt;BR /&gt;ron</description>
      <pubDate>Mon, 27 Dec 2010 21:41:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-67-input-statement-requires-too-much-data/m-p/751722#M7946</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2010-12-27T21:41:06Z</dc:date>
    </item>
    <item>
      <title>forrtl: severe (67): input statement requires too much data,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-67-input-statement-requires-too-much-data/m-p/751723#M7947</link>
      <description>Ron&lt;BR /&gt;&lt;BR /&gt;Well with 11.1 I still had some problems,then I wanted to use f77 then decided to use Intel Fortran again and downloaded XE 2011.I am combing two codes for my Phd.In the first part of the code,there is binary file(array of travel-times),I think that it read it without any problems.</description>
      <pubDate>Tue, 28 Dec 2010 07:25:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-67-input-statement-requires-too-much-data/m-p/751723#M7947</guid>
      <dc:creator>milenko1976</dc:creator>
      <dc:date>2010-12-28T07:25:51Z</dc:date>
    </item>
    <item>
      <title>forrtl: severe (67): input statement requires too much data,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-67-input-statement-requires-too-much-data/m-p/751724#M7948</link>
      <description>I see no resolution of this problem. I recently got this error with a new input to an old code. What does the error message really mean by "too much data"?</description>
      <pubDate>Tue, 31 Jan 2012 14:41:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-67-input-statement-requires-too-much-data/m-p/751724#M7948</guid>
      <dc:creator>Clyde_Gumbert</dc:creator>
      <dc:date>2012-01-31T14:41:15Z</dc:date>
    </item>
    <item>
      <title>forrtl: severe (67): input statement requires too much data,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-67-input-statement-requires-too-much-data/m-p/751725#M7949</link>
      <description>It means that you have an unformatted READ statement that has more variables in the I/O list than data in the record. For example, if you wrote the record with four values and you tried to read in five, you'd get this error.</description>
      <pubDate>Tue, 31 Jan 2012 15:58:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-67-input-statement-requires-too-much-data/m-p/751725#M7949</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2012-01-31T15:58:39Z</dc:date>
    </item>
    <item>
      <title>forrtl: severe (67): input statement requires too much data,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-67-input-statement-requires-too-much-data/m-p/751726#M7950</link>
      <description>&lt;I&gt;&amp;gt;unformatted READ statement that has more variables in the I/O list than data in the record&lt;BR /&gt;&lt;BR /&gt;&lt;/I&gt;In other words, the number of I/O units of data that the unformatted I/O list calls for in the READ statement is larger than the length of the file record that is being read. Example:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;[fortran]program ioerr
integer x(8),y(10),i
do i=1,8
   x(i)=i*i
end do
open(11,file='io.ufd',form='unformatted',status='new')
write(11)x
close(11)
open(12,file='io.ufd',form='unformatted',status='old')
read(12)y
close(12)
end program ioerr
[/fortran]&lt;/PRE&gt;</description>
      <pubDate>Tue, 31 Jan 2012 16:15:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-67-input-statement-requires-too-much-data/m-p/751726#M7950</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2012-01-31T16:15:27Z</dc:date>
    </item>
    <item>
      <title>forrtl: severe (67): input statement requires too much data,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-67-input-statement-requires-too-much-data/m-p/751727#M7951</link>
      <description>So it indicates a mismatch between the record length and the expected record length rather than some sort of limit on the record size. Thanks</description>
      <pubDate>Wed, 01 Feb 2012 12:24:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/forrtl-severe-67-input-statement-requires-too-much-data/m-p/751727#M7951</guid>
      <dc:creator>Clyde_Gumbert</dc:creator>
      <dc:date>2012-02-01T12:24:32Z</dc:date>
    </item>
  </channel>
</rss>

