<?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 Wired binary files reading  in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Wired-binary-files-reading/m-p/942080#M90322</link>
    <description>&lt;P&gt;When I want to develop a code&amp;nbsp; with intel fortran (version 11.1) to process the binary output of&amp;nbsp; an executable file, which is compliled in gfortran (ver 4.1.2), the procedure of file opening and reading have been proven no erros. However, the dara read is just zero. But when I change the compiler to gfortran, the data reading is correct when comparing with the original ASCII output.&lt;/P&gt;
&lt;P&gt;The file processing specifer I used as listed as follows: &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OPEN(UNIT=IOBIN, FILE=FILNAM, ERR=100, STATUS='UNKNOWN', ACCESS='SEQUENTIAL', FORM='UNFORMATTED',CONVERT='LITTLE_ENDIAN',IOSTAT=IOS)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; READ(UNIT=IOBIN,ERR=200,IOSTAT=IOS)&amp;nbsp; LENGTH,(WORK(I),I=1,LENGTH)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLOSE(UNIT=IOBIN, ERR=300, STATUS='KEEP',IOSTAT=IOS)&lt;/P&gt;
&lt;P&gt;Compiling options are : -assume byterecl&lt;/P&gt;
&lt;P&gt;For my question, is there other complie option or file processing specifiers should be added.Thanks for any suggestions.&lt;/P&gt;</description>
    <pubDate>Mon, 05 Nov 2012 08:47:51 GMT</pubDate>
    <dc:creator>sabergemini</dc:creator>
    <dc:date>2012-11-05T08:47:51Z</dc:date>
    <item>
      <title>Wired binary files reading</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Wired-binary-files-reading/m-p/942080#M90322</link>
      <description>&lt;P&gt;When I want to develop a code&amp;nbsp; with intel fortran (version 11.1) to process the binary output of&amp;nbsp; an executable file, which is compliled in gfortran (ver 4.1.2), the procedure of file opening and reading have been proven no erros. However, the dara read is just zero. But when I change the compiler to gfortran, the data reading is correct when comparing with the original ASCII output.&lt;/P&gt;
&lt;P&gt;The file processing specifer I used as listed as follows: &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OPEN(UNIT=IOBIN, FILE=FILNAM, ERR=100, STATUS='UNKNOWN', ACCESS='SEQUENTIAL', FORM='UNFORMATTED',CONVERT='LITTLE_ENDIAN',IOSTAT=IOS)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; READ(UNIT=IOBIN,ERR=200,IOSTAT=IOS)&amp;nbsp; LENGTH,(WORK(I),I=1,LENGTH)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLOSE(UNIT=IOBIN, ERR=300, STATUS='KEEP',IOSTAT=IOS)&lt;/P&gt;
&lt;P&gt;Compiling options are : -assume byterecl&lt;/P&gt;
&lt;P&gt;For my question, is there other complie option or file processing specifiers should be added.Thanks for any suggestions.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Nov 2012 08:47:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Wired-binary-files-reading/m-p/942080#M90322</guid>
      <dc:creator>sabergemini</dc:creator>
      <dc:date>2012-11-05T08:47:51Z</dc:date>
    </item>
    <item>
      <title>gnu fortran used to have a</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Wired-binary-files-reading/m-p/942081#M90323</link>
      <description>gnu fortran used to have a specific incompatibility in sequential record length specification between -m32 and -m64 mode.  I don't remember in which version gfortran adopted compatibility with ifort (gfortran 4.1 is obsolete).
You could try specifying RECL in case there is a problem associated with differing defaults.</description>
      <pubDate>Mon, 05 Nov 2012 11:42:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Wired-binary-files-reading/m-p/942081#M90323</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2012-11-05T11:42:30Z</dc:date>
    </item>
    <item>
      <title>It was several years ago, at</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Wired-binary-files-reading/m-p/942082#M90324</link>
      <description>It was several years ago, at least, when gfortran changed to use a method compatible with Intel Fortran.</description>
      <pubDate>Tue, 06 Nov 2012 17:27:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Wired-binary-files-reading/m-p/942082#M90324</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2012-11-06T17:27:13Z</dc:date>
    </item>
  </channel>
</rss>

