<?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 Hi EdwinV,  in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DftiCommitDescriptor-hangs-my-application/m-p/1060232#M21632</link>
    <description>&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Hi EdwinV,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Could you please submit the issue to premier.intel.com or write me a private email so we can further investigate.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Otherwise, you may just debug and try randomly.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;According to your test, &amp;nbsp;the issue seems in different MKL and fortran version. &amp;nbsp;&lt;/P&gt;

&lt;P&gt;What i can suggest may be debug &amp;nbsp;your program.&lt;/P&gt;

&lt;P&gt;or if considering mkl version, you may try to make sure one version of MKL. &amp;nbsp;(mkl 11.1.3)&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;and when your link&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;dynamic linking of MKL and the thirdparty application. &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;-L$(MKLDIR) -lmkl_intel_lp64 -lmkl_sequential&amp;nbsp;-lmkl_core -lpthread -lm.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;1) what is the whole command line? &amp;nbsp; &amp;nbsp; You may add&lt;STRONG&gt; -#&lt;/STRONG&gt; at the end of your command link line. Then you will see all linked message in details.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;2)&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0080003738403px; line-height: 19.5120010375977px;"&gt;You mentioned:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="font-size: 13.0080003738403px; line-height: 19.5120010375977px;"&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;The 3rd party application is compiled with Intel Fortran compiler 15.0 (?) and dynamically linked with MKL 11.1.3. The corresponding shared object files are provided in its run path.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;the 3rd party application is compiled with Intel Fortran compiler 15.0 (?) and dynamically linked with MKL 11.1.3, &amp;nbsp;is it static library or dynamic library or a exe? &amp;nbsp; what is the relationship between your shared library with the 3rd party application? &amp;nbsp;do you load your library by dlopen(?) , what is parameter or call directly?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;BR /&gt;
	Ying&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 31 Aug 2015 02:02:41 GMT</pubDate>
    <dc:creator>Ying_H_Intel</dc:creator>
    <dc:date>2015-08-31T02:02:41Z</dc:date>
    <item>
      <title>DftiCommitDescriptor hangs my application</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DftiCommitDescriptor-hangs-my-application/m-p/1060229#M21629</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I've been struggling with this for a while, hope you can help.&lt;/P&gt;

&lt;P&gt;I'm creating a shared library on Linux (Centos 6.7) using FFT's implemented with the MKL. My library works fine when used together with my own test program, but fails when used from a 3rd party application.&lt;/P&gt;

&lt;P&gt;The problem has been pinned down to the FFT's. Print-output arrives on screen after calling DftiCreateDescriptor and DftiSetValue, and the status is 0. But when I subsequently call DftiCommitDescriptor the 3rd party application keeps running at 100% cpu and doesn't show any print-output anymore.&lt;/P&gt;

&lt;P&gt;The 3rd party application is compiled with Intel Fortran compiler 15.0 (?) and dynamically linked with MKL 11.1.3. The corresponding shared object files are provided in its run path. I'm using Intel Fortran 14.0.0 myself (composer_xe_2013_sp1.0.080). I installed MKL 11.1.3 and changed include paths accordingly but this didn't resolve the problem. I tried dynamic and static linking without any success:&lt;/P&gt;

&lt;P&gt;Static, with OpenMP:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;-Wl,--start-group $(MKLDIR)/libmkl_intel_lp64.a $(MKLDIR)/libmkl_core.a $(MKLDIR)/libmkl_intel_thread.a -Wl,--end-group -lpthread -lm&lt;/P&gt;

&lt;P&gt;Dynamic, with OpenMP:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;-L$(MKLDIR) -lmkl_intel_lp64 -lmkl_core -lmkl_intel_thread -lpthread -lm&lt;/P&gt;

&lt;P&gt;Any ideas how this hang may come about, or how it can be circumvented?&lt;/P&gt;

&lt;P&gt;Thanks, Edwin&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2015 10:03:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DftiCommitDescriptor-hangs-my-application/m-p/1060229#M21629</guid>
      <dc:creator>Edwin_V_</dc:creator>
      <dc:date>2015-08-25T10:03:54Z</dc:date>
    </item>
    <item>
      <title>Hi Edwin, </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DftiCommitDescriptor-hangs-my-application/m-p/1060230#M21630</link>
      <description>&lt;P&gt;Hi Edwin,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;It is unknown issue. &amp;nbsp;What is the third-party library? &amp;nbsp;Have you tried the piece of FFT code in standalone test case, does it work? &amp;nbsp;&lt;/P&gt;

