<?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 Thanks Taylor! in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/mkl/m-p/1035811#M43883</link>
    <description>&lt;P&gt;Thanks Taylor!&lt;/P&gt;</description>
    <pubDate>Wed, 05 Nov 2014 20:11:57 GMT</pubDate>
    <dc:creator>Jen_B_</dc:creator>
    <dc:date>2014-11-05T20:11:57Z</dc:date>
    <item>
      <title>mkl</title>
      <link>https://community.intel.com/t5/Software-Archive/mkl/m-p/1035807#M43879</link>
      <description>&lt;P&gt;I wanted to use the mkl fortran subroutines (for example, mkl_?csrmm, mkl_?csrsv, ...). Just wanted to make sure I do things right&lt;/P&gt;

&lt;P&gt;1) if I just&amp;nbsp;run it on host. then I compile it as&amp;nbsp;"ifort -openmp -mkl a.f90", then set env. variable MKL_NUM_THREADS. Is it enough? Or are there anything more to this?&lt;/P&gt;

&lt;P&gt;2) if I want to run it on coprocessor in an offloaded region, then&amp;nbsp;again compiles as in 1), and set env. variable MKL_MIC_ENABLE=1. Regarding the number of threads, does it pick up the MIC_OMP_NUM_THREADS variable value? Is there anything other than these?&lt;/P&gt;

&lt;P&gt;thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2014 00:55:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/mkl/m-p/1035807#M43879</guid>
      <dc:creator>Jen_B_</dc:creator>
      <dc:date>2014-10-27T00:55:30Z</dc:date>
    </item>
    <item>
      <title>I think the answers are</title>
      <link>https://community.intel.com/t5/Software-Archive/mkl/m-p/1035808#M43880</link>
      <description>&lt;P&gt;I think the answers are basically yes.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;As you are linking MKL shared objects, you may need to copy them over to MIC /lib64/ or mount them.&amp;nbsp; I don't know the pros and cons of dynamic vs. static linking.&lt;/P&gt;

&lt;P&gt;MIC_KMP_PLACE_THREADS may be more useful as it sets number of threads and distributes them evenly among cores.&amp;nbsp; You could use MIC_OMP_NUM_THREADS together with MIC_OMP_PROC_BIND=spread if you don't like KMP_PLACE_THREADS.&lt;/P&gt;

&lt;P&gt;It ought to be possible to control MIC_OMP_NUM_THREADS independently of MIC_MKL_NUM_THREADS (but I don't have experience with it).&amp;nbsp; MKL usually could use many more MIC threads effectively than your own source code would.&amp;nbsp; MKL is set up to work well with threading defaults.&lt;/P&gt;

&lt;P&gt;If you read about MIC_KMP_STACKSIZE you will see that the default thread stack limit for offload is only 2MB (same as host limit for 32-bit mode).&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2014 10:20:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/mkl/m-p/1035808#M43880</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2014-10-27T10:20:53Z</dc:date>
    </item>
    <item>
      <title>Thanks! is there a way I can</title>
      <link>https://community.intel.com/t5/Software-Archive/mkl/m-p/1035809#M43881</link>
      <description>&lt;P&gt;Thanks! is there a way I can get offload info from the mkl function I am using? I have exported the 'OFFLOAD_REPORT=2'&amp;nbsp;but it did not give me any information regarding the mkl function.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2014 17:54:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/mkl/m-p/1035809#M43881</guid>
      <dc:creator>Jen_B_</dc:creator>
      <dc:date>2014-10-28T17:54:38Z</dc:date>
    </item>
    <item>
      <title>Jen,</title>
      <link>https://community.intel.com/t5/Software-Archive/mkl/m-p/1035810#M43882</link>
      <description>&lt;P&gt;Jen,&lt;/P&gt;

&lt;P&gt;Have you read the forum post &lt;A href="https://software.intel.com/en-us/forums/topic/384980"&gt;https://software.intel.com/en-us/forums/topic/384980&lt;/A&gt; ?&lt;/P&gt;

&lt;P&gt;It address a similar question. Unfortunately, it is from an earlier version of the compiler but I think it is still relevant.&lt;/P&gt;

&lt;P&gt;If the post does not&amp;nbsp;answer your question, let me know and I will find an expert.&lt;/P&gt;

&lt;P&gt;Regards&lt;BR /&gt;
	--&lt;BR /&gt;
	Taylor&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2014 17:47:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/mkl/m-p/1035810#M43882</guid>
      <dc:creator>TaylorIoTKidd</dc:creator>
      <dc:date>2014-11-05T17:47:58Z</dc:date>
    </item>
    <item>
      <title>Thanks Taylor!</title>
      <link>https://community.intel.com/t5/Software-Archive/mkl/m-p/1035811#M43883</link>
      <description>&lt;P&gt;Thanks Taylor!&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2014 20:11:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/mkl/m-p/1035811#M43883</guid>
      <dc:creator>Jen_B_</dc:creator>
      <dc:date>2014-11-05T20:11:57Z</dc:date>
    </item>
  </channel>
</rss>

