<?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 It appears that you are in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Input-statement-requires-too-much-data/m-p/1113165#M129632</link>
    <description>&lt;P&gt;It appears that you are hitting the known issue in PSXE 2016 Update 3 (16.0.3), &lt;A href="https://software.intel.com/en-us/articles/read-failure-unformatted-file-io-psxe-16-update-3"&gt;https://software.intel.com/en-us/articles/read-failure-unformatted-file-io-psxe-16-update-3&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;If you happen to have PSXE 2016 Update&amp;nbsp;2 (16.0.2) available that's the best work around. The fix will be available in&amp;nbsp;PSXE 2016&amp;nbsp;Update 4 in just a few weeks.&lt;/P&gt;</description>
    <pubDate>Fri, 26 Aug 2016 18:08:46 GMT</pubDate>
    <dc:creator>Kevin_D_Intel</dc:creator>
    <dc:date>2016-08-26T18:08:46Z</dc:date>
    <item>
      <title>Input statement requires too much data</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Input-statement-requires-too-much-data/m-p/1113160#M129627</link>
      <description>&lt;P&gt;I get the following error message:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;forrtl: severe (67): input statement requires too much data&lt;/PRE&gt;

&lt;P&gt;when running a program that reads a sequential unformatted file (see below) compiled with ifort 16.0.3.&lt;/P&gt;