&lt;P&gt;MKL provide FFT sample both (c or fotran code) in MKL install directory. [MKL Install directory]/examples, I may suggest you to try the sample with your input data/ parameter and see if the standalone test case work.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Additionally, in order to avoid the possible issues caused by the multi-threads &amp;nbsp;could you please try sequential library.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;for example &amp;nbsp;-L$(MKLDIR) -lmkl_intel_lp64 -lmkl_sequential&amp;nbsp;-lmkl_core -lpthread -lm and see if the whole program work?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;/P&gt;

&lt;P&gt;Ying H.&lt;/P&gt;

&lt;P&gt;Intel MKL Support&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2015 03:29:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DftiCommitDescriptor-hangs-my-application/m-p/1060230#M21630</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2015-08-28T03:29:52Z</dc:date>
    </item>
    <item>
      <title>Thanks Ying,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DftiCommitDescriptor-hangs-my-application/m-p/1060231#M21631</link>
      <description>&lt;DIV class="field field-name-comment-body field-type-text-long field-label-hidden"&gt;
	&lt;DIV class="field-items"&gt;
		&lt;DIV class="field-item even"&gt;
			&lt;P&gt;Thanks Ying,&lt;/P&gt;

			&lt;P&gt;&amp;gt; It is unknown issue. &amp;nbsp;What is the third-party library? &amp;nbsp;Have you tried the piece of FFT code in standalone test case, does it work? &amp;nbsp;&lt;/P&gt;

			&lt;P&gt;I cannot tell about the names of the programs involved. They are both robust and commercial packages.&lt;/P&gt;

			&lt;P&gt;The FFT has been used in my code for several years and didn't fail until now. It works fine when I use my library in combination with a test program that I wrote and compiled myself.&lt;/P&gt;
			&amp;gt; Additionally, in order to avoid the possible issues caused by the multi-threads &amp;nbsp;could you please try sequential library.

			&lt;P&gt;&amp;gt; for example &amp;nbsp;-L$(MKLDIR) -lmkl_intel_lp64 -lmkl_sequential&amp;nbsp;-lmkl_core -lpthread -lm and see if the whole program work?&lt;/P&gt;

			&lt;P&gt;I tried four combinations: with/without OpenMP and using static/dynamic linking of MKL to my shared library. None works.&lt;/P&gt;

			&lt;P&gt;I suspect that the 3rd party code is based on a different version of the MKL and that loading two versions into one application creates some sort of conflict. But I don't understand why static linking of one version of the MKL into my library doesn't resolve the issue.&lt;/P&gt;

			&lt;P&gt;Best Regards,&lt;/P&gt;

			&lt;P&gt;EdwinV&lt;/P&gt;
		&lt;/DIV&gt;
	&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 28 Aug 2015 07:58:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DftiCommitDescriptor-hangs-my-application/m-p/1060231#M21631</guid>
      <dc:creator>Edwin_V_</dc:creator>
      <dc:date>2015-08-28T07:58:07Z</dc:date>
    </item>
    <item>
      <title>Hi EdwinV, </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DftiCommitDescriptor-hangs-my-application/m-p/1060232#M21632</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Hi EdwinV,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Could you please submit the issue to premier.intel.com or write me a private email so we can further investigate.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Otherwise, you may just debug and try randomly.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;According to your test, &amp;nbsp;the issue seems in different MKL and fortran version. &amp;nbsp;&lt;/P&gt;

&lt;P&gt;What i can suggest may be debug &amp;nbsp;your program.&lt;/P&gt;

&lt;P&gt;or if considering mkl version, you may try to make sure one version of MKL. &amp;nbsp;(mkl 11.1.3)&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;and when your link&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;dynamic linking of MKL and the thirdparty application. &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;-L$(MKLDIR) -lmkl_intel_lp64 -lmkl_sequential&amp;nbsp;-lmkl_core -lpthread -lm.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;1) what is the whole command line? &amp;nbsp; &amp;nbsp; You may add&lt;STRONG&gt; -#&lt;/STRONG&gt; at the end of your command link line. Then you will see all linked message in details.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;2)&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0080003738403px; line-height: 19.5120010375977px;"&gt;You mentioned:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="font-size: 13.0080003738403px; line-height: 19.5120010375977px;"&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;The 3rd party application is compiled with Intel Fortran compiler 15.0 (?) and dynamically linked with MKL 11.1.3. The corresponding shared object files are provided in its run path.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;the 3rd party application is compiled with Intel Fortran compiler 15.0 (?) and dynamically linked with MKL 11.1.3, &amp;nbsp;is it static library or dynamic library or a exe? &amp;nbsp; what is the relationship between your shared library with the 3rd party application? &amp;nbsp;do you load your library by dlopen(?) , what is parameter or call directly?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;BR /&gt;
	Ying&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Aug 2015 02:02:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DftiCommitDescriptor-hangs-my-application/m-p/1060232#M21632</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2015-08-31T02:02:41Z</dc:date>
    </item>
  </channel>
</rss>

