<?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 Thanks, that was it! It makes in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Direct-Access-file-record-length-anomaly/m-p/1137327#M136109</link>
    <description>&lt;P&gt;Thanks, that was it! It makes sense; but that's always in hindsight...&lt;/P&gt;</description>
    <pubDate>Sun, 11 Feb 2018 15:28:06 GMT</pubDate>
    <dc:creator>Arne_van_Garrel</dc:creator>
    <dc:date>2018-02-11T15:28:06Z</dc:date>
    <item>
      <title>Direct Access file record length anomaly</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Direct-Access-file-record-length-anomaly/m-p/1137324#M136106</link>
      <description>&lt;P&gt;I (lately) have a problem occurring when writing to direct-access files. Attached is the smallest code that reproduces the problem on my Win10 system.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;In the 'Debug' mode for x64 the code runs as expected: data is written to the direct-access file.&amp;nbsp;&lt;SPAN style="font-size: 1em;"&gt;In the 'Release' mode for x64 the following error message is produced:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;forrtl: severe (66): output statement overflows record, unit 12, file C:\arne\Visual Studio 2015\Projects\test_direct_access\test_da.dat&lt;BR /&gt;
	Image&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PC&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Routine&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Line&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Source&lt;BR /&gt;
	test_direct_acces&amp;nbsp; 00007FF6624C7E07&amp;nbsp; Unknown&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Unknown&amp;nbsp; Unknown&lt;BR /&gt;
	test_direct_acces&amp;nbsp; 00007FF6624BB9C2&amp;nbsp; Unknown&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Unknown&amp;nbsp; Unknown&lt;BR /&gt;
	test_direct_acces&amp;nbsp; 00007FF6624B8AB8&amp;nbsp; Unknown&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Unknown&amp;nbsp; Unknown&lt;BR /&gt;
	test_direct_acces&amp;nbsp; 00007FF6624B12F5&amp;nbsp; Unknown&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Unknown&amp;nbsp; Unknown&lt;BR /&gt;
	test_direct_acces&amp;nbsp; 00007FF662511532&amp;nbsp; Unknown&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Unknown&amp;nbsp; Unknown&lt;BR /&gt;
	test_direct_acces&amp;nbsp; 00007FF6625118D5&amp;nbsp; Unknown&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Unknown&amp;nbsp; Unknown&lt;BR /&gt;
	KERNEL32.DLL&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00007FFF870B1FE4&amp;nbsp; Unknown&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Unknown&amp;nbsp; Unknown&lt;BR /&gt;
	ntdll.dll&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 00007FFF89B1EFB1&amp;nbsp; Unknown&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Unknown&amp;nbsp; Unknown&lt;BR /&gt;
	Press any key to continue . . .&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The ‘Release’ code seems to assume that the record length is specified in ‘bytes’ and not in ‘4 byte units’ as specified in the project. Changing ‘LEN_R64 = 2’ to ‘LEN_R64 = 8’ makes that the ‘Release’ version runs without error.&lt;/P&gt;

&lt;P&gt;Any idea about what causes this strange behavior?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Feb 2018 13:09:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Direct-Access-file-record-length-anomaly/m-p/1137324#M136106</guid>
      <dc:creator>Arne_van_Garrel</dc:creator>
      <dc:date>2018-02-11T13:09:26Z</dc:date>
    </item>
    <item>
      <title>I (lately) have a problem</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Direct-Access-file-record-length-anomaly/m-p/1137325#M136107</link>
      <description>&lt;P&gt;I (lately) have a problem occurring when writing to direct-access files. Attached is the smallest code that reproduces the problem on my Win10 system.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;In the 'Debug' mode for x64 the code runs as expected: data is written to the direct-access file.&lt;/P&gt;

&lt;P&gt;In the 'Release' mode for x64 the following error message is produced:&lt;/P&gt;

