<?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 /check:format appears to in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Peculiar-PRINT-statement-behavior/m-p/978909#M99272</link>
    <description>&lt;P&gt;The option &lt;STRONG&gt;/check:format&lt;/STRONG&gt; appears to catch some mismatches between format descriptors and I/O list elements.&lt;/P&gt;

&lt;P&gt;[fortran]program tfmt&lt;BR /&gt;
	integer :: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;i = 90 &amp;nbsp; &amp;nbsp;! 'Z'&lt;BR /&gt;
	character(len=1) :: cz = 'Z'&lt;BR /&gt;
	!&lt;BR /&gt;
	write(*,'(1x,A5)')i &amp;nbsp; &amp;nbsp; &amp;nbsp; !no error&lt;BR /&gt;
	write(*,'(1x,I8)')cz &amp;nbsp; &amp;nbsp; &amp;nbsp;!flagged&lt;BR /&gt;
	!&lt;BR /&gt;
	end program tfmt[/fortran]&lt;/P&gt;</description>
    <pubDate>Sun, 09 Feb 2014 12:08:00 GMT</pubDate>
    <dc:creator>mecej4</dc:creator>
    <dc:date>2014-02-09T12:08:00Z</dc:date>
    <item>
      <title>Peculiar PRINT statement behavior</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Peculiar-PRINT-statement-behavior/m-p/978897#M99260</link>
      <description>&lt;P&gt;The subroutine I am uploading has an anomaly I can't explain.&lt;/P&gt;

&lt;P&gt;Around line 61 there is a PRINT statement for the array QU(0:NQU)&lt;/P&gt;

&lt;P&gt;It does not print the array, just the opening character string.&lt;/P&gt;

&lt;P&gt;I checked with the debugger, and the value NQU is just as it should be, a positive number.&lt;/P&gt;

&lt;P&gt;furthermore the other arrays DO print out as desired -&lt;/P&gt;

&lt;P&gt;using the same Format statement.&lt;/P&gt;

&lt;P&gt;So I am wondering - what is special about that array that would trigger this problem?&lt;/P&gt;

&lt;P&gt;BTW, I have a special reason for dimensioning the arrays the way I do,&lt;/P&gt;

&lt;P&gt;starting with 0 as the first element, but I am wondering if that "fools" the compiler.&lt;/P&gt;

&lt;P&gt;I tried taking the array QU out of the calling sequence, but that had NO effect.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2014 21:34:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Peculiar-PRINT-statement-behavior/m-p/978897#M99260</guid>
      <dc:creator>William_S_1</dc:creator>
      <dc:date>2014-02-06T21:34:47Z</dc:date>
    </item>
    <item>
      <title>I can put everything into a</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Peculiar-PRINT-statement-behavior/m-p/978898#M99261</link>
      <description>&lt;P&gt;I can put everything into a special project if you need to RUN it.&lt;/P&gt;

&lt;P&gt;How do I upload a whole project at once?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2014 21:52:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Peculiar-PRINT-statement-behavior/m-p/978898#M99261</guid>
      <dc:creator>William_S_1</dc:creator>
      <dc:date>2014-02-06T21:52:43Z</dc:date>
    </item>
    <item>
      <title>ZIP the project folder and</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Peculiar-PRINT-statement-behavior/m-p/978899#M99262</link>
      <description>&lt;P&gt;ZIP the project folder and attach that.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2014 21:57:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Peculiar-PRINT-statement-behavior/m-p/978899#M99262</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2014-02-06T21:57:37Z</dc:date>
    </item>
    <item>
      <title>OK, lets hope I did this</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Peculiar-PRINT-statement-behavior/m-p/978900#M99263</link>
      <description>&lt;P&gt;OK, lets hope I did this right - -&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The PRINT statement is at line 53 of the routine IDIV.&lt;/P&gt;

&lt;P&gt;These routines are supposed to simulate long division with integers,&lt;/P&gt;

&lt;P&gt;so its a package that does operations with very large integers.&lt;/P&gt;

&lt;P&gt;You can put a read(*,*) to make it stop at line &amp;nbsp;54.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2014 02:35:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Peculiar-PRINT-statement-behavior/m-p/978900#M99263</guid>
      <dc:creator>William_S_1</dc:creator>
      <dc:date>2014-02-07T02:35:10Z</dc:date>
    </item>
    <item>
      <title>Your ZIP doesn't include the</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Peculiar-PRINT-statement-behavior/m-p/978901#M99264</link>
      <description>&lt;P&gt;Your ZIP doesn't include the sources, and you didn't attach all of them.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2014 17:02:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Peculiar-PRINT-statement-behavior/m-p/978901#M99264</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2014-02-07T17:02:10Z</dc:date>
    </item>
    <item>
      <title>I zipped the entire folder</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Peculiar-PRINT-statement-behavior/m-p/978902#M99265</link>
      <description>&lt;P&gt;I zipped the entire folder with all the sources in it, and when I moved into another computer, all the sources were there.&lt;/P&gt;

