<?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 Re:Possible to get minimal MKL via Apt? in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Possible-to-get-minimal-MKL-via-Apt/m-p/1211452#M30085</link>
    <description>&lt;P&gt;Matt, actually MKL doesn’t provide the tested way to removing some of the already installed components like PGI or Cluster components… This some kind of comment of course. &lt;/P&gt;&lt;P&gt;Gennady&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 22 Sep 2020 11:42:34 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2020-09-22T11:42:34Z</dc:date>
    <item>
      <title>Possible to get minimal MKL via Apt?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Possible-to-get-minimal-MKL-via-Apt/m-p/1210271#M30080</link>
      <description>&lt;P&gt;All,&lt;/P&gt;
&lt;P&gt;Just a question. I manage some docker images for a climate model that (currently) has a requirement on MKL. I don't really mind this except the fact that adding MKL adds 1.8GB to the image. I install in this Ubuntu 20 image with apt (following&amp;nbsp;&lt;A href="https://software.intel.com/content/www/us/en/develop/articles/installing-intel-free-libs-and-python-apt-repo.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/articles/installing-intel-free-libs-and-python-apt-repo.html&lt;/A&gt;&lt;LI-EMOJI id="lia_disappointed-face" title=":disappointed_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;# MKL version 2020.0-088
RUN wget -O - https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB 2&amp;gt; /dev/null | apt-key add - &amp;amp;&amp;amp; \
    sh -c 'echo deb https://apt.repos.intel.com/mkl all main &amp;gt; /etc/apt/sources.list.d/intel-mkl.list' &amp;amp;&amp;amp; \
    apt-get update &amp;amp;&amp;amp; \
    apt-get install -y intel-mkl-64bit-2020.0-088 &amp;amp;&amp;amp; \
    rm -rf /var/lib/apt/lists/*&lt;/LI-CODE&gt;
&lt;P&gt;and when I do I see:&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;The following NEW packages will be installed:
  intel-comp-l-all-vars-19.1.0-166 intel-comp-nomcu-vars-19.1.0-166
  intel-conda-index-tool-19.1.0-166
  intel-conda-intel-openmp-linux-64-shadow-package-19.1.0-166
  intel-conda-mkl-devel-linux-64-shadow-package-2020.0-166
  intel-conda-mkl-include-linux-64-shadow-package-2020.0-166
  intel-conda-mkl-linux-64-shadow-package-2020.0-166
  intel-conda-mkl-static-linux-64-shadow-package-2020.0-166
  intel-conda-tbb-linux-64-shadow-package-2020.0-166
  intel-mkl-64bit-2020.0-088 intel-mkl-cluster-2020.0-166
  intel-mkl-cluster-c-2020.0-166 intel-mkl-cluster-f-2020.0-166
  intel-mkl-cluster-rt-2020.0-166 intel-mkl-common-2020.0-166
  intel-mkl-common-c-2020.0-166 intel-mkl-common-c-ps-2020.0-166
  intel-mkl-common-f-2020.0-166 intel-mkl-common-ps-2020.0-166
  intel-mkl-core-2020.0-166 intel-mkl-core-c-2020.0-166
  intel-mkl-core-f-2020.0-166 intel-mkl-core-ps-2020.0-166
  intel-mkl-core-rt-2020.0-166 intel-mkl-doc-2020 intel-mkl-doc-ps-2020
  intel-mkl-f95-2020.0-166 intel-mkl-f95-common-2020.0-166
  intel-mkl-gnu-2020.0-166 intel-mkl-gnu-c-2020.0-166
  intel-mkl-gnu-f-2020.0-166 intel-mkl-gnu-f-rt-2020.0-166
  intel-mkl-gnu-rt-2020.0-166 intel-mkl-pgi-2020.0-166
  intel-mkl-pgi-c-2020.0-166 intel-mkl-pgi-rt-2020.0-166
  intel-mkl-psxe-2020.0-088 intel-mkl-tbb-2020.0-166
  intel-mkl-tbb-rt-2020.0-166 intel-openmp-19.1.0-166
  intel-psxe-common-2020.0-088 intel-psxe-common-doc-2020
  intel-tbb-libs-2020.0-166&lt;/LI-CODE&gt;
&lt;P&gt;I guess my question is: is there a way I can slim this down? I tried interactively doing something like "Remove the PGI bits as I'm only GNU" but:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;apt-get remove intel-mkl-pgi-c-2020.0-166&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;leads to no more MKL:&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;The following packages will be REMOVED:
  intel-mkl-64bit-2020.0-088 intel-mkl-pgi-c-2020.0-166&lt;/LI-CODE&gt;
&lt;P&gt;I'm exploring using something like this gist:&amp;nbsp;&lt;A href="https://gist.github.com/mgoldey/f3886b7accc0cd730e37528e09f7bc81," target="_blank"&gt;https://gist.github.com/mgoldey/f3886b7accc0cd730e37528e09f7bc81,&lt;/A&gt;&amp;nbsp;but I wondered if anyone had a different/better way to slim down MKL in the image?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 17:56:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Possible-to-get-minimal-MKL-via-Apt/m-p/1210271#M30080</guid>
      <dc:creator>Matt_Thompson</dc:creator>
      <dc:date>2020-09-17T17:56:11Z</dc:date>
    </item>
    <item>
      <title>Re:Possible to get minimal MKL via Apt?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Possible-to-get-minimal-MKL-via-Apt/m-p/1211452#M30085</link>
      <description>&lt;P&gt;Matt, actually MKL doesn’t provide the tested way to removing some of the already installed components like PGI or Cluster components… This some kind of comment of course. &lt;/P&gt;&lt;P&gt;Gennady&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Sep 2020 11:42:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Possible-to-get-minimal-MKL-via-Apt/m-p/1211452#M30085</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2020-09-22T11:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Possible to get minimal MKL via Apt?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Possible-to-get-minimal-MKL-via-Apt/m-p/1211469#M30087</link>
      <description>&lt;P&gt;I figured. I'm currently using the method the Gist implied and just nuking bits of the install my image doesn't need. Docs? Benchmarks? Static libraries? Away! &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 12:22:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Possible-to-get-minimal-MKL-via-Apt/m-p/1211469#M30087</guid>
      <dc:creator>Matt_Thompson</dc:creator>
      <dc:date>2020-09-22T12:22:45Z</dc:date>
    </item>
    <item>
      <title>Re:Possible to get minimal MKL via Apt?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Possible-to-get-minimal-MKL-via-Apt/m-p/1211473#M30088</link>
      <description>&lt;P&gt;You only need headers ( Include), libs, and dll ( see the redist folder). By default, 64 and 32-bit Libraries and DLLs are installed. You may significantly reduce the size by removing for example 32 bits if you are using 64 bits only. &lt;/P&gt;&lt;P&gt;Doc, Benchmarks, Tools, and Examples are not needed to link and execute your application with MKL.&lt;/P&gt;&lt;P&gt;-Gennady&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Sep 2020 12:56:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Possible-to-get-minimal-MKL-via-Apt/m-p/1211473#M30088</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2020-09-22T12:56:51Z</dc:date>
    </item>
    <item>
      <title>Re:Possible to get minimal MKL via Apt?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Possible-to-get-minimal-MKL-via-Apt/m-p/1213941#M30127</link>
      <description>&lt;P&gt;The issue is closing and we will no longer respond to this thread.&amp;nbsp;If you require additional assistance from Intel, please start a new thread.&amp;nbsp;Any further interaction in this thread will be considered community only.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Oct 2020 03:08:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Possible-to-get-minimal-MKL-via-Apt/m-p/1213941#M30127</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2020-10-01T03:08:43Z</dc:date>
    </item>
  </channel>
</rss>

