<?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 The first problem I can in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-crash-in-OpenMP-code/m-p/1113513#M129729</link>
    <description>&lt;P&gt;The first problem I can reproduce in 16.0.1 but not in 16.0.2, which should be out within a week or so.&lt;/P&gt;

&lt;P&gt;The second problem I can reproduce in our latest build and I will send that on to the developers - thanks. Issue ID DPD200381389.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Feb 2016 14:57:00 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2016-02-02T14:57:00Z</dc:date>
    <item>
      <title>Compiler crash in OpenMP code</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-crash-in-OpenMP-code/m-p/1113512#M129728</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;The following code raises an internal error with ifort 15.0.2 and 16.0.1:&lt;/P&gt;

&lt;P&gt;catastrophic error: **Internal compiler error: segmentation violation signal raised** Please report this error along with the circumstances 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;/P&gt;

&lt;PRE class="brush:fortran;"&gt;program main
!$ use omp_lib
  integer :: a
  a = 42
  !$omp parallel
  !$omp master
  call foo(a)
  !$omp end master
  !$omp end parallel 

  contains
subroutine foo(a)
!$ use omp_lib
   integer :: a
  !$omp task depend(in:a)
  write(*,*) '---&amp;gt;',a
  !$omp end task
end subroutine foo

end program
&lt;/PRE&gt;

&lt;P&gt;The code compiles if the depend clause is removed. It also compiles if the code in the foo subroutine is inserted directly in the main program body, or, inversely, if the parallel region is created in the foo subroutine.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Theo&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;ETA: Another compiler error&lt;/STRONG&gt; (which may or may not be related to the first one)&lt;/P&gt;

&lt;P&gt;I believe I have found another problem with the following code:&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;program main
!$ use omp_lib
  integer  :: a
  a = 42
  !$omp parallel
  !$omp master
  call foo(a)
  !$omp end master
  !$omp end parallel 

  contains
subroutine foo(a)
!$ use omp_lib
   integer, target :: a
   integer, pointer :: p
   p =&amp;gt; a
  !$omp task firstprivate(p) depend(in:p)
  write(*,*) '---&amp;gt;',p
  !$omp end task
end subroutine foo

end program
&lt;/PRE&gt;

&lt;P&gt;The compiler raises the following error: /tmp/ifort0sm6zA.o:(.data+0xf0): undefined reference to `foo$P$_4.0.2'&lt;/P&gt;

&lt;P&gt;Interestingly, the code compiles without problem when the flag -O0 is used, so it looks the error might be due to a too aggressive optimization.&lt;/P&gt;

&lt;P&gt;Theo&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 12:37:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-crash-in-OpenMP-code/m-p/1113512#M129728</guid>
      <dc:creator>Theo_M_</dc:creator>
      <dc:date>2016-02-02T12:37:57Z</dc:date>
    </item>
    <item>
      <title>The first problem I can</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-crash-in-OpenMP-code/m-p/1113513#M129729</link>
      <description>&lt;P&gt;The first problem I can reproduce in 16.0.1 but not in 16.0.2, which should be out within a week or so.&lt;/P&gt;

&lt;P&gt;The second problem I can reproduce in our latest build and I will send that on to the developers - thanks. Issue ID DPD200381389.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 14:57:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-crash-in-OpenMP-code/m-p/1113513#M129729</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2016-02-02T14:57:00Z</dc:date>
    </item>
    <item>
      <title>I expect the second issue to</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-crash-in-OpenMP-code/m-p/1113514#M129730</link>
      <description>&lt;P&gt;I expect the second issue to be fixed in Parallel Studio XE 2016 Update 3. I'll also note that Update 2 has been delayed about a week.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2016 16:17:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-crash-in-OpenMP-code/m-p/1113514#M129730</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2016-02-05T16:17:56Z</dc:date>
    </item>
  </channel>
</rss>

