<?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 openmp and coarray compiler internal crash when reduction on coarray variable in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/openmp-and-coarray-compiler-internal-crash-when-reduction-on/m-p/1106847#M128269</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I have a small coarray program mixed with openmp. A small openmp do loop with a reduction of a variable that happens to be a coarray variable too.&lt;/P&gt;

&lt;P&gt;When I try to build... interal compiler seg fault. (file attached, reduction.F90)&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-family:monospace"&gt;&lt;SPAN style="color: rgb(24, 178, 24);"&gt;[20:25:49 drFaustroll@circassia:&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; color: rgb(255, 255, 84);"&gt;~/playground/intel-bugs&lt;/SPAN&gt;&lt;SPAN style="color: rgb(24, 178, 24);"&gt;]:&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0);"&gt; ifort --version &lt;/SPAN&gt;&lt;BR /&gt;
	ifort (IFORT) 17.0.0 20160517&lt;BR /&gt;
	Copyright (C) 1985-2016 Intel Corporation. &amp;nbsp;All rights reserved.&lt;BR /&gt;
	&lt;BR /&gt;
	&lt;SPAN style="color: rgb(24, 178, 24);"&gt;[20:25:55 drFaustroll@circassia:&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; color: rgb(255, 255, 84);"&gt;~/playground/intel-bugs&lt;/SPAN&gt;&lt;SPAN style="color: rgb(24, 178, 24);"&gt;]:&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0);"&gt; ifort -o reduction.X reduction.F90 -coarray=distributed -fopenmp &amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;
	reduction.F90(14): catastrophic error: **Internal compiler error: internal abort** Please report this error along with the circumsta&lt;BR /&gt;
	nces in which it occurred in a Software Problem Report. &amp;nbsp;Note: File and line given may not be explicit cause of this error.&lt;BR /&gt;
	compilation aborted for reduction.F90 (code 1)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;when the reduction is done on a second variable as workaround all seems to work as expected.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-family:monospace"&gt;&lt;SPAN style="color: rgb(24, 178, 24);"&gt;[20:26:14 drFaustroll@circassia:&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; color: rgb(255, 255, 84);"&gt;~/playground/intel-bugs&lt;/SPAN&gt;&lt;SPAN style="color: rgb(24, 178, 24);"&gt;]:&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0);"&gt; ifort -o reduction_workaround.X reduction_workaround.F90 -coarray=distribu&lt;/SPAN&gt;&lt;BR /&gt;
	ted -fopenmp &amp;nbsp;&lt;BR /&gt;
	&lt;SPAN style="color: rgb(24, 178, 24);"&gt;[20:27:30 drFaustroll@circassia:&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; color: rgb(255, 255, 84);"&gt;~/playground/intel-bugs&lt;/SPAN&gt;&lt;SPAN style="color: rgb(24, 178, 24);"&gt;]:&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0);"&gt; OMP_NUM_THREADS=4 ./reduction_workaround.X &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;
	local dot &amp;nbsp;-1.745268414801049E-002 &amp;nbsp;on image &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1&lt;BR /&gt;
	local dot &amp;nbsp;-3.680289009526871E-002 &amp;nbsp;on image &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2&lt;BR /&gt;
	local dot &amp;nbsp;-9.343073753792419E-002 &amp;nbsp;on image &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;3&lt;BR /&gt;
	local dot &amp;nbsp;-6.176764745170735E-002 &amp;nbsp;on image &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;4&lt;BR /&gt;
	dot &amp;nbsp;-0.209453959232911&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Alin&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Aug 2016 19:30:08 GMT</pubDate>
    <dc:creator>Alin_M_Elena</dc:creator>
    <dc:date>2016-08-22T19:30:08Z</dc:date>
    <item>
      <title>openmp and coarray compiler internal crash when reduction on coarray variable</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/openmp-and-coarray-compiler-internal-crash-when-reduction-on/m-p/1106847#M128269</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I have a small coarray program mixed with openmp. A small openmp do loop with a reduction of a variable that happens to be a coarray variable too.&lt;/P&gt;

&lt;P&gt;When I try to build... interal compiler seg fault. (file attached, reduction.F90)&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-family:monospace"&gt;&lt;SPAN style="color: rgb(24, 178, 24);"&gt;[20:25:49 drFaustroll@circassia:&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; color: rgb(255, 255, 84);"&gt;~/playground/intel-bugs&lt;/SPAN&gt;&lt;SPAN style="color: rgb(24, 178, 24);"&gt;]:&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0);"&gt; ifort --version &lt;/SPAN&gt;&lt;BR /&gt;
	ifort (IFORT) 17.0.0 20160517&lt;BR /&gt;
	Copyright (C) 1985-2016 Intel Corporation. &amp;nbsp;All rights reserved.&lt;BR /&gt;
	&lt;BR /&gt;
	&lt;SPAN style="color: rgb(24, 178, 24);"&gt;[20:25:55 drFaustroll@circassia:&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; color: rgb(255, 255, 84);"&gt;~/playground/intel-bugs&lt;/SPAN&gt;&lt;SPAN style="color: rgb(24, 178, 24);"&gt;]:&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0);"&gt; ifort -o reduction.X reduction.F90 -coarray=distributed -fopenmp &amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;
	reduction.F90(14): catastrophic error: **Internal compiler error: internal abort** Please report this error along with the circumsta&lt;BR /&gt;
	nces in which it occurred in a Software Problem Report. &amp;nbsp;Note: File and line given may not be explicit cause of this error.&lt;BR /&gt;
	compilation aborted for reduction.F90 (code 1)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;when the reduction is done on a second variable as workaround all seems to work as expected.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-family:monospace"&gt;&lt;SPAN style="color: rgb(24, 178, 24);"&gt;[20:26:14 drFaustroll@circassia:&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; color: rgb(255, 255, 84);"&gt;~/playground/intel-bugs&lt;/SPAN&gt;&lt;SPAN style="color: rgb(24, 178, 24);"&gt;]:&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0);"&gt; ifort -o reduction_workaround.X reduction_workaround.F90 -coarray=distribu&lt;/SPAN&gt;&lt;BR /&gt;
	ted -fopenmp &amp;nbsp;&lt;BR /&gt;
	&lt;SPAN style="color: rgb(24, 178, 24);"&gt;[20:27:30 drFaustroll@circassia:&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; color: rgb(255, 255, 84);"&gt;~/playground/intel-bugs&lt;/SPAN&gt;&lt;SPAN style="color: rgb(24, 178, 24);"&gt;]:&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0);"&gt; OMP_NUM_THREADS=4 ./reduction_workaround.X &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;
	local dot &amp;nbsp;-1.745268414801049E-002 &amp;nbsp;on image &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1&lt;BR /&gt;
	local dot &amp;nbsp;-3.680289009526871E-002 &amp;nbsp;on image &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2&lt;BR /&gt;
	local dot &amp;nbsp;-9.343073753792419E-002 &amp;nbsp;on image &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;3&lt;BR /&gt;
	local dot &amp;nbsp;-6.176764745170735E-002 &amp;nbsp;on image &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;4&lt;BR /&gt;
	dot &amp;nbsp;-0.209453959232911&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Alin&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2016 19:30:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/openmp-and-coarray-compiler-internal-crash-when-reduction-on/m-p/1106847#M128269</guid>
      <dc:creator>Alin_M_Elena</dc:creator>
      <dc:date>2016-08-22T19:30:08Z</dc:date>
    </item>
    <item>
      <title>Thanks for reporting the</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/openmp-and-coarray-compiler-internal-crash-when-reduction-on/m-p/1106848#M128270</link>
      <description>&lt;P&gt;Thanks for reporting the error. I have opened a bug report for it. The defect ID is&amp;nbsp;DPD200413715.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Xiaoping Duan&lt;/P&gt;

&lt;P&gt;Intel Customer Support&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2016 01:57:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/openmp-and-coarray-compiler-internal-crash-when-reduction-on/m-p/1106848#M128270</guid>
      <dc:creator>Xiaoping_D_Intel</dc:creator>
      <dc:date>2016-08-23T01:57:12Z</dc:date>
    </item>
  </channel>
</rss>

