<?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 Use OpenMP when invoking MKL poisson library in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-OpenMP-when-invoking-MKL-poisson-library/m-p/770124#M548</link>
    <description>Hi,&lt;DIV&gt;Try to rewrite your code in next way:&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;call d_init_Helmholtz_3D(ax,bx,...,...,BCtype,q,ipar,dpar,stat)&lt;BR /&gt;&lt;B&gt;ipar(23)=4 !OpenMP number of threads&lt;BR /&gt;call d_commit_Helmholtz_3D(ff,bd_ax,bd_bx,...,...,dpar,stat)&lt;BR /&gt;call d_Helmholtz_3D(ff,bd_ax,,...,...,ipar,dpar,stat)&lt;/B&gt;&lt;BR /&gt;call free_Helmholtz_3D(xhandle,yhandle,ipar,stat)&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;With best regards,&lt;/DIV&gt;&lt;DIV&gt;Alexander Kalinkin&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 03 Aug 2010 02:38:42 GMT</pubDate>
    <dc:creator>Alexander_K_Intel2</dc:creator>
    <dc:date>2010-08-03T02:38:42Z</dc:date>
    <item>
      <title>Use OpenMP when invoking MKL poisson library</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-OpenMP-when-invoking-MKL-poisson-library/m-p/770121#M545</link>
      <description>I invoked MKL Poisson Library in my program and tried to turn on OpenMP option as follow compile instructions:&lt;BR /&gt;&lt;EM&gt;ifort -openmp -fast .. program.f90 .. -L/export/mathlib/cmkl90/lib/em64t/ -lmkl_em64t -lguide -lpthread -lm&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;And four threads areused to run the program(I have set ipar(23)=4). However, the result shows that the cpu time used by MKL poisson solver only decrease to 0.09,as a comparation,when only one threadis used, the time is 0.12.&lt;BR /&gt;&lt;BR /&gt;It seems that the accelerating speed is tiny.&lt;BR /&gt;&lt;BR /&gt;Is this ordinary to the MKL poisson library(or where could I find the PARALLEL PERFORMANCE of MKL Poisson solver) ?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Mon, 02 Aug 2010 08:43:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-OpenMP-when-invoking-MKL-poisson-library/m-p/770121#M545</guid>
      <dc:creator>Chang_Lei</dc:creator>
      <dc:date>2010-08-02T08:43:02Z</dc:date>
    </item>
    <item>
      <title>Use OpenMP when invoking MKL poisson library</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-OpenMP-when-invoking-MKL-poisson-library/m-p/770122#M546</link>
      <description>From your quoted command line, it doesn't appear that you linked any MKL library functions. Perhaps you misquoted from a usage of several years ago.&lt;BR /&gt;The goal of OpenMP parallelism is not to reduce CPU time, but to reduce elapsed time. You are lucky if the total CPU time is reduced; more often it would increase somewhat.</description>
      <pubDate>Mon, 02 Aug 2010 12:37:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-OpenMP-when-invoking-MKL-poisson-library/m-p/770122#M546</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2010-08-02T12:37:30Z</dc:date>
    </item>
    <item>
      <title>Use OpenMP when invoking MKL poisson library</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-OpenMP-when-invoking-MKL-poisson-library/m-p/770123#M547</link>
      <description>&lt;P&gt;Maybe I didn't give an clear account of the problem.&lt;BR /&gt;The exact command is as follows:&lt;BR /&gt;&lt;EM&gt;ifort -openmp -fast mkl_dfti.f90 mkl_poisson.f90 MyProgram.f90 -L/export/mathlib/cmkl90/lib/em64t/ -lmkl_em64t -lguide -lpthread -lm&lt;BR /&gt;&lt;/EM&gt;And the code where I invoked Poisson library isin MyProgram.f90:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;call cpu_time(t2)&lt;BR /&gt;call d_init_Helmholtz_3D(ax,bx,...,...,BCtype,q,ipar,dpar,stat)&lt;BR /&gt;call d_commit_Helmholtz_3D(ff,bd_ax,bd_bx,...,...,dpar,stat)&lt;BR /&gt;ipar(23)=4 !OpenMP number of threads&lt;BR /&gt;call d_Helmholtz_3D(ff,bd_ax,,...,...,ipar,dpar,stat)&lt;BR /&gt;call free_Helmholtz_3D(xhandle,yhandle,ipar,stat)&lt;BR /&gt;call cpu_time(t1)&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;I supposed t1-t2 is the elapsed time of all the &lt;STRONG&gt;*_Helmholtz_3D&lt;/STRONG&gt; functions.&lt;BR /&gt;The program is submitted and run on cluster, and 4 threads are used(setin *.sh file as"nodes=1:ppn=4").&lt;BR /&gt;So, if I'm wrong. How can I get the right usage? You didn't mean the CMKL9.0 doesn't support OpenMP, did you?&lt;BR /&gt;Anywhere can I find the usage of Poisson library with OpenMP?&lt;BR /&gt;With best regards.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2010 01:45:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-OpenMP-when-invoking-MKL-poisson-library/m-p/770123#M547</guid>
      <dc:creator>Chang_Lei</dc:creator>
      <dc:date>2010-08-03T01:45:06Z</dc:date>
    </item>
    <item>
      <title>Use OpenMP when invoking MKL poisson library</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-OpenMP-when-invoking-MKL-poisson-library/m-p/770124#M548</link>
      <description>Hi,&lt;DIV&gt;Try to rewrite your code in next way:&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;call d_init_Helmholtz_3D(ax,bx,...,...,BCtype,q,ipar,dpar,stat)&lt;BR /&gt;&lt;B&gt;ipar(23)=4 !OpenMP number of threads&lt;BR /&gt;call d_commit_Helmholtz_3D(ff,bd_ax,bd_bx,...,...,dpar,stat)&lt;BR /&gt;call d_Helmholtz_3D(ff,bd_ax,,...,...,ipar,dpar,stat)&lt;/B&gt;&lt;BR /&gt;call free_Helmholtz_3D(xhandle,yhandle,ipar,stat)&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;With best regards,&lt;/DIV&gt;&lt;DIV&gt;Alexander Kalinkin&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 03 Aug 2010 02:38:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-OpenMP-when-invoking-MKL-poisson-library/m-p/770124#M548</guid>
      <dc:creator>Alexander_K_Intel2</dc:creator>
      <dc:date>2010-08-03T02:38:42Z</dc:date>
    </item>
    <item>
      <title>Use OpenMP when invoking MKL poisson library</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-OpenMP-when-invoking-MKL-poisson-library/m-p/770125#M549</link>
      <description>Hi,&lt;BR /&gt;I have rewrote as you said anddecreased the elapsed time from about 0.17 to 0.06.&lt;BR /&gt;That seems to be very good accelerating speed.&lt;BR /&gt;&lt;BR /&gt;Here I have another question. Can MKL poisson library be used in cylindrical coordinate (r,z,thelta)? Especially for the axisymmetrical coordinate (r,z). (I'm holding my breath...)&lt;BR /&gt;&lt;BR /&gt;Best regards.</description>
      <pubDate>Tue, 03 Aug 2010 09:19:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-OpenMP-when-invoking-MKL-poisson-library/m-p/770125#M549</guid>
      <dc:creator>Chang_Lei</dc:creator>
      <dc:date>2010-08-03T09:19:12Z</dc:date>
    </item>
    <item>
      <title>Use OpenMP when invoking MKL poisson library</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-OpenMP-when-invoking-MKL-poisson-library/m-p/770126#M550</link>
      <description>Hi,&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;DIV&gt;Current version of MKL support only cartesian and spherical coordinate system.&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;With best regards,&lt;/DIV&gt;&lt;DIV&gt;Alexander Kalinkin&lt;/DIV&gt;</description>
      <pubDate>Tue, 03 Aug 2010 11:02:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Use-OpenMP-when-invoking-MKL-poisson-library/m-p/770126#M550</guid>
      <dc:creator>Alexander_K_Intel2</dc:creator>
      <dc:date>2010-08-03T11:02:42Z</dc:date>
    </item>
  </channel>
</rss>

