<?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 Ellak, in Intel® Distribution for Python*</title>
    <link>https://community.intel.com/t5/Intel-Distribution-for-Python/illegal-instruction-on-intel-python2-when-importing-caffe/m-p/1107888#M578</link>
    <description>&lt;P&gt;Hi Ellak,&lt;/P&gt;

&lt;P&gt;Can you try importing pytables?&lt;/P&gt;

&lt;P&gt;$ python -c 'import tables'&lt;/P&gt;

&lt;P&gt;Thanks for your patience,&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
    <pubDate>Tue, 16 May 2017 18:18:05 GMT</pubDate>
    <dc:creator>Christophe_H_Intel2</dc:creator>
    <dc:date>2017-05-16T18:18:05Z</dc:date>
    <item>
      <title>illegal instruction on intel python2 when importing caffe</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/illegal-instruction-on-intel-python2-when-importing-caffe/m-p/1107885#M575</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am trying to use caffe with intel python2.7 v2017.3, but executing "import caffe" results in crashing the interpreter with "Illegal instruction". (The same error was seen on v2017.2.)&lt;/P&gt;

&lt;P&gt;My cpu is i5-3570 (which has sse4_2), os is debian-8 jessie. The /proc/cpuinfo file is attached.&lt;/P&gt;

&lt;P&gt;Thank you for looking into this!&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2017 21:38:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/illegal-instruction-on-intel-python2-when-importing-caffe/m-p/1107885#M575</guid>
      <dc:creator>Ellák_S_</dc:creator>
      <dc:date>2017-05-15T21:38:26Z</dc:date>
    </item>
    <item>
      <title>Hi Ellak,</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/illegal-instruction-on-intel-python2-when-importing-caffe/m-p/1107886#M576</link>
      <description>&lt;P&gt;Hi Ellak,&lt;/P&gt;

&lt;P&gt;Thanks for reporting this.&lt;/P&gt;

&lt;P&gt;I believe this may be linked to an issue in Pandas. &amp;nbsp;Can you reproduce the error by running the following command?&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;python -c 'import pandas'&lt;/PRE&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 14:02:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/illegal-instruction-on-intel-python2-when-importing-caffe/m-p/1107886#M576</guid>
      <dc:creator>Christophe_H_Intel2</dc:creator>
      <dc:date>2017-05-16T14:02:12Z</dc:date>
    </item>
    <item>
      <title>Hi Chris,</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/illegal-instruction-on-intel-python2-when-importing-caffe/m-p/1107887#M577</link>
      <description>&lt;P&gt;Hi Chris,&lt;/P&gt;

&lt;P&gt;thank you response. Pandas is imported fine (and works fine), for the moment I only got into problems with caffe. With bash:&lt;/P&gt;

&lt;P&gt;$&amp;nbsp;&lt;SPAN style="font-family:monospace"&gt;&lt;SPAN style="color: rgb(0, 0, 0);"&gt;/opt/intel/intelpython2/bin/python -c 'import caffe; print "ok"' ; echo $?&lt;/SPAN&gt;&lt;BR /&gt;
	Illegal instruction&lt;BR /&gt;
	132&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-family:monospace"&gt;$&amp;nbsp;&lt;SPAN style="color: rgb(0, 0, 0);"&gt;/opt/intel/intelpython2/bin/python -c 'import pandas; print "ok"' ; echo $?&lt;BR /&gt;
	ok &lt;/SPAN&gt;&lt;BR /&gt;
	0&lt;/SPAN&gt;&lt;BR /&gt;
	&lt;BR /&gt;
	Cheers,&lt;BR /&gt;
	-Ellak&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 18:00:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/illegal-instruction-on-intel-python2-when-importing-caffe/m-p/1107887#M577</guid>
      <dc:creator>Ellák_S_</dc:creator>
      <dc:date>2017-05-16T18:00:12Z</dc:date>
    </item>
    <item>
      <title>Hi Ellak,</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/illegal-instruction-on-intel-python2-when-importing-caffe/m-p/1107888#M578</link>
      <description>&lt;P&gt;Hi Ellak,&lt;/P&gt;

