<?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 How to solve this - input/output keyword is invalid in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/How-to-solve-this-input-output-keyword-is-invalid/m-p/987952#M101068</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hello All,&lt;/P&gt;
&lt;P&gt;can some somebody help me what is the following bug&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;error:&amp;nbsp; #6640: This input/output keyword is invalid.&lt;/P&gt;
&lt;P&gt;error #6332: A UNIT= specifier is required for this I/O operation.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;#ifdef CONM2_OUT&lt;BR /&gt;&amp;nbsp;&amp;nbsp; tempstr = './output/CS.conm2_', iloop&lt;BR /&gt;&amp;nbsp;&amp;nbsp; call mg1g12conm2(CS_ID, tempstr)&lt;BR /&gt;#endif&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Jan 2013 10:41:50 GMT</pubDate>
    <dc:creator>Ajain_A_</dc:creator>
    <dc:date>2013-01-11T10:41:50Z</dc:date>
    <item>
      <title>How to solve this - input/output keyword is invalid</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/How-to-solve-this-input-output-keyword-is-invalid/m-p/987952#M101068</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hello All,&lt;/P&gt;
&lt;P&gt;can some somebody help me what is the following bug&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;error:&amp;nbsp; #6640: This input/output keyword is invalid.&lt;/P&gt;
&lt;P&gt;error #6332: A UNIT= specifier is required for this I/O operation.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;#ifdef CONM2_OUT&lt;BR /&gt;&amp;nbsp;&amp;nbsp; tempstr = './output/CS.conm2_', iloop&lt;BR /&gt;&amp;nbsp;&amp;nbsp; call mg1g12conm2(CS_ID, tempstr)&lt;BR /&gt;#endif&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2013 10:41:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/How-to-solve-this-input-output-keyword-is-invalid/m-p/987952#M101068</guid>
      <dc:creator>Ajain_A_</dc:creator>
      <dc:date>2013-01-11T10:41:50Z</dc:date>
    </item>
    <item>
      <title>Post the actual code that</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/How-to-solve-this-input-output-keyword-is-invalid/m-p/987953#M101069</link>
      <description>Post the actual code that caused the error message. There are no recognizable I/O statements in the fragment posted, but it is hard to tell without seeing the relevant variable and type declarations.

The statement [fortran]tempstr = './output/CS.conm2_', iloop[/fortran] appears suspicious. What is it supposed to do? Perhaps, [fortran]write(tempstr,'(A,I0)')'./output/CS.conm2_', iloop[/fortran] is what was intended?</description>
      <pubDate>Fri, 11 Jan 2013 10:57:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/How-to-solve-this-input-output-keyword-is-invalid/m-p/987953#M101069</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2013-01-11T10:57:00Z</dc:date>
    </item>
    <item>
      <title>Well, you've only shown a</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/How-to-solve-this-input-output-keyword-is-invalid/m-p/987954#M101070</link>
      <description>Well, you've only shown a brief excerpt of your code.

As mecej4 says -- the tempstr assignment appears strange, not valid.  (I0 is probably not correct in his reply, but otherwise, it is  right on track)</description>
      <pubDate>Fri, 11 Jan 2013 13:07:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/How-to-solve-this-input-output-keyword-is-invalid/m-p/987954#M101070</guid>
      <dc:creator>lklawrie</dc:creator>
      <dc:date>2013-01-11T13:07:35Z</dc:date>
    </item>
    <item>
      <title>Quote:I0 is probably not</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/How-to-solve-this-input-output-keyword-is-invalid/m-p/987955#M101071</link>
      <description>&lt;BLOCKQUOTE&gt;I0 is probably not correct in his reply&lt;/BLOCKQUOTE&gt;
Linda, 

The specification of a zero field width is allowed. It helps produce a minimal length string of digits (no leading blanks or zeros) from an integer. Section 10.7.2.1, Rule (2) of the Fortran 2008 standard says 
&lt;BLOCKQUOTE&gt;(6) On output, with I, B, O, Z, F, and G editing, the specified value of the field width w may be zero. In such cases, the processor selects the smallest positive actual field width that does not result in a field filled with asterisks.&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Fri, 11 Jan 2013 13:59:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/How-to-solve-this-input-output-keyword-is-invalid/m-p/987955#M101071</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2013-01-11T13:59:00Z</dc:date>
    </item>
  </channel>
</rss>

