<?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 Runtime error in using MKL  l_mkl_2018.0.128 in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Runtime-error-in-using-MKL-l-mkl-2018-0-128/m-p/1149233#M26960</link>
    <description>&lt;P&gt;I am facing a runtime error while running a deep learning model on Xeon with Ubuntu 16.04 with gcc version&amp;nbsp;gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4.&lt;/P&gt;

&lt;P&gt;I1030 15:56:03.653736 115861 caffe.cpp:361] Performing Backward&lt;BR /&gt;
	*** Aborted at 1509404163 (unix time) try "date -d @1509404163" if you are using GNU date ***&lt;BR /&gt;
	PC: @&amp;nbsp; &amp;nbsp; &amp;nbsp;0x7f1c75d85c40 mkl_blas_avx2_xscopy&lt;BR /&gt;
	*** SIGSEGV (@0xc35fb0) received by PID 115861 (TID 0x7f1c716cbd80) from PID 12804016; stack trace: ***&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; @&amp;nbsp; &amp;nbsp; &amp;nbsp;0x7f1c90d2ecb0 (unknown)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; @&amp;nbsp; &amp;nbsp; &amp;nbsp;0x7f1c75d85c40 mkl_blas_avx2_xscopy&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; @&amp;nbsp; &amp;nbsp; &amp;nbsp;0x7f1c79702fc5 mkl_blas_scopy&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; @&amp;nbsp; &amp;nbsp; &amp;nbsp;0x7f1c7b2c4ac3 __kmp_invoke_microtask&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; @&amp;nbsp; &amp;nbsp; &amp;nbsp;0x7f1c7b293257 __kmp_invoke_task_func&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; @&amp;nbsp; &amp;nbsp; &amp;nbsp;0x7f1c7b2928d5 __kmp_launch_thread&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; @&amp;nbsp; &amp;nbsp; &amp;nbsp;0x7f1c7b2c4fa4 _INTERNAL_26_______src_z_Linux_util_cpp_16f8393c::__kmp_launch_worker()&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; @&amp;nbsp; &amp;nbsp; &amp;nbsp;0x7f1c8e914184 start_thread&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; @&amp;nbsp; &amp;nbsp; &amp;nbsp;0x7f1c90df237d (unknown)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; @&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x0 (unknown)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Is there a requirement on minimum gcc version ? Any ideas on what is going wrong?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 31 Oct 2017 00:24:01 GMT</pubDate>
    <dc:creator>Sujay_K_Intel1</dc:creator>
    <dc:date>2017-10-31T00:24:01Z</dc:date>
    <item>
      <title>Runtime error in using MKL  l_mkl_2018.0.128</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Runtime-error-in-using-MKL-l-mkl-2018-0-128/m-p/1149233#M26960</link>
      <description>&lt;P&gt;I am facing a runtime error while running a deep learning model on Xeon with Ubuntu 16.04 with gcc version&amp;nbsp;gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4.&lt;/P&gt;

