<?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  vs  trigonmetric transforms in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/OpenMP-vs-trigonmetric-transforms/m-p/1017194#M19538</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;!$omp parallel   private(iy,iz,bx,by) shared(ll,nn,mm,b,im1)
!$omp do
  do iz = 1,ll
    do iy = 1,nn
  
        bx=.0
        by=.0&lt;/PRE&gt;

&lt;PRE class="brush:fortran;" style="font-size: 13px;"&gt;        !fetch data 
&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;        bx(1:mm)=real(b(1:mm,iy,iz,ik))       
&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;        by(1:mm)= aimag(b(1:mm,iy,iz,ik))  &lt;/SPAN&gt;&lt;/PRE&gt;

&lt;PRE class="brush:fortran;"&gt;
        !compute forward sine transform
        call dst_fwd(im1,bx(0:im1))          
        call dst_fwd(im1,by(0:im1))

       !set data
        b(1:mm,iy,iz,ik) =cmplx( bx(1:mm),by(1:mm))
    enddo
  enddo
!$omp end do
!$omp end parallel&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The code snippet above crashes on runtime with no error message when I put OpenMP commands around the the two loops in order to compute Sine Transforms (subroutine dst_fwd ) in parallel.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Does anyone could give me a hint what may cause the program to crash?&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Nicolas&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Aug 2014 13:00:56 GMT</pubDate>
    <dc:creator>NIcolas_T_</dc:creator>
    <dc:date>2014-08-05T13:00:56Z</dc:date>
    <item>
      <title>OpenMP  vs  trigonmetric transforms</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/OpenMP-vs-trigonmetric-transforms/m-p/1017194#M19538</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;!$omp parallel   private(iy,iz,bx,by) shared(ll,nn,mm,b,im1)
!$omp do
  do iz = 1,ll
    do iy = 1,nn
  
        bx=.0
        by=.0&lt;/PRE&gt;

&lt;PRE class="brush:fortran;" style="font-size: 13px;"&gt;        !fetch data 
&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;        bx(1:mm)=real(b(1:mm,iy,iz,ik))       
&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;        by(1:mm)= aimag(b(1:mm,iy,iz,ik))  &lt;/SPAN&gt;&lt;/PRE&gt;

&lt;PRE class="brush:fortran;"&gt;
        !compute forward sine transform
        call dst_fwd(im1,bx(0:im1))          
        call dst_fwd(im1,by(0:im1))

       !set data
        b(1:mm,iy,iz,ik) =cmplx( bx(1:mm),by(1:mm))
    enddo
  enddo
!$omp end do
!$omp end parallel&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The code snippet above crashes on runtime with no error message when I put OpenMP commands around the the two loops in order to compute Sine Transforms (subroutine dst_fwd ) in parallel.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Does anyone could give me a hint what may cause the program to crash?&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Nicolas&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Aug 2014 13:00:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/OpenMP-vs-trigonmetric-transforms/m-p/1017194#M19538</guid>
      <dc:creator>NIcolas_T_</dc:creator>
      <dc:date>2014-08-05T13:00:56Z</dc:date>
    </item>
    <item>
      <title>I suspect we would need a</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/OpenMP-vs-trigonmetric-transforms/m-p/1017195#M19539</link>
      <description>I suspect we would need a full working example.</description>
      <pubDate>Wed, 06 Aug 2014 12:14:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/OpenMP-vs-trigonmetric-transforms/m-p/1017195#M19539</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2014-08-06T12:14:41Z</dc:date>
    </item>
  </channel>
</rss>