&lt;P&gt;Can you try importing pytables?&lt;/P&gt;

&lt;P&gt;$ python -c 'import tables'&lt;/P&gt;

&lt;P&gt;Thanks for your patience,&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 18:18:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/illegal-instruction-on-intel-python2-when-importing-caffe/m-p/1107888#M578</guid>
      <dc:creator>Christophe_H_Intel2</dc:creator>
      <dc:date>2017-05-16T18:18:05Z</dc:date>
    </item>
    <item>
      <title>Hi Chris,</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/illegal-instruction-on-intel-python2-when-importing-caffe/m-p/1107889#M579</link>
      <description>&lt;P&gt;Hi Chris,&lt;/P&gt;

&lt;P&gt;importing tables works fine (as well as numpy, scipy, h5py, theano).&lt;/P&gt;

&lt;P&gt;In&amp;nbsp;/opt/intel/intelpython2/bin there are some caffe related binaries, those crash as well:&lt;/P&gt;

&lt;P&gt;$&amp;nbsp;/opt/intel/intelpython2/bin/caffe ; echo $?&lt;BR /&gt;
	Illegal instruction&lt;BR /&gt;
	132&lt;/P&gt;

&lt;P&gt;Same for&amp;nbsp;/opt/intel/intelpython2/bin/classification .&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Everything runs fine on the newer i5-7500 (including python -c 'import caffe', the caffe binary etc), but not on the i5-3570. &amp;nbsp;Is there a chance some exclusive architecture specific optimization was invoked when compiling caffe, which works with new cpus like i5-7500, but not with somewhat older ones like i5-3570 ?&lt;/P&gt;

&lt;P&gt;Cheers,&lt;BR /&gt;
	-Ellak&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 18:42:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/illegal-instruction-on-intel-python2-when-importing-caffe/m-p/1107889#M579</guid>
      <dc:creator>Ellák_S_</dc:creator>
      <dc:date>2017-05-16T18:42:56Z</dc:date>
    </item>
    <item>
      <title>Hi Ellak,</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/illegal-instruction-on-intel-python2-when-importing-caffe/m-p/1107890#M580</link>
      <description>&lt;P&gt;Hi Ellak,&lt;/P&gt;

&lt;P&gt;Thanks for troubleshooting. &amp;nbsp;The optimizations done to Intel Caffe rely on the presence of AVX2. I'm working on a Caffe build that will work on all architectures that Intel Python supports so people will not encounter the illegal instruction error if they don't have AVX2, but AVX2 is still necessary to take advantage of the performance enhancements provided by Intel Caffe.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2017 19:01:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/illegal-instruction-on-intel-python2-when-importing-caffe/m-p/1107890#M580</guid>
      <dc:creator>Christophe_H_Intel2</dc:creator>
      <dc:date>2017-05-19T19:01:16Z</dc:date>
    </item>
    <item>
      <title>Hi Chris,</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/illegal-instruction-on-intel-python2-when-importing-caffe/m-p/1107891#M581</link>
      <description>&lt;P&gt;Hi Chris,&lt;/P&gt;

&lt;P&gt;I checked, and indeed the i5-3570 does not have avx2. I would greatly appreciate if you could provide a compiled caffe binary which works without avx2. I understand this means performace dip, but at least it would run on the avx2-less cpus.&lt;/P&gt;

&lt;P&gt;Thank you in advance!&lt;/P&gt;

&lt;P&gt;-Ellak&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2017 19:57:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/illegal-instruction-on-intel-python2-when-importing-caffe/m-p/1107891#M581</guid>
      <dc:creator>Ellák_S_</dc:creator>
      <dc:date>2017-05-19T19:57:14Z</dc:date>
    </item>
  </channel>
</rss>