&lt;P&gt;I1030 15:56:03.653736 115861 caffe.cpp:361] Performing Backward&lt;BR /&gt;
	*** Aborted at 1509404163 (unix time) try "date -d @1509404163" if you are using GNU date ***&lt;BR /&gt;
	PC: @&amp;nbsp; &amp;nbsp; &amp;nbsp;0x7f1c75d85c40 mkl_blas_avx2_xscopy&lt;BR /&gt;
	*** SIGSEGV (@0xc35fb0) received by PID 115861 (TID 0x7f1c716cbd80) from PID 12804016; stack trace: ***&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; @&amp;nbsp; &amp;nbsp; &amp;nbsp;0x7f1c90d2ecb0 (unknown)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; @&amp;nbsp; &amp;nbsp; &amp;nbsp;0x7f1c75d85c40 mkl_blas_avx2_xscopy&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; @&amp;nbsp; &amp;nbsp; &amp;nbsp;0x7f1c79702fc5 mkl_blas_scopy&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; @&amp;nbsp; &amp;nbsp; &amp;nbsp;0x7f1c7b2c4ac3 __kmp_invoke_microtask&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; @&amp;nbsp; &amp;nbsp; &amp;nbsp;0x7f1c7b293257 __kmp_invoke_task_func&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; @&amp;nbsp; &amp;nbsp; &amp;nbsp;0x7f1c7b2928d5 __kmp_launch_thread&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; @&amp;nbsp; &amp;nbsp; &amp;nbsp;0x7f1c7b2c4fa4 _INTERNAL_26_______src_z_Linux_util_cpp_16f8393c::__kmp_launch_worker()&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; @&amp;nbsp; &amp;nbsp; &amp;nbsp;0x7f1c8e914184 start_thread&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; @&amp;nbsp; &amp;nbsp; &amp;nbsp;0x7f1c90df237d (unknown)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; @&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0x0 (unknown)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Is there a requirement on minimum gcc version ? Any ideas on what is going wrong?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 00:24:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Runtime-error-in-using-MKL-l-mkl-2018-0-128/m-p/1149233#M26960</guid>
      <dc:creator>Sujay_K_Intel1</dc:creator>
      <dc:date>2017-10-31T00:24:01Z</dc:date>
    </item>
    <item>
      <title>Hi Sujay,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Runtime-error-in-using-MKL-l-mkl-2018-0-128/m-p/1149234#M26961</link>
      <description>&lt;P&gt;Hi Sujay,&lt;/P&gt;

&lt;P&gt;Could you please provide detail info about CPU, caffe version (Intel caffe?), and please also export MKL_VERBOSE=1 to have a check, and paste result here. Thanks.&lt;/P&gt;