&lt;P&gt;forrtl: severe (66): output statement overflows record, unit 12, file C:\arne\Visual Studio 2015\Projects\test_direct_access\test_da.dat&lt;BR /&gt;
	Image&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PC&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Routine&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Line&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Source&lt;BR /&gt;
	test_direct_acces&amp;nbsp; 00007FF6624C7E07&amp;nbsp; Unknown&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Unknown&amp;nbsp; Unknown&lt;BR /&gt;
	test_direct_acces&amp;nbsp; 00007FF6624BB9C2&amp;nbsp; Unknown&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Unknown&amp;nbsp; Unknown&lt;BR /&gt;
	test_direct_acces&amp;nbsp; 00007FF6624B8AB8&amp;nbsp; Unknown&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Unknown&amp;nbsp; Unknown&lt;BR /&gt;
	test_direct_acces&amp;nbsp; 00007FF6624B12F5&amp;nbsp; Unknown&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Unknown&amp;nbsp; Unknown&lt;BR /&gt;
	test_direct_acces&amp;nbsp; 00007FF662511532&amp;nbsp; Unknown&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Unknown&amp;nbsp; Unknown&lt;BR /&gt;
	test_direct_acces&amp;nbsp; 00007FF6625118D5&amp;nbsp; Unknown&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Unknown&amp;nbsp; Unknown&lt;BR /&gt;
	KERNEL32.DLL&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00007FFF870B1FE4&amp;nbsp; Unknown&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Unknown&amp;nbsp; Unknown&lt;BR /&gt;
	ntdll.dll&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 00007FFF89B1EFB1&amp;nbsp; Unknown&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Unknown&amp;nbsp; Unknown&lt;BR /&gt;
	Press any key to continue . . .&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The ‘Release’ code seems to assume that the record length is specified in ‘bytes’ and not in ‘4 byte units’ as specified in the project. Changing ‘LEN_R64 = 2’ to ‘LEN_R64 = 8’ makes that the ‘Release’ version runs without error.&lt;/P&gt;

&lt;P&gt;Any idea about what causes this strange behavior in 'Release' mode?&lt;/P&gt;</description>
      <pubDate>Sun, 11 Feb 2018 13:12:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Direct-Access-file-record-length-anomaly/m-p/1137325#M136107</guid>
      <dc:creator>Arne_van_Garrel</dc:creator>
      <dc:date>2018-02-11T13:12:36Z</dc:date>
    </item>
    <item>
      <title>That's a result of using all</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Direct-Access-file-record-length-anomaly/m-p/1137326#M136108</link>
      <description>&lt;P&gt;That's a result of using all the options "in the kitchen-sink". The &lt;STRONG&gt;/standard-semantics &lt;/STRONG&gt;option pulls in &lt;STRONG&gt;/assume:byterecl&lt;/STRONG&gt;. Either turn off &lt;STRONG&gt;/standard-semantics&lt;/STRONG&gt; or override the &lt;STRONG&gt;/assume:byterecl&lt;/STRONG&gt; part of it, as described in the documentation of the compiler options, or edit your project settings for Release mode and specify &lt;STRONG&gt;/assume:nobyterecl&lt;/STRONG&gt;.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Feb 2018 13:57:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Direct-Access-file-record-length-anomaly/m-p/1137326#M136108</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2018-02-11T13:57:00Z</dc:date>
    </item>
    <item>
      <title>Thanks, that was it! It makes</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Direct-Access-file-record-length-anomaly/m-p/1137327#M136109</link>
      <description>&lt;P&gt;Thanks, that was it! It makes sense; but that's always in hindsight...&lt;/P&gt;</description>
      <pubDate>Sun, 11 Feb 2018 15:28:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Direct-Access-file-record-length-anomaly/m-p/1137327#M136109</guid>
      <dc:creator>Arne_van_Garrel</dc:creator>
      <dc:date>2018-02-11T15:28:06Z</dc:date>
    </item>
  </channel>
</rss>

