<?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® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Numpy-MKL-install-fails-Could-not-locate-executable-icc/m-p/1000476#M18484</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;
	Even I am facing the similar kind of error.&lt;/P&gt;

&lt;P&gt;&lt;CODE class="plain"&gt;"Could not &lt;/CODE&gt;&lt;CODE class="functions"&gt;locate&lt;/CODE&gt; &lt;CODE class="plain"&gt;executable icc"&lt;/CODE&gt;&lt;CODE class="plain"&gt; and&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE class="plain"&gt;"sh: 1: icc: not found"&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;I have followed all the instructions given on the intel's website. But am not very sure where I went wrong. Please help me.&lt;/P&gt;</description>
    <pubDate>Thu, 19 Nov 2015 01:01:04 GMT</pubDate>
    <dc:creator>Chaithanya_M_</dc:creator>
    <dc:date>2015-11-19T01:01:04Z</dc:date>
    <item>
      <title>Numpy+MKL install fails: Could not locate executable icc</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Numpy-MKL-install-fails-Could-not-locate-executable-icc/m-p/1000473#M18481</link>
      <description>&lt;P&gt;I followed the build instruction on intel's website closely but when get to building numpy I get the following message:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;sudo python setup.py config --compiler=intelem build_clib --compiler=intelem build_ext --compiler=intelem install
Running from numpy source directory.
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'test_suite'
  warnings.warn(msg)
non-existing path in 'numpy/f2py': 'docs'
non-existing path in 'numpy/f2py': 'f2py.1'
/bin/sh: 1: svnversion: not found
F2PY Version 2
blas_opt_info:
blas_mkl_info:
  FOUND:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/opt/intel/composer_xe_2015/mkl/lib/intel64']
    define_macros = [('SCIPY_MKL_H', None)]
    include_dirs = ['/opt/intel/composer_xe_2015/mkl/include']

  FOUND:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/opt/intel/composer_xe_2015/mkl/lib/intel64']
    define_macros = [('SCIPY_MKL_H', None)]
    include_dirs = ['/opt/intel/composer_xe_2015/mkl/include']

/bin/sh: 1: svnversion: not found
non-existing path in 'numpy/lib': 'benchmarks'
lapack_opt_info:
openblas_lapack_info:
  libraries openblas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE

lapack_mkl_info:
mkl_info:
  FOUND:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/opt/intel/composer_xe_2015/mkl/lib/intel64']
    define_macros = [('SCIPY_MKL_H', None)]
    include_dirs = ['/opt/intel/composer_xe_2015/mkl/include']

  FOUND:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/opt/intel/composer_xe_2015/mkl/lib/intel64']
    define_macros = [('SCIPY_MKL_H', None)]
    include_dirs = ['/opt/intel/composer_xe_2015/mkl/include']

  FOUND:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/opt/intel/composer_xe_2015/mkl/lib/intel64']
    define_macros = [('SCIPY_MKL_H', None)]
    include_dirs = ['/opt/intel/composer_xe_2015/mkl/include']

/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'define_macros'
  warnings.warn(msg)
running config
running build_clib
running build_src
build_src
building py_modules sources
building library "npymath" sources
Could not locate executable icc
Could not locate executable ecc
customize Gnu95FCompiler
Found executable /usr/bin/gfortran
customize Gnu95FCompiler
customize Gnu95FCompiler using config
C compiler: icc -m64 -fPIC

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/include -I/usr/include/python2.7 -c'
icc: _configtest.c
sh: 1: icc: not found
sh: 1: icc: not found
failure.
removing: _configtest.c _configtest.o
Traceback (most recent call last):
  File "setup.py", line 251, in &amp;lt;module&amp;gt;
    setup_package()
  File "setup.py", line 243, in setup_package
    setup(**metadata)
  File "/home/matus/Desktop/numpy-1.9.1/numpy/distutils/core.py", line 169, in setup
    return old_setup(**new_attr)
  File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/home/matus/Desktop/numpy-1.9.1/numpy/distutils/command/build_clib.py", line 63, in run
    self.run_command('build_src')
  File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/home/matus/Desktop/numpy-1.9.1/numpy/distutils/command/build_src.py", line 153, in run
    self.build_sources()
  File "/home/matus/Desktop/numpy-1.9.1/numpy/distutils/command/build_src.py", line 164, in build_sources
    self.build_library_sources(*libname_info)
  File "/home/matus/Desktop/numpy-1.9.1/numpy/distutils/command/build_src.py", line 299, in build_library_sources
    sources = self.generate_sources(sources, (lib_name, build_info))
  File "/home/matus/Desktop/numpy-1.9.1/numpy/distutils/command/build_src.py", line 386, in generate_sources
    source = func(extension, build_dir)
  File "numpy/core/setup.py", line 686, in get_mathlib_info
    raise RuntimeError("Broken toolchain: cannot link a simple C program")
RuntimeError: Broken toolchain: cannot link a simple C program
&lt;/PRE&gt;

&lt;P&gt;However icc is available and indeed&lt;/P&gt;

&lt;P&gt;$ icc --version&lt;/P&gt;

&lt;P&gt;returns&lt;/P&gt;