&lt;P&gt;Best regards,&lt;BR /&gt;
	Fiona&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 01:09:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Runtime-error-in-using-MKL-l-mkl-2018-0-128/m-p/1149234#M26961</guid>
      <dc:creator>Zhen_Z_Intel</dc:creator>
      <dc:date>2017-10-31T01:09:41Z</dc:date>
    </item>
    <item>
      <title>CPU version : Intel(R) Xeon(R</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Runtime-error-in-using-MKL-l-mkl-2018-0-128/m-p/1149235#M26962</link>
      <description>&lt;P&gt;CPU version : Intel(R) Xeon(R) CPU E5-2687W v4 @ 3.00GHz&lt;/P&gt;

&lt;P&gt;Custom caffe :&amp;nbsp;https://github.com/onalbach/caffe-deep-shading&lt;/P&gt;

&lt;P&gt;I have changed the BLAS library to MKL in the config file and provided necessary include/library paths. Is there anything more that needs to be done?&lt;/P&gt;

&lt;P&gt;MKL_VERBOSE Intel(R) MKL 2018.0 Product build 20170720 for Intel(R) 64 architecture Intel(R) Advanced Vector Extensions 2 (Intel(R) AVX2) enabled processors, Lnx 3.00GHz lp64 intel_thread NMICDev:0&lt;BR /&gt;
	MKL_VERBOSE DSCAL(64,0x7fff87de4620,0x1b8bf80,1) 3.41ms CNR:OFF Dyn:1 FastMM:1 TID:0&amp;nbsp; NThr:24 WDiv:HOST:+0.000&lt;BR /&gt;
	MKL_VERBOSE SGEMM(N,N,65536,8,50,0x7fff87de4ae8,0x7fc01e382010,65536,0x1b96dc0,50,0x7fff87de4af0,0x7fc01f003010,65536) 26.74ms CNR:OFF Dyn:1 FastMM:1 TID:0&amp;nbsp; NThr:24 WDiv:HOST:+0.000&lt;BR /&gt;
	MKL_VERBOSE SGEMM(N,N,65536,8,1,0x7fff87de4af8,0x7fc03c2d5010,65536,0x1b8cdc0,1,0x7fff87de4b00,0x7fc01f003010,65536) 485.24us CNR:OFF Dyn:1 FastMM:1 TID:0&amp;nbsp; NThr:24 WDiv:HOST:+0.000&lt;BR /&gt;
	MKL_VERBOSE SGEMM(N,N,65536,1,200,0x7fff87de4ae8,0x7fbfbcdff010,65536,0x1b79c80,200,0x7fff87de4af0,0x7fc01c039010,65536) 2.22ms CNR:OFF Dyn:1 FastMM:1 TID:0&amp;nbsp; NThr:24 WDiv:HOST:+0.000&lt;BR /&gt;
	MKL_VERBOSE SGEMM(N,N,65536,1,1,0x7fff87de4af8,0x7fc03c294010,65536,0x1b7a1f0,1,0x7fff87de4b00,0x7fc01c039010,65536) 815.90us CNR:OFF Dyn:1 FastMM:1 TID:0&amp;nbsp; NThr:24 WDiv:HOST:+0.000&lt;BR /&gt;
	MKL_VERBOSE SCOPY(1024,0x7fc00c02d010,1,0x7fc00c02d010,1) 20.30us CNR:OFF Dyn:1 FastMM:1 TID:0&amp;nbsp; NThr:24 WDiv:HOST:+0.000&lt;BR /&gt;
	MKL_VERBOSE SSCAL(1024,0x7fff87de4aa8,0x7fc00c02d010,1) 14.06us CNR:OFF Dyn:1 FastMM:1 TID:0&amp;nbsp; NThr:24 WDiv:HOST:+0.000&lt;BR /&gt;
	MKL_VERBOSE SCOPY(1024,0x1b9a280,1,0x7fc00c02d010,1) 773ns CNR:OFF Dyn:1 FastMM:1 TID:0&amp;nbsp; NThr:24 WDiv:HOST:+0.000&lt;BR /&gt;
	MKL_VERBOSE SSCAL(1024,0x7fff87de4aa8,0x7fc00c02d010,1) 389ns CNR:OFF Dyn:1 FastMM:1 TID:0&amp;nbsp; NThr:24 WDiv:HOST:+0.000&lt;BR /&gt;
	MKL_VERBOSE SDOT(1024,0x1bf7d00,1,0x1bf8d10,1) 14.50us CNR:OFF Dyn:1 FastMM:1 TID:0&amp;nbsp; NThr:24 WDiv:HOST:+0.000&lt;BR /&gt;
	MKL_VERBOSE SDOT(1,0x1b2aa00,1,0x1b87c70,1) 905ns CNR:OFF Dyn:1 FastMM:1 TID:0&amp;nbsp; NThr:24 WDiv:HOST:+0.000&lt;/P&gt;

&lt;P&gt;Let me know if you need more information.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 15:10:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Runtime-error-in-using-MKL-l-mkl-2018-0-128/m-p/1149235#M26962</guid>
      <dc:creator>Sujay_K_Intel1</dc:creator>
      <dc:date>2017-10-31T15:10:45Z</dc:date>
    </item>
    <item>
      <title>Hi Sujay,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Runtime-error-in-using-MKL-l-mkl-2018-0-128/m-p/1149236#M26963</link>
      <description>&lt;P&gt;Hi Sujay,&lt;/P&gt;

&lt;P&gt;According to you provided MKL verbose info, the MKL routines are already used successfully. I suppose, the problem may happen on some place when Caffe API calling scopy function with invalid attributes/pointer. Please check with your caffe program if you set any invalid/wrong attributes for some caffe APIs, or use GDB to debug finding the stack which processed by caffe lead to this runtime error.&lt;/P&gt;

&lt;P&gt;Best regards,&lt;BR /&gt;
	Fiona&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 05:41:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Runtime-error-in-using-MKL-l-mkl-2018-0-128/m-p/1149236#M26963</guid>
      <dc:creator>Zhen_Z_Intel</dc:creator>
      <dc:date>2017-11-02T05:41:55Z</dc:date>
    </item>
  </channel>
</rss>