&lt;P&gt;so I don't see why you say that.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2014 22:24:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Peculiar-PRINT-statement-behavior/m-p/978902#M99265</guid>
      <dc:creator>WSinc</dc:creator>
      <dc:date>2014-02-07T22:24:57Z</dc:date>
    </item>
    <item>
      <title>The only Fortran source files</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Peculiar-PRINT-statement-behavior/m-p/978903#M99266</link>
      <description>&lt;P&gt;The only Fortran source files in your zip archive are the *genmod.f90 files generated by the compiler. There is not a single original source file in the zip from which those interface checking files could be generated.&lt;/P&gt;

&lt;P&gt;List the names of your original Fortran source files, and we can check.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2014 22:30:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Peculiar-PRINT-statement-behavior/m-p/978903#M99266</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2014-02-07T22:30:57Z</dc:date>
    </item>
    <item>
      <title>OK, here it is again -</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Peculiar-PRINT-statement-behavior/m-p/978904#M99267</link>
      <description>&lt;P&gt;OK, here it is again -&lt;/P&gt;

&lt;P&gt;I think some of the files were attached to a project in another folder.\&lt;/P&gt;

&lt;P&gt;This one should have 7 source files in it.&lt;/P&gt;

&lt;P&gt;You can see where I printed the number NQU, but the array QU does not print.&lt;/P&gt;

&lt;P&gt;Thats around line 53 of the routine IDIV.&lt;/P&gt;

&lt;P&gt;QU(0:NQU) should print out NQU+1&lt;/P&gt;

&lt;P&gt;quantities, right?&lt;/P&gt;

&lt;P&gt;I also tried ( QU(KK),kk=0,NQU )&lt;/P&gt;

&lt;P&gt;but got the same result.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2014 22:50:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Peculiar-PRINT-statement-behavior/m-p/978904#M99267</guid>
      <dc:creator>William_S_1</dc:creator>
      <dc:date>2014-02-07T22:50:00Z</dc:date>
    </item>
    <item>
      <title>You've got two character edit</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Peculiar-PRINT-statement-behavior/m-p/978905#M99268</link>
      <description>&lt;P&gt;You've got two character edit descriptors (i.e. two letter A's ) in the format specification (labelled 102), but you don't have two character things in the item list in the print statement.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2014 23:38:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Peculiar-PRINT-statement-behavior/m-p/978905#M99268</guid>
      <dc:creator>IanH</dc:creator>
      <dc:date>2014-02-07T23:38:07Z</dc:date>
    </item>
    <item>
      <title>OK, I see where I forgot to</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Peculiar-PRINT-statement-behavior/m-p/978906#M99269</link>
      <description>&lt;P&gt;OK, I see where I forgot to put the BLANKS in -&lt;/P&gt;

&lt;P&gt;But why didn't it flag an error when I tried to print an integer&amp;nbsp;&lt;/P&gt;

&lt;P&gt;with an A descriptor?&lt;/P&gt;</description>
      <pubDate>Sat, 08 Feb 2014 23:05:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Peculiar-PRINT-statement-behavior/m-p/978906#M99269</guid>
      <dc:creator>William_S_1</dc:creator>
      <dc:date>2014-02-08T23:05:08Z</dc:date>
    </item>
    <item>
      <title>Because we allow that to work</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Peculiar-PRINT-statement-behavior/m-p/978907#M99270</link>
      <description>&lt;P&gt;Because we allow that to work by default - some people used such a feature. There is an optional check for format mismatch you can turn on.&lt;/P&gt;</description>
      <pubDate>Sun, 09 Feb 2014 01:43:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Peculiar-PRINT-statement-behavior/m-p/978907#M99270</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2014-02-09T01:43:49Z</dc:date>
    </item>
    <item>
      <title>The mismatch isn't detected</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Peculiar-PRINT-statement-behavior/m-p/978908#M99271</link>
      <description>&lt;P&gt;The mismatch isn't detected with /warn:all /check:all /stand.&amp;nbsp; is something else required?&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Feb 2014 06:39:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Peculiar-PRINT-statement-behavior/m-p/978908#M99271</guid>
      <dc:creator>IanH</dc:creator>
      <dc:date>2014-02-09T06:39:12Z</dc:date>
    </item>
    <item>
      <title>/check:format appears to</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Peculiar-PRINT-statement-behavior/m-p/978909#M99272</link>
      <description>&lt;P&gt;The option &lt;STRONG&gt;/check:format&lt;/STRONG&gt; appears to catch some mismatches between format descriptors and I/O list elements.&lt;/P&gt;

&lt;P&gt;[fortran]program tfmt&lt;BR /&gt;
	integer :: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;i = 90 &amp;nbsp; &amp;nbsp;! 'Z'&lt;BR /&gt;
	character(len=1) :: cz = 'Z'&lt;BR /&gt;
	!&lt;BR /&gt;
	write(*,'(1x,A5)')i &amp;nbsp; &amp;nbsp; &amp;nbsp; !no error&lt;BR /&gt;
	write(*,'(1x,I8)')cz &amp;nbsp; &amp;nbsp; &amp;nbsp;!flagged&lt;BR /&gt;
	!&lt;BR /&gt;
	end program tfmt[/fortran]&lt;/P&gt;</description>
      <pubDate>Sun, 09 Feb 2014 12:08:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Peculiar-PRINT-statement-behavior/m-p/978909#M99272</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2014-02-09T12:08:00Z</dc:date>
    </item>
  </channel>
</rss>

