<?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,  in Intel® Distribution for Python*</title>
    <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Bug-in-GESVD/m-p/1125637#M778</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for taking the time to bring this issue to our attention.&lt;BR /&gt;I was able to reproduce the erroneous behavior, and will pass the report&amp;nbsp;on to the MKL team.&lt;BR /&gt;MKL on Linux is producing the expected result.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Sorry about the inconvenience.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Sincerely,&lt;BR /&gt;Oleksandr&lt;/P&gt;</description>
    <pubDate>Wed, 10 Apr 2019 20:46:57 GMT</pubDate>
    <dc:creator>Oleksandr_P_Intel</dc:creator>
    <dc:date>2019-04-10T20:46:57Z</dc:date>
    <item>
      <title>Bug in GESVD ?</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Bug-in-GESVD/m-p/1125636#M777</link>
      <description>&lt;P&gt;I installed Anaconda 2019.03 release on macOS Mojave 10.14.4, and I tried doing&amp;nbsp;SVD of&amp;nbsp;a very simple matrix:&lt;/P&gt;
&lt;PRE class="brush:python; class-name:dark;"&gt;import numpy as np
import scipy.linalg as LA

mat = np.array([[-1,0], [0,-1-1j]], dtype=complex)
s = LA.svd(mat, full_matrices=False, lapack_driver='gesvd')
print(s)&lt;/PRE&gt;

&lt;P&gt;However, the output is wrong&lt;/P&gt;

&lt;PRE class="brush:; class-name:dark;"&gt;[1.    1.    ]  # should be [1.41421356 1.        ]&lt;/PRE&gt;

&lt;P&gt;The correct result can be obtained by setting either "compute_uv=False" or " lapack_driver='gesdd' "&lt;/P&gt;
&lt;P&gt;Anaconda is now using the SciPy packages with MKL optimization by default. If I remove the default SciPy packages and installed the version that uses OpenBLAS, the problem will gone. The problem seems to be CPU dependent.&amp;nbsp;I want to know if any other people can reproduce this problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My system information:&lt;/P&gt;

&lt;PRE class="brush:; class-name:dark;"&gt;OS: macOS 10.14.4 (18E226)
CPU: Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz&lt;/PRE&gt;

&lt;P&gt;numpy.__config__.show() result:&lt;/P&gt;

&lt;PRE class="brush:; class-name:dark;"&gt;mkl_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/Users/zhengyuanyue/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/Users/zhengyuanyue/anaconda3/include']
blas_mkl_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/Users/zhengyuanyue/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/Users/zhengyuanyue/anaconda3/include']
blas_opt_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/Users/zhengyuanyue/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/Users/zhengyuanyue/anaconda3/include']
lapack_mkl_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/Users/zhengyuanyue/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/Users/zhengyuanyue/anaconda3/include']
lapack_opt_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/Users/zhengyuanyue/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/Users/zhengyuanyue/anaconda3/include']&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 03:57:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Bug-in-GESVD/m-p/1125636#M777</guid>
      <dc:creator>Yue__Zhengyuan</dc:creator>
      <dc:date>2019-04-10T03:57:19Z</dc:date>
    </item>
    <item>
      <title>Hi, </title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Bug-in-GESVD/m-p/1125637#M778</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for taking the time to bring this issue to our attention.&lt;BR /&gt;I was able to reproduce the erroneous behavior, and will pass the report&amp;nbsp;on to the MKL team.&lt;BR /&gt;MKL on Linux is producing the expected result.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Sorry about the inconvenience.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Sincerely,&lt;BR /&gt;Oleksandr&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 20:46:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Bug-in-GESVD/m-p/1125637#M778</guid>
      <dc:creator>Oleksandr_P_Intel</dc:creator>
      <dc:date>2019-04-10T20:46:57Z</dc:date>
    </item>
  </channel>
</rss>

