<?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 Sounds good! I will give a in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SciPy-built-with-Intel-MKL-Update-2-fails-test/m-p/1164659#M28159</link>
    <description>&lt;P&gt;Sounds good! I will give a try, thank you!&lt;/P&gt;</description>
    <pubDate>Wed, 11 Apr 2018 16:21:25 GMT</pubDate>
    <dc:creator>mvrht__u3425923</dc:creator>
    <dc:date>2018-04-11T16:21:25Z</dc:date>
    <item>
      <title>SciPy built with Intel MKL Update 2 fails test</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SciPy-built-with-Intel-MKL-Update-2-fails-test/m-p/1164652#M28152</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;SciPy v1.0.0 built with newly released Intel MKL 2018 Update 2 using&amp;nbsp;GNU gcc/gfortran on Ubuntu 16.04 x64 PC fails standard tests. According to test output (attached), as I understand, some modules not included into final shared library despite that building process ended without errors (log also attached). It even do not start testing process detecting that module is absent:&lt;/P&gt;

&lt;PRE class="brush:;"&gt;AttributeError: module 'scipy.spatial.qhull' has no attribute 'ConvexHull'&lt;/PRE&gt;

&lt;P&gt;where qhull.py only loads and imports symbols from dedicated shared library. Problem appeared since MKL 2018 update 1 release, SciPy built with MKL 2018 initial release successfully passes tests.&lt;/P&gt;

&lt;P&gt;Steps to reproduce:&lt;/P&gt;

&lt;P&gt;1. build scipy:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;wget &lt;A href="https://github.com/scipy/scipy/archive/v1.0.0.tar.gz" target="_blank"&gt;https://github.com/scipy/scipy/archive/v1.0.0.tar.gz&lt;/A&gt;
tar -xzf v1.0.0.tar.gz
cd scipy-1.0.0
echo "[mkl]" &amp;gt;&amp;gt; site.cfg
echo "library_dirs = /opt/intel/mkl/lib/intel64" &amp;gt;&amp;gt; site.cfg
echo "include_dirs = /opt/intel/mkl/include" &amp;gt;&amp;gt; site.cfg
echo "mkl_libs = mkl_rt" &amp;gt;&amp;gt; site.cfg
echo "lapack_libs = " &amp;gt;&amp;gt; site.cfg
python3 setup.py build
sudo python3 setup.py install&lt;/PRE&gt;

&lt;P&gt;2. Run standard SciPy test:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;python3
&amp;gt;&amp;gt; import scipy as sp
&amp;gt;&amp;gt; sp.test(verbose=3)&lt;/PRE&gt;

&lt;P&gt;I am trying to build custom Docker image. As Intel python distribution contains a lot of packages and has completely non-customizable install it is not a suitable solution, it is too heavy (5Gb), and in fact I still need original MKL for C++ code. I am able to reproduces this error on multiple PC.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 14:08:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SciPy-built-with-Intel-MKL-Update-2-fails-test/m-p/1164652#M28152</guid>
      <dc:creator>mvrht__u3425923</dc:creator>
      <dc:date>2018-04-04T14:08:19Z</dc:date>
    </item>
    <item>
      <title>thanks for the issue. We will</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SciPy-built-with-Intel-MKL-Update-2-fails-test/m-p/1164653#M28153</link>
      <description>&lt;P&gt;thanks for the issue. We will ask Python developers to investigate this case.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 03:24:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SciPy-built-with-Intel-MKL-Update-2-fails-test/m-p/1164653#M28153</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2018-04-05T03:24:39Z</dc:date>
    </item>
    <item>
      <title>Hi Mvrht,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SciPy-built-with-Intel-MKL-Update-2-fails-test/m-p/1164654#M28154</link>
      <description>&lt;P&gt;Hi Mvrht,&lt;/P&gt;

&lt;P&gt;Do set KMP_INIT_AT_FORK=FALSE work around the problem?&lt;/P&gt;

&lt;P&gt;if it is same reason&amp;nbsp;from&lt;BR /&gt;
	&lt;A href="https://software.intel.com/en-us/forums/intel-math-kernel-library/topic/760830,&amp;nbsp;" target="_blank"&gt;https://software.intel.com/en-us/forums/intel-math-kernel-library/topic/760830,&amp;nbsp;&lt;/A&gt;;&lt;/P&gt;

&lt;P&gt;We will fix in latest next release.&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
	​Ying&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>Sun, 08 Apr 2018 01:56:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SciPy-built-with-Intel-MKL-Update-2-fails-test/m-p/1164654#M28154</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2018-04-08T01:56:24Z</dc:date>
    </item>
    <item>
      <title>Hi, Ying,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SciPy-built-with-Intel-MKL-Update-2-fails-test/m-p/1164655#M28155</link>
      <description>&lt;P&gt;Hi, Ying,&lt;/P&gt;

