<?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 OK, may thanks for the answer in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/A-bug/m-p/1121066#M131706</link>
    <description>&lt;P&gt;OK, may thanks for the answer!!&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Rodolfo&lt;/P&gt;</description>
    <pubDate>Mon, 09 May 2016 09:44:25 GMT</pubDate>
    <dc:creator>Rodolfo_Araya</dc:creator>
    <dc:date>2016-05-09T09:44:25Z</dc:date>
    <item>
      <title>A bug?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/A-bug/m-p/1121064#M131704</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm using intel fortran on a mac (ifort version 16.0.3) and I think that there is a possible bug with the MAXLOC function.&lt;/P&gt;

&lt;P&gt;When I run the testing.f90 program I get:&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/P&gt;

&lt;P&gt;using gfortran I get, which in my opinion is the right answer,&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;/P&gt;

&lt;P&gt;Am I right?&lt;/P&gt;

&lt;P&gt;Best,&lt;/P&gt;

&lt;P&gt;Rodolfo&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 08:32:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/A-bug/m-p/1121064#M131704</guid>
      <dc:creator>Rodolfo_Araya</dc:creator>
      <dc:date>2016-05-09T08:32:34Z</dc:date>
    </item>
    <item>
      <title>No this is not a bug but just</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/A-bug/m-p/1121065#M131705</link>
      <description>&lt;P&gt;No this is not a bug but just a difference in the default treatment between the compilers for your case.&lt;/P&gt;

&lt;P&gt;There’s a related discussion from the earlier post &lt;A href="https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/536614" target="_blank"&gt;here&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;For your case, you can consider adding the option: &lt;STRONG&gt;-assume noold_maxminloc&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;You can refer to the User’s guide for additional information on &lt;A href="https://software.intel.com/en-us/node/580850" target="_blank"&gt;MAXLOC &lt;/A&gt;and &lt;A href="https://software.intel.com/en-us/node/579519" target="_blank"&gt;-assume noold_maxminloc&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;$ ifort -V&lt;BR /&gt;
	Intel(R) Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 16.0.3.210 Build 20160415&lt;BR /&gt;
	Copyright (C) 1985-2015 Intel Corporation.&amp;nbsp; All rights reserved.&lt;/P&gt;

&lt;P&gt;$ ifort u629301.f90; ./a.out&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;BR /&gt;
	$ ifort -assume noold_maxminloc u629301.f90; ./a.out&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 09:37:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/A-bug/m-p/1121065#M131705</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2016-05-09T09:37:40Z</dc:date>
    </item>
    <item>
      <title>OK, may thanks for the answer</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/A-bug/m-p/1121066#M131706</link>
      <description>&lt;P&gt;OK, may thanks for the answer!!&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Rodolfo&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 09:44:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/A-bug/m-p/1121066#M131706</guid>
      <dc:creator>Rodolfo_Araya</dc:creator>
      <dc:date>2016-05-09T09:44:25Z</dc:date>
    </item>
    <item>
      <title>gfortran doesn't attempt simd</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/A-bug/m-p/1121067#M131707</link>
      <description>&lt;P&gt;gfortran doesn't attempt simd optimization of maxloc.&amp;nbsp; For some reason, ifort simd optimization is still tied to old_maxminloc, and the 2 most recent releases have returned to no simd optimization with noold_maxminloc.&lt;/P&gt;

&lt;P&gt;Note that ifort -standard-semantics is the option for supporting f2003 (including noold_maxminloc), with the additional requirement of -fp-model precise for IEEE_arithmetic (which disables more auto-vectorization).&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 09:46:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/A-bug/m-p/1121067#M131707</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2016-05-09T09:46:00Z</dc:date>
    </item>
  </channel>
</rss>

