<?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 Puzzling error message - BUG? in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Puzzling-error-message-BUG/m-p/817429#M45942</link>
    <description>Those don't change the text size &lt;STRONG&gt;relative to the window&lt;/STRONG&gt;, but still the&lt;BR /&gt;zoom is good for senior eyes like mine.&lt;BR /&gt;&lt;BR /&gt;Thanx for suggestion ! ! !&lt;BR /&gt;&lt;BR /&gt;Actually, another answer rather than WRITE(6,*) is to put the function value&lt;BR /&gt;in a temporary variable, then print that out instead.</description>
    <pubDate>Thu, 02 Feb 2012 17:36:31 GMT</pubDate>
    <dc:creator>WSinc</dc:creator>
    <dc:date>2012-02-02T17:36:31Z</dc:date>
    <item>
      <title>Puzzling error message - BUG?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Puzzling-error-message-BUG/m-p/817421#M45934</link>
      <description>&lt;P&gt;I get this "recursive I/O operation" breakpoint.&lt;BR /&gt;Are there ANY rules that prevent me from priniting out the function value as an &lt;STRONG&gt;intermediate result?&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;It runs OK if I comment out the second print statement near the end.&lt;BR /&gt;It might be related to having that array in COMMON rather thanhaving it as input argument.&lt;BR /&gt;&lt;BR /&gt;Why does it say "UNIT -1" - - does that even&lt;STRONG&gt; exist?&lt;BR /&gt;&lt;/STRONG&gt;That why it seems peculiar, anyway.&lt;BR /&gt;************************************************************************************&lt;BR /&gt;program test4&lt;/P&gt;&lt;P&gt;integer*1 p(10)/10*10/&lt;/P&gt;&lt;P&gt;integer*8 prod,prod1&lt;/P&gt;&lt;P&gt;common/com1/p&lt;/P&gt;&lt;P&gt;print *,"prod=",prod()&lt;/P&gt;&lt;P&gt;read(*,*)&lt;/P&gt;&lt;P&gt;end program&lt;/P&gt;&lt;P&gt;integer*8 function prod()&lt;/P&gt;&lt;P&gt;common/com1/p&lt;/P&gt;&lt;P&gt;integer*1 p(10)&lt;/P&gt;&lt;P&gt;prod=1&lt;/P&gt;&lt;P&gt;do i=1,10 &lt;/P&gt;&lt;P&gt;prod=prod*p(i)&lt;/P&gt;&lt;P&gt;print *,"i=",i," prod=",prod&lt;/P&gt;&lt;P&gt;end do&lt;/P&gt;&lt;P&gt;end&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2012 20:15:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Puzzling-error-message-BUG/m-p/817421#M45934</guid>
      <dc:creator>WSinc</dc:creator>
      <dc:date>2012-02-01T20:15:19Z</dc:date>
    </item>
    <item>
      <title>Puzzling error message - BUG?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Puzzling-error-message-BUG/m-p/817422#M45935</link>
      <description>It is a bug in your code, yes. The Fortran standard prohibits starting an I/O operation on a unit while another operation on that unit is in progress. PRINT implies a specific unit. You have a reference to prod() in the PRINT in the main program and prod also does a print - this will result in the "recursive I/O error".</description>
      <pubDate>Wed, 01 Feb 2012 20:18:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Puzzling-error-message-BUG/m-p/817422#M45935</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2012-02-01T20:18:26Z</dc:date>
    </item>
    <item>
      <title>Puzzling error message - BUG?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Puzzling-error-message-BUG/m-p/817423#M45936</link>
      <description>Even when it's a &lt;STRONG&gt;console&lt;/STRONG&gt; unit?&lt;BR /&gt;How would I modify this so that I can print out an intermediate result (for debugging) anyway.&lt;BR /&gt;&lt;BR /&gt;BTW, is there a way to make the forum letters a little larger?&lt;BR /&gt;I don't see an option for that.</description>
      <pubDate>Wed, 01 Feb 2012 20:24:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Puzzling-error-message-BUG/m-p/817423#M45936</guid>
      <dc:creator>WSinc</dc:creator>
      <dc:date>2012-02-01T20:24:07Z</dc:date>
    </item>
    <item>
      <title>Puzzling error message - BUG?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Puzzling-error-message-BUG/m-p/817424#M45937</link>
      <description>Avoid expressions in I/O lists that contain references to functions that do I/O. For example, instead of &lt;BR /&gt;&lt;BR /&gt; print *,"prod=",prod()&lt;BR /&gt;&lt;BR /&gt;do&lt;BR /&gt;&lt;BR /&gt; prod1 = prod()&lt;BR /&gt; print *, "prod=",prod1&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Feb 2012 21:04:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Puzzling-error-message-BUG/m-p/817424#M45937</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2012-02-01T21:04:37Z</dc:date>
    </item>
    <item>
      <title>Puzzling error message - BUG?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Puzzling-error-message-BUG/m-p/817425#M45938</link>
      <description>You can use WRITE(6,*) as a replacement for PRINT *, in the function. This will use a separate unit.</description>
      <pubDate>Wed, 01 Feb 2012 21:27:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Puzzling-error-message-BUG/m-p/817425#M45938</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2012-02-01T21:27:47Z</dc:date>
    </item>
    <item>
      <title>Puzzling error message - BUG?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Puzzling-error-message-BUG/m-p/817426#M45939</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;P&gt;BTW, is there a way to make the forum letters a little larger?&lt;/P&gt;&lt;P&gt;I don't see an option for that.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;If you are using IE to access the forum then from the menu View-&amp;gt;Text Size-&amp;gt; you have a choice from Largest to Smallest&lt;BR /&gt;&lt;BR /&gt;Les&lt;BR /&gt;&lt;BR /&gt;&lt;EDIT&gt;&lt;BR /&gt;Ignore that I've just tried it and it made no difference. Strange.&lt;BR /&gt;&lt;/EDIT&gt;</description>
      <pubDate>Thu, 02 Feb 2012 08:16:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Puzzling-error-message-BUG/m-p/817426#M45939</guid>
      <dc:creator>Les_Neilson</dc:creator>
      <dc:date>2012-02-02T08:16:15Z</dc:date>
    </item>
    <item>
      <title>Puzzling error message - BUG?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Puzzling-error-message-BUG/m-p/817427#M45940</link>
      <description>On Windows, you could use the generic Cntrl-+, Cntrl-- and Cntrl-0 for changing text size (hold down Cntrl then press + etc)</description>
      <pubDate>Thu, 02 Feb 2012 11:36:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Puzzling-error-message-BUG/m-p/817427#M45940</guid>
      <dc:creator>David_Kinniburgh</dc:creator>
      <dc:date>2012-02-02T11:36:05Z</dc:date>
    </item>
    <item>
      <title>Puzzling error message - BUG?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Puzzling-error-message-BUG/m-p/817428#M45941</link>
      <description>In Firefox, you can use View &amp;gt; Zoom for this and it does work.</description>
      <pubDate>Thu, 02 Feb 2012 14:36:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Puzzling-error-message-BUG/m-p/817428#M45941</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2012-02-02T14:36:30Z</dc:date>
    </item>
    <item>
      <title>Puzzling error message - BUG?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Puzzling-error-message-BUG/m-p/817429#M45942</link>
      <description>Those don't change the text size &lt;STRONG&gt;relative to the window&lt;/STRONG&gt;, but still the&lt;BR /&gt;zoom is good for senior eyes like mine.&lt;BR /&gt;&lt;BR /&gt;Thanx for suggestion ! ! !&lt;BR /&gt;&lt;BR /&gt;Actually, another answer rather than WRITE(6,*) is to put the function value&lt;BR /&gt;in a temporary variable, then print that out instead.</description>
      <pubDate>Thu, 02 Feb 2012 17:36:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Puzzling-error-message-BUG/m-p/817429#M45942</guid>
      <dc:creator>WSinc</dc:creator>
      <dc:date>2012-02-02T17:36:31Z</dc:date>
    </item>
  </channel>
</rss>