&lt;P&gt;The interesting fact is that this error disappears if I compile with ifort 12.1.0 or if I compile with ifort 16.0.3 using the -qopenmp flag (which is very weird because I&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;don't write the file using this flag).&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;This is the program that produces the error,&lt;/SPAN&gt;&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;      program read
      integer n0,n1,n2,n3,m1,m2,m3,m4
      integer itol, ifr 
      integer i, j, k, l
      logical ifrhf
      real*8 eref, erepul, shift, shift1
      real*8, allocatable :: fockr(:,:), fockb(:,:)
      real*8, allocatable :: intr(:,:,:,:),intb(:,:,:,:),intm(:,:,:,:)

      open(unit=33,file='h8.inf',form='unformatted',
     &amp;amp;     status='old',access='sequential')
      rewind(33)
      read(33) n0,n1,n2,n3,ifrhf,itol,ifr,idiis,eref,erepul,shift,
     &amp;amp;     shift1,m1,m2,m3,m4
      print *, n0,n1,n2,n3,ifrhf,itol,ifr,idiis,eref,erepul,shift,
     &amp;amp;     shift1,m1,m2,m3,m4
      allocate(FockR(N3,N3))
      allocate(FockB(N3,N3))
      allocate(IntR(N0+1:N3,N0+1:N3,N0+1:N3,N0+1:N3))
      allocate(IntB(N0+1:N3,N0+1:N3,N0+1:N3,N0+1:N3))
      allocate(IntM(N0+1:N3,N0+1:N3,N0+1:N3,N0+1:N3))
      read(33) ((FockR(i,j),i=1,N3),j=1,N3)
      read(33) ((FockB(i,j),i=1,N3),j=1,N3)
      read(33) ((((IntR(i,j,k,l),i=N0+1,N3),j=N0+1,N3),
     &amp;amp;     k=N0+1,N3),l=N0+1,N3) 
      read(33) ((((IntM(i,j,k,l),i=N0+1,N3),j=N0+1,N3),
     &amp;amp;     k=N0+1,N3),l=N0+1,N3) 
      read(33) ((((IntB(i,j,k,l),i=N0+1,N3),j=N0+1,N3),
     &amp;amp;     k=N0+1,N3),l=N0+1,N3) 
      deallocate(FockR)
      deallocate(FockB)
      deallocate(IntR)
      deallocate(IntB)
      deallocate(IntM)
      close(33)
      end&lt;/PRE&gt;

&lt;P&gt;Thank you in advance for any advice.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 16:13:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Input-statement-requires-too-much-data/m-p/1113160#M129627</guid>
      <dc:creator>J__Emiliano_Deustua</dc:creator>
      <dc:date>2016-08-26T16:13:29Z</dc:date>
    </item>
    <item>
      <title>Please provide the input file</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Input-statement-requires-too-much-data/m-p/1113161#M129628</link>
      <description>&lt;P&gt;Please provide the input file&amp;nbsp;&lt;SPAN style="color: rgb(0, 0, 255); font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 16.26px; line-height: 17.886px; background-color: rgb(248, 248, 248);"&gt;'&lt;/SPAN&gt;h8.inf'&lt;SPAN style="color: rgb(0, 0, 255); font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 16.26px; line-height: 17.886px; background-color: rgb(248, 248, 248);"&gt;.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 16:40:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Input-statement-requires-too-much-data/m-p/1113161#M129628</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2016-08-26T16:40:21Z</dc:date>
    </item>
    <item>
      <title>Here it is.
Thank you!</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Input-statement-requires-too-much-data/m-p/1113162#M129629</link>
      <description>&lt;P&gt;Here it is.&lt;/P&gt;

&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 16:50:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Input-statement-requires-too-much-data/m-p/1113162#M129629</guid>
      <dc:creator>J__Emiliano_Deustua</dc:creator>
      <dc:date>2016-08-26T16:50:21Z</dc:date>
    </item>
    <item>
      <title>I think that your program is</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Input-statement-requires-too-much-data/m-p/1113163#M129630</link>
      <description>&lt;P&gt;I think that your program is not suitable for reading the file. On what kind of system was the unformatted file written? Do you know what the file is supposed to contain?&lt;/P&gt;

&lt;P&gt;It does appear to have little-endian format, but the numbers do not make sense. For example, the value of N3 read from the file is 0. Since N3 is used to size several allocated arrays, the rest of the read statements make no sense.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 17:52:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Input-statement-requires-too-much-data/m-p/1113163#M129630</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2016-08-26T17:52:35Z</dc:date>
    </item>
    <item>
      <title>Here is the output of that</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Input-statement-requires-too-much-data/m-p/1113164#M129631</link>
      <description>&lt;P&gt;Here is the output of that program using ifort 12.1.0 on Linux:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;                     0                     4                     4
                     8 T                     7                   222
                     8  -11.5796701333000        7.33682455890000     
  0.000000000000000E+000  0.000000000000000E+000                     3
                     5                     0                     0&lt;/PRE&gt;

&lt;P&gt;And this is the output using ifort 16.0.3:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;                     0                     4                     4
                     8 T                     7                   222
                     8  -11.5796701333000        7.33682455890000     
  0.000000000000000E+000  0.000000000000000E+000                     3
                     5                     0                     0
forrtl: severe (67): input statement requires too much data, unit 33, file /home/scratch/stoch-test/h8-stoch-as11-test/h8.inf
Image              PC                Routine            Line        Source             
a.out              00000000004061F9  Unknown               Unknown  Unknown
a.out              000000000041DAA6  Unknown               Unknown  Unknown
a.out              000000000041B663  Unknown               Unknown  Unknown
a.out              00000000004033DD  MAIN__                     26  test.f
a.out              000000000040252E  Unknown               Unknown  Unknown
libc.so.6          00007FD16373E291  Unknown               Unknown  Unknown
a.out              000000000040242A  Unknown               Unknown  Unknown&lt;/PRE&gt;

&lt;P&gt;I tried to find a document explaining how the fortran compiler encodes the unformatted sequential files but I didn't find it. I'm right now trying to understand if the binary structure makes sense using&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;od -A x -t x8, but again, I'm not sure how the files are codified.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;What draws my attention is the fact that the older ifort is doing fine, and the fact that adding the openmp flag fixes things.&lt;/P&gt;

&lt;P&gt;Thank you again for your help!&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 18:00:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Input-statement-requires-too-much-data/m-p/1113164#M129631</guid>
      <dc:creator>J__Emiliano_Deustua</dc:creator>
      <dc:date>2016-08-26T18:00:36Z</dc:date>
    </item>
    <item>
      <title>It appears that you are</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Input-statement-requires-too-much-data/m-p/1113165#M129632</link>
      <description>&lt;P&gt;It appears that you are hitting the known issue in PSXE 2016 Update 3 (16.0.3), &lt;A href="https://software.intel.com/en-us/articles/read-failure-unformatted-file-io-psxe-16-update-3"&gt;https://software.intel.com/en-us/articles/read-failure-unformatted-file-io-psxe-16-update-3&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;If you happen to have PSXE 2016 Update&amp;nbsp;2 (16.0.2) available that's the best work around. The fix will be available in&amp;nbsp;PSXE 2016&amp;nbsp;Update 4 in just a few weeks.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 18:08:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Input-statement-requires-too-much-data/m-p/1113165#M129632</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2016-08-26T18:08:46Z</dc:date>
    </item>
    <item>
      <title>Quote:Kevin D. (Intel) wrote:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Input-statement-requires-too-much-data/m-p/1113166#M129633</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Kevin D. (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;It appears that you are hitting the known issue in PSXE 2016 Update 3 (16.0.3), &lt;A href="https://software.intel.com/en-us/articles/read-failure-unformatted-file-io-psxe-16-update-3"&gt;https://software.intel.com/en-us/articles/read-failure-unformatted-file-io-psxe-16-update-3&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;If you happen to have PSXE 2016 Update&amp;nbsp;2 (16.0.2) available that's the best work around. The fix will be available in&amp;nbsp;PSXE 2016&amp;nbsp;Update 4 in just a few weeks.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Thank you Kevin. I will wait for the update 4 and work with the old compiler in the meanwhile.&lt;/P&gt;

&lt;P&gt;Best.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 18:25:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Input-statement-requires-too-much-data/m-p/1113166#M129633</guid>
      <dc:creator>J__Emiliano_Deustua</dc:creator>
      <dc:date>2016-08-26T18:25:04Z</dc:date>
    </item>
  </channel>
</rss>

