<?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 Re: Direct Access File Size Limits in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Direct-Access-File-Size-Limits/m-p/770611#M22392</link>
    <description>&lt;DIV&gt;Those limits do seem more than adequate for the forseeable future!&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I found the error message and 2 GB file size limit went away when I applied &lt;/DIV&gt;
&lt;DIV&gt;the 5.0D update. I thought I had already done that when I reinstalled on my new machine, but apparently had not.&lt;/DIV&gt;
&lt;DIV&gt;Randy&lt;/DIV&gt;</description>
    <pubDate>Fri, 02 Apr 2004 00:43:26 GMT</pubDate>
    <dc:creator>randystonesifer</dc:creator>
    <dc:date>2004-04-02T00:43:26Z</dc:date>
    <item>
      <title>Direct Access File Size Limits</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Direct-Access-File-Size-Limits/m-p/770607#M22388</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I have an application that creates rather large files (up to 4 GB so far)that consist of rather large fixed length records (a real*8 array of size as large as 160 MB so far). I found that using direct access (unformatted) type files instead of sequential access files (unformatted), gave significant reduction in run times (wall clock). However, when using the directaccess type, it appears that I am limited by a maximum file size of about 2 GB. I get the following error:&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;forrtl: An attempt was made to move the file pointer before the beginning of the&lt;BR /&gt;file.&lt;BR /&gt;forrtl: severe (38): error during write, unit 1, file C:...direct.raf&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I have tried changing the record length and found that the total file size seems to be the issue rather than the number of records or record length.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I am using DVF5. Is there really a 2GB limit on direct access files or am I up against another issue? Does the same limit exist in later releases of the compiler?&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;The following gives the above error message after printing rec1 = 270.&lt;/DIV&gt;
&lt;DIV&gt;program direct&lt;BR /&gt;implicit none&lt;BR /&gt;integer, parameter :: lblok = 1000000&lt;BR /&gt;integer rlength,rec1,i&lt;BR /&gt;real*8 A(lblok)&lt;BR /&gt;rlength=2*lblok&lt;BR /&gt;A=1.3e3&lt;BR /&gt;open(1,status='unknown',file='direct.raf',access='direct'&lt;BR /&gt;&amp;amp; ,form='unformatted',action='readwrite',recl=rlength)&lt;BR /&gt;rec1=1&lt;BR /&gt;do i=1,300&lt;BR /&gt; print*,'rec1=',rec1&lt;BR /&gt;write (1,rec=rec1) A&lt;BR /&gt;rec1=rec1+1&lt;BR /&gt;end do&lt;BR /&gt;end&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Randy&lt;/DIV&gt;</description>
      <pubDate>Wed, 31 Mar 2004 06:19:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Direct-Access-File-Size-Limits/m-p/770607#M22388</guid>
      <dc:creator>randystonesifer</dc:creator>
      <dc:date>2004-03-31T06:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Access File Size Limits</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Direct-Access-File-Size-Limits/m-p/770608#M22389</link>
      <description>&lt;DIV&gt;This limit was effectively eliminated in a later version - 6.5, maybe. The current product is Intel Visual Fortran 8.0.&lt;/DIV&gt;</description>
      <pubDate>Wed, 31 Mar 2004 10:28:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Direct-Access-File-Size-Limits/m-p/770608#M22389</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2004-03-31T10:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Access File Size Limits</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Direct-Access-File-Size-Limits/m-p/770609#M22390</link>
      <description>&lt;P&gt;Steve,&lt;/P&gt;
&lt;P&gt;Thanks for the quick answer. I guess I finally have a good reason to update my compiler.;-)&lt;/P&gt;
&lt;P&gt;Are you saying there are no compiler related limits on the direct access file size (or on the number of records)?&lt;/P&gt;
&lt;P&gt;Randy&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 31 Mar 2004 11:26:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Direct-Access-File-Size-Limits/m-p/770609#M22390</guid>
      <dc:creator>randystonesifer</dc:creator>
      <dc:date>2004-03-31T11:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Access File Size Limits</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Direct-Access-File-Size-Limits/m-p/770610#M22391</link>
      <description>&lt;DIV&gt;If I recall correctly, the current version allows the record length to be 64 bits and the file size to be 64 bits. You'll havea hard time exceeding those.&lt;/DIV&gt;</description>
      <pubDate>Thu, 01 Apr 2004 13:09:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Direct-Access-File-Size-Limits/m-p/770610#M22391</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2004-04-01T13:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Access File Size Limits</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Direct-Access-File-Size-Limits/m-p/770611#M22392</link>
      <description>&lt;DIV&gt;Those limits do seem more than adequate for the forseeable future!&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I found the error message and 2 GB file size limit went away when I applied &lt;/DIV&gt;
&lt;DIV&gt;the 5.0D update. I thought I had already done that when I reinstalled on my new machine, but apparently had not.&lt;/DIV&gt;
&lt;DIV&gt;Randy&lt;/DIV&gt;</description>
      <pubDate>Fri, 02 Apr 2004 00:43:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Direct-Access-File-Size-Limits/m-p/770611#M22392</guid>
      <dc:creator>randystonesifer</dc:creator>
      <dc:date>2004-04-02T00:43:26Z</dc:date>
    </item>
  </channel>
</rss>