&lt;P&gt;no, it does not help. I think it is more compilation time problem than runtime, though I am not 100% sure&lt;/P&gt;</description>
      <pubDate>Sun, 08 Apr 2018 09:52:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SciPy-built-with-Intel-MKL-Update-2-fails-test/m-p/1164655#M28155</guid>
      <dc:creator>mvrht__u3425923</dc:creator>
      <dc:date>2018-04-08T09:52:01Z</dc:date>
    </item>
    <item>
      <title> </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SciPy-built-with-Intel-MKL-Update-2-fails-test/m-p/1164656#M28156</link>
      <description>&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Hello,&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Since your primary concern is having Intel optimized Scipy, and not the complete installation of Intel Distribution for Python, functional in a container, I'd suggest the following:&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;
	&lt;PRE class="brush:plain;"&gt;1. Install miniconda in container (https://conda.io/miniconda.html)
2. &amp;lt;miniconda_installation&amp;gt;/bin/conda create -n intel_core_pkgs -c intel intelpython3_core python=3.6 -y
3. source &amp;lt;miniconda_installation&amp;gt;/bin/activate intel_core_pkgs&lt;/PRE&gt;

	&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;When you activate the "intel_core_pkgs" conda-environment (Step.3), you should have Scipy and all the required packages installed in that environment. I'd advise you to take this route since we build Numpy and Scipy using Intel compilers and have made various optimizations to the sources prior to building these modules.&lt;/SPAN&gt;&lt;/DIV&gt;

	&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

	&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Hope this helps!&lt;/SPAN&gt;&lt;/DIV&gt;

	&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

	&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Thanks,&lt;/SPAN&gt;&lt;/DIV&gt;

	&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Rohit&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 10 Apr 2018 19:03:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SciPy-built-with-Intel-MKL-Update-2-fails-test/m-p/1164656#M28156</guid>
      <dc:creator>Rohit_J_Intel</dc:creator>
      <dc:date>2018-04-10T19:03:30Z</dc:date>
    </item>
    <item>
      <title>Hello, Rohit,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SciPy-built-with-Intel-MKL-Update-2-fails-test/m-p/1164657#M28157</link>
      <description>&lt;P&gt;Hello, Rohit,&lt;/P&gt;

&lt;P&gt;thank you for advice, but I guess in such case I will have to install separate MKL for C/C++ code?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 14:34:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SciPy-built-with-Intel-MKL-Update-2-fails-test/m-p/1164657#M28157</guid>
      <dc:creator>mvrht__u3425923</dc:creator>
      <dc:date>2018-04-11T14:34:42Z</dc:date>
    </item>
    <item>
      <title> </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SciPy-built-with-Intel-MKL-Update-2-fails-test/m-p/1164658#M28158</link>
      <description>&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Hi,&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;You won't have to; since we build Scipy and Numpy while dynamically linking against MKL, we ship MKL runtimes with the distribution. In your conda-environment, you would have all the MKL runtimes at &lt;STRONG&gt;`python3-config --exec-prefix`/lib&lt;/STRONG&gt; directory. Also, if you require MKL's header-files, you can get them by running: `&lt;STRONG&gt;conda install -c intel mkl-include&lt;/STRONG&gt;`, from your conda-environment. The header-files would be placed in &lt;STRONG&gt;`python3-config --exec-prefix`/include&lt;/STRONG&gt; directory.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Thanks,&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Rohit&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 11 Apr 2018 15:04:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SciPy-built-with-Intel-MKL-Update-2-fails-test/m-p/1164658#M28158</guid>
      <dc:creator>Rohit_J_Intel</dc:creator>
      <dc:date>2018-04-11T15:04:00Z</dc:date>
    </item>
    <item>
      <title>Sounds good! I will give a</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SciPy-built-with-Intel-MKL-Update-2-fails-test/m-p/1164659#M28159</link>
      <description>&lt;P&gt;Sounds good! I will give a try, thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 16:21:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SciPy-built-with-Intel-MKL-Update-2-fails-test/m-p/1164659#M28159</guid>
      <dc:creator>mvrht__u3425923</dc:creator>
      <dc:date>2018-04-11T16:21:25Z</dc:date>
    </item>
    <item>
      <title>Hi, the error of compiling</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SciPy-built-with-Intel-MKL-Update-2-fails-test/m-p/1164660#M28160</link>
      <description>&lt;P&gt;Hi, the error of compiling qhull.pyx is due to use of Cython 0.28, which broke build of SciPy. See&amp;nbsp;https://github.com/scipy/scipy/pull/8581&lt;/P&gt;

&lt;P&gt;The fix from the aforementioned pull request has been incorporated in 1.0.1 sources. Please use those, or use Cython 0.27.3 to build scipy.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 12:56:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SciPy-built-with-Intel-MKL-Update-2-fails-test/m-p/1164660#M28160</guid>
      <dc:creator>Oleksandr_P_Intel</dc:creator>
      <dc:date>2018-04-12T12:56:50Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SciPy-built-with-Intel-MKL-Update-2-fails-test/m-p/1164661#M28161</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;haven't noticed that SciPy update. Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 20:50:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/SciPy-built-with-Intel-MKL-Update-2-fails-test/m-p/1164661#M28161</guid>
      <dc:creator>mvrht__u3425923</dc:creator>
      <dc:date>2018-04-12T20:50:50Z</dc:date>
    </item>
  </channel>
</rss>