&lt;P&gt;icc (ICC) 15.0.0 20140723&lt;BR /&gt;
	Copyright (C) 1985-2014 Intel Corporation.&amp;nbsp; All rights reserved.&lt;/P&gt;

&lt;P&gt;as for ecc&lt;/P&gt;

&lt;P&gt;$ icecc --version&lt;/P&gt;

&lt;P&gt;ICECC 1.0.1&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	So what is the problem?&lt;/P&gt;

&lt;P&gt;I'm on Linux Mint 17&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2014 11:32:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Numpy-MKL-install-fails-Could-not-locate-executable-icc/m-p/1000473#M18481</guid>
      <dc:creator>matus_s_</dc:creator>
      <dc:date>2014-11-25T11:32:44Z</dc:date>
    </item>
    <item>
      <title>Did you source the</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Numpy-MKL-install-fails-Could-not-locate-executable-icc/m-p/1000474#M18482</link>
      <description>&lt;P&gt;Did you source the compilervars.sh that is located in &amp;lt;your intel tools installation folder&amp;gt;/bin?&lt;/P&gt;

&lt;P&gt;Vipin&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2014 10:21:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Numpy-MKL-install-fails-Could-not-locate-executable-icc/m-p/1000474#M18482</guid>
      <dc:creator>VipinKumar_E_Intel</dc:creator>
      <dc:date>2014-12-01T10:21:30Z</dc:date>
    </item>
    <item>
      <title>I submitted an issue to numpy</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Numpy-MKL-install-fails-Could-not-locate-executable-icc/m-p/1000475#M18483</link>
      <description>&lt;P&gt;&lt;S&gt;&lt;SPAN style="font: 13px/19.51px Arial, 宋体, Tahoma, Helvetica, sans-serif; color: rgb(83, 87, 94); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;"&gt;I submitted &lt;/SPAN&gt;&lt;A href="https://github.com/numpy/numpy/issues/5428" style="font: 13px/19.51px Arial, 宋体, Tahoma, Helvetica, sans-serif; margin: 0px; padding: 0px; color: rgb(8, 109, 182); text-transform: none; text-indent: 0px; letter-spacing: normal; text-decoration: none !important; word-spacing: 0px; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;"&gt;an issue to numpy&lt;/A&gt;&lt;SPAN style="font: 13px/19.51px Arial, 宋体, Tahoma, Helvetica, sans-serif; color: rgb(83, 87, 94); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;"&gt;.&amp;nbsp;You can&amp;nbsp;temporarily replace the variable old_path with the hard-coded true PATH, or simply add a symlink of icc and ifort in /usr/bin.&lt;/SPAN&gt;&lt;/S&gt;&lt;/P&gt;

&lt;P&gt;sudo potentially changes the PATH. See &lt;A href="https://github.com/cudamat/cudamat/issues/40#issuecomment-69583889"&gt;a related comment on github&lt;/A&gt;. So you may want to add paths like&amp;nbsp;/opt/intel/composer_xe_2015.1.133/bin/intel64 to the secure_path in sudoers in this case.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2015 19:13:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Numpy-MKL-install-fails-Could-not-locate-executable-icc/m-p/1000475#M18483</guid>
      <dc:creator>Ziyuan</dc:creator>
      <dc:date>2015-01-07T19:13:00Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Numpy-MKL-install-fails-Could-not-locate-executable-icc/m-p/1000476#M18484</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
	Even I am facing the similar kind of error.&lt;/P&gt;

&lt;P&gt;&lt;CODE class="plain"&gt;"Could not &lt;/CODE&gt;&lt;CODE class="functions"&gt;locate&lt;/CODE&gt; &lt;CODE class="plain"&gt;executable icc"&lt;/CODE&gt;&lt;CODE class="plain"&gt; and&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE class="plain"&gt;"sh: 1: icc: not found"&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;I have followed all the instructions given on the intel's website. But am not very sure where I went wrong. Please help me.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2015 01:01:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Numpy-MKL-install-fails-Could-not-locate-executable-icc/m-p/1000476#M18484</guid>
      <dc:creator>Chaithanya_M_</dc:creator>
      <dc:date>2015-11-19T01:01:04Z</dc:date>
    </item>
    <item>
      <title>Hi Chaithanya, </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Numpy-MKL-install-fails-Could-not-locate-executable-icc/m-p/1000477#M18485</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://software.intel.com/en-us/user/1273781" style="font-size: 11px; line-height: 16.5px; background-color: rgb(238, 238, 238);"&gt;Chaithanya&lt;/A&gt;,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;What the result if you enter the command line?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;$ icc --version&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;or our team has recently released the Intel Distribution for Python (&lt;A href="https://software.intel.com/en-us/python-distribution" target="_blank"&gt;https://software.intel.com/en-us/python-distribution&lt;/A&gt;). You are welcome to register and download it. Our binary distribution was built using NumPy 1.9.2 and SciPy 0.15.1 with MKL and intel compiler ICC/ifort.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;/P&gt;

&lt;P&gt;Ying&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2015 02:13:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Numpy-MKL-install-fails-Could-not-locate-executable-icc/m-p/1000477#M18485</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2015-11-23T02:13:01Z</dc:date>
    </item>
  </channel>
</rss>

