<?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 Re: MKL examples segmentation fault in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-examples-segmentation-fault/m-p/1217645#M30157</link>
    <description>&lt;P&gt;I was able to get help from other person within my organization.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The solution was as simple as changing the LIBOMPTARGET_PLUGIN. The L0 Plugin is broken and it does not work.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Taken from my conversation:&lt;/P&gt;
&lt;P&gt;when I looked at the &lt;FONT face="andale mono,times" color="#FF9900"&gt;LIBOMPTARGET_DEBUG&lt;/FONT&gt; trace you put on the forum, it looks like it’s using L0 backend&amp;nbsp;&lt;FONT face="andale mono,times" color="#FF9900"&gt;Libomptarget --&amp;gt; Loading library 'libomptarget.rtl.level0.so'...&lt;/FONT&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV data-qa="message_content"&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV data-qa="block-kit-renderer"&gt;
&lt;DIV&gt;
&lt;DIV dir="auto"&gt;
&lt;DIV&gt;so it’s worth a shot to&amp;nbsp;&lt;FONT face="andale mono,times" color="#FF9900"&gt;&lt;EM&gt;export LIBOMPTARGET_PLUGIN=OPENCL&lt;/EM&gt;&lt;/FONT&gt;&amp;nbsp;on your system&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;That last part made the trick&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Wed, 14 Oct 2020 14:48:25 GMT</pubDate>
    <dc:creator>Jose_M_Monsalve_Diaz</dc:creator>
    <dc:date>2020-10-14T14:48:25Z</dc:date>
    <item>
      <title>MKL examples segmentation fault</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-examples-segmentation-fault/m-p/1213659#M30121</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to run simple examples of intel MKL for the integrated gpu using OpenMP. However I am running with some problems.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Machine:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Dell&amp;nbsp;Precision 3630 Tower&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz&lt;/LI&gt;
&lt;LI&gt;2 x 16 GB memory for a total of 32GB DDR4 2666MHz&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Ubuntu 20.04, kernel 5.4.0-48-generic&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Installed drivers and packages:&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;intel-gpu-tools/focal,now 1.25-2 amd64 [installed]
intel-hpckit-getting-started/all,all,now 2021.1-2205.beta09 all [installed,automatic]
intel-hpckit/all,now 2021.1-2205.beta09 amd64 [installed]
intel-level-zero-gpu/focal,now 1.0.17906+i374~u20.04 amd64 [installed]
intel-media-va-driver-non-free/focal,now 20.2.0+i374~u20.04 amd64 [installed]
intel-microcode/focal-updates,focal-security,now 3.20200609.0ubuntu0.20.04.2 amd64 [installed,automatic]
intel-oneapi-clck-2021.1-beta09/all,now 2021.1-760.beta09 amd64 [installed,automatic]
intel-oneapi-clck/all,now 2021.1-760.beta09 amd64 [installed,automatic]
intel-oneapi-common-licensing-2021.1-beta09/all,all,now 2021.1-541.beta09 all [installed,automatic]
intel-oneapi-common-licensing/all,all,now 2021.1-541.beta09 all [installed,automatic]
intel-oneapi-common-vars/all,all,now 2021.1-541.beta09 all [installed,automatic]
intel-oneapi-compiler-shared-2021.1-beta09/all,now 2021.1-2198.beta09 amd64 [installed,automatic]
intel-oneapi-compiler-shared-common-2021.1-beta09/all,all,now 2021.1-2198.beta09 all [installed,automatic]
intel-oneapi-compiler-shared-common-runtime-2021.1-beta09/all,all,now 2021.1-2198.beta09 all [installed,automatic]
intel-oneapi-compiler-shared-runtime-2021.1-beta09/all,now 2021.1-2198.beta09 amd64 [installed,automatic]
intel-oneapi-condaindex/all,now 2021.1-490.beta06 amd64 [installed,automatic]
intel-oneapi-dev-utilities-2021.1-beta09/all,now 2021.1-2165.beta09 amd64 [installed,automatic]
intel-oneapi-dev-utilities-eclipse-cfg/all,all,now 2021.1-2165.beta09 all [installed,automatic]
intel-oneapi-dev-utilities/all,now 2021.1-2165.beta09 amd64 [installed,automatic]
intel-oneapi-dpcpp-cpp-2021.1-beta09/all,now 2021.1-2198.beta09 amd64 [installed,automatic]
intel-oneapi-dpcpp-cpp-compiler-common-2021.1-beta09/all,all,now 2021.1-2198.beta09 all [installed,automatic]
intel-oneapi-dpcpp-cpp-compiler-pro-2021.1-beta09/all,now 2021.1-2198.beta09 amd64 [installed,automatic]
intel-oneapi-dpcpp-cpp-compiler-pro-common-2021.1-beta09/all,all,now 2021.1-2198.beta09 all [installed,automatic]
intel-oneapi-dpcpp-cpp-compiler-pro-eclipse-cfg/all,all,now 2021.1-2198.beta09 all [installed,automatic]
intel-oneapi-dpcpp-cpp-compiler-pro/all,now 2021.1-2198.beta09 amd64 [installed,automatic]
intel-oneapi-dpcpp-cpp-compiler-runtime-2021.1-beta09/all,now 2021.1-2198.beta09 amd64 [installed,automatic]
intel-oneapi-dpcpp-cpp-pro-fortran-compiler-shared-common-2021.1-beta09/all,all,now 2021.1-2198.beta09 all [installed,automatic]
intel-oneapi-dpcpp-cpp-pro-fortran-compiler-shared-runtime-2021.1-beta09/all,now 2021.1-2198.beta09 amd64 [installed,automatic]
intel-oneapi-ifort-2021.1-beta09/all,now 2021.1-2198.beta09 amd64 [installed,automatic]
intel-oneapi-ifort-common-2021.1-beta09/all,all,now 2021.1-2198.beta09 all [installed,automatic]
intel-oneapi-ifort-runtime-2021.1-beta09/all,now 2021.1-2198.beta09 amd64 [installed,automatic]
intel-oneapi-ifort/all,now 2021.1-2198.beta09 amd64 [installed,automatic]
intel-oneapi-inspector/all,now 2021.1-319.beta09 amd64 [installed,automatic]
intel-oneapi-itac-2021.1-beta09/all,now 2021.1-376.beta09 amd64 [installed,automatic]
intel-oneapi-itac/all,now 2021.1-376.beta09 amd64 [installed,automatic]
intel-oneapi-mkl-2021.1-beta09/all,now 2021.1-2089.beta09 amd64 [installed,automatic]
intel-oneapi-mkl-common-2021.1-beta09/all,all,now 2021.1-2089.beta09 all [installed,automatic]
intel-oneapi-mkl-common-devel-2021.1-beta09/all,all,now 2021.1-2089.beta09 all [installed,automatic]
intel-oneapi-mkl-devel-2021.1-beta09/all,now 2021.1-2089.beta09 amd64 [installed,automatic]
intel-oneapi-mkl-devel/all,now 2021.1-2089.beta09 amd64 [installed]
intel-oneapi-mkl/all,now 2021.1-2089.beta09 amd64 [installed]
intel-oneapi-mpi-2021.1-beta09/all,now 2021.1-2099.beta09 amd64 [installed,automatic]
intel-oneapi-mpi-devel-2021.1-beta09/all,now 2021.1-2099.beta09 amd64 [installed,automatic]
intel-oneapi-mpi-devel/all,now 2021.1-2099.beta09 amd64 [installed,automatic]
intel-oneapi-mpi/all,now 2021.1-2099.beta09 amd64 [installed,automatic]
intel-oneapi-openmp-2021.1-beta09/all,now 2021.1-2198.beta09 amd64 [installed,automatic]
intel-oneapi-openmp/all,now 2021.1-2198.beta09 amd64 [installed,automatic]
intel-oneapi-tbb-2021.1-beta09/all,now 2021.1-2193.beta09 amd64 [installed,automatic]
intel-oneapi-tbb-common-2021.1-beta09/all,all,now 2021.1-2193.beta09 all [installed,automatic]
intel-oneapi-tbb-common-devel-2021.1-beta09/all,all,now 2021.1-2193.beta09 all [installed,automatic]
intel-oneapi-tbb-devel-2021.1-beta09/all,now 2021.1-2193.beta09 amd64 [installed,automatic]
intel-oneapi-tbb-devel/all,now 2021.1-2193.beta09 amd64 [installed,automatic]
intel-oneapi-tbb/all,now 2021.1-2193.beta09 amd64 [installed,automatic]
intel-opencl-icd/focal,now 20.37.17906+i374~u20.04 amd64 [installed]
libdrm-intel1/focal,now 2.4.101+i374~u20.04 amd64 [installed,automatic]
level-zero/focal,now 1.0.0+i374~u20.04 amd64 [installed]&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;Everything was installed through package manager&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;The code:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;It's an example code so there is not much to it. I've simplified it a little and it still fails. I've tried several other example codes with the same result. Even sycl examples fail.&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;...

    float *a, *b, *c, alpha, beta;
    MKL_INT m, n, k, lda, ldb, ldc, i, j;
    MKL_INT sizea, sizeb, sizec;
    
    alpha = 1.0;
    beta = 1.0;

    m = 10;
    n = 10;
    k = 10;

    lda = m;
    ldb = k;
    ldc = m;

    sizea = lda * k;
    sizeb = ldb * n;
    sizec = ldc * n;
    
    // allocate matrices
    a = (float *)mkl_malloc((lda * k) * sizeof(float), 64);
    b = (float *)mkl_malloc(ldb * n * sizeof(float), 64);
    c = (float *)mkl_malloc(ldc * n * sizeof(float), 64);

    if ((a == NULL) || (b == NULL) || (c == NULL)) {
        printf("Cannot allocate matrices\n");
        return 1;
    }

    // initialize matrices
    init_single_array(lda * k, a, 1);
    init_single_array(ldb * n, b, 1);

#pragma omp target map(c[0:sizec])
    {
        for (i = 0; i &amp;lt; sizec; i++) {
            c[i] = 42;
        }
    }
    
    MKL_INT bound_m = (m &amp;gt; 10) ? 10 : m;
    MKL_INT bound_n = (n &amp;gt; 10) ? 10 : n;
    
#pragma omp target data map(to:a[0:sizea],b[0:sizeb]) map(tofrom:c[0:sizec]) device(dnum)
    {

        // run gemm on gpu, use standard oneMKL interface within a variant dispatch construct
#pragma omp target variant dispatch device(dnum) use_device_ptr(a, b, c)
        {
            sgemm("N", "N", &amp;amp;m, &amp;amp;n, &amp;amp;k, &amp;amp;alpha, a, &amp;amp;lda, b, &amp;amp;ldb, &amp;amp;beta, c, &amp;amp;ldc);
        }
        
    }
...&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;The compilation command&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Again all resulting from the makefile of the examples. I'm just expanding it here to add the &lt;EM&gt;-g&lt;/EM&gt;&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;&amp;gt; icx -c -g -DMKL_ILP64 -m64 -fiopenmp -fopenmp-targets=spir64 \
  -mllvm -vpo-paropt-use-raw-dev-ptr \
  -I/opt/intel/oneapi/mkl/2021.1-beta09/include \
  -Icommon blas/sgemm.c \
  -o _results/intel64_ilp64_sequential_so/blas/sgemm.o

&amp;gt; icx -g _results/intel64_ilp64_sequential_so/blas/sgemm.o  \
  -fiopenmp -fopenmp-targets=spir64 -mllvm -vpo-paropt-use-raw-dev-ptr \
  -L"/opt/intel/oneapi/mkl/2021.1-beta09/lib/intel64" \
  -lmkl_intel_ilp64 -lmkl_sequential -lmkl_core  -lOpenCL \
  -lpthread -ldl -lm -o _results/intel64_ilp64_sequential_so/blas/sgemm.out

&amp;gt; LD_LIBRARY_PATH="/opt/intel/oneapi/mkl/2021.1-beta09/lib/intel64":\
    /opt/intel/oneapi/tbb/2021.1-beta09/env/../lib/intel64/gcc4.8:\
    /opt/intel/oneapi/mkl/2021.1-beta09/lib/intel64:\
    /opt/intel/oneapi/compiler/2021.1-beta09/linux/lib:\
    /opt/intel/oneapi/compiler/2021.1-beta09/linux/lib/x64:\
    /opt/intel/oneapi/compiler/2021.1-beta09/linux/lib/emu:\
    /opt/intel/oneapi/compiler/2021.1-beta09/linux/compiler/lib/intel64_lin:\
    /opt/intel/oneapi/compiler/2021.1-beta09/linux/compiler/lib:\
    /usr/local/cuda/lib64: \
    :"/opt/intel/oneapi/mkl/2021.1-beta09/../compiler/lib/intel64" \
    _results/intel64_ilp64_sequential_so/blas/sgemm.out&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;The stacktrace:&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;#0 0x0000000000000000 in ?? ()
#1 0x00007fffedb1c8ae in MKL_CL_Create_Handle () from /opt/intel/oneapi/mkl/2021.1-beta09/lib/intel64/libmkl_core.so
#2 0x00007fffedb36ba9 in mkl_cblas_sgemm_cl_offload_ilp64 () from /opt/intel/oneapi/mkl/2021.1-beta09/lib/intel64/libmkl_core.so
#3 0x0000000000401fbf in main.DIR.OMP.TARGET.DATA.629.split () at blas/sgemm.c:84
#4 0x0000000000401879 in main () at blas/sgemm.c:78&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Last thing happening in strace&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Just in case this is helpful&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;...
mprotect(0x7ff0b7fe9000, 28672, PROT_READ) = 0
openat(AT_FDCWD, "/opt/intel/oneapi/mkl/2021.1-beta09/lib/intel64/libmkl_vml_avx2.so", O_RDONLY|O_CLOEXEC) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0&amp;gt;\0\1\0\0\0`%\5\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0755, st_size=14731352, ...}) = 0
mmap(NULL, 16379656, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7ff0bcf9d000
mprotect(0x7ff0bdd1e000, 2097152, PROT_NONE) = 0
mmap(0x7ff0bdf1e000, 118784, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0xd81000) = 0x7ff0bdf1e000
mmap(0x7ff0bdf3b000, 3848, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff0bdf3b000
close(4)                                = 0
mprotect(0x7ff0bdf1e000, 16384, PROT_READ) = 0
ioctl(3, DRM_IOCTL_I915_GEM_USERPTR, 0x7ffcf899eca0) = 0
ioctl(3, DRM_IOCTL_I915_GEM_USERPTR, 0x7ffcf899eca0) = 0
ioctl(3, DRM_IOCTL_I915_GEM_USERPTR, 0x7ffcf899eca0) = 0
ioctl(3, DRM_IOCTL_I915_GEM_USERPTR, 0x7ffcf899ef80) = 0
ioctl(3, DRM_IOCTL_I915_GEM_USERPTR, 0x7ffcf899ef80) = 0
openat(AT_FDCWD, "/opt/intel/oneapi/tbb/2021.1-beta09/env/../lib/intel64/gcc4.8/libOpenCL.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/opt/intel/oneapi/mkl/2021.1-beta09/lib/intel64/libOpenCL.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/opt/intel/oneapi/compiler/2021.1-beta09/linux/lib/libOpenCL.so", O_RDONLY|O_CLOEXEC) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0&amp;gt;\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0755, st_size=39848, ...}) = 0
close(4)                                = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;LIBOMPTARGET_DEBUG=1&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;Libomptarget --&amp;gt; TargetOffloadPolicy = DEFAULT
Libomptarget --&amp;gt; Initialized OMPT
Libomptarget --&amp;gt; Loading RTLs...
Libomptarget --&amp;gt; Loading library 'libomptarget.rtl.level0.so'...
Target LEVEL0 RTL --&amp;gt; Target device type is set to GPU
Target LEVEL0 RTL --&amp;gt; omp_get_thread_limit() returned 2147483647
Target LEVEL0 RTL --&amp;gt; omp_get_max_teams() returned 0
Libomptarget --&amp;gt; Successfully loaded library 'libomptarget.rtl.level0.so'!
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_data_submit_nowait
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_data_retrieve_nowait
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_manifest_data_for_region
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_data_alloc_base
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_data_alloc_user
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_create_buffer
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_release_buffer
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_run_target_team_nd_region
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_run_target_region_nowait
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_run_target_team_region_nowait
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_run_target_team_nd_region_nowait
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_create_offload_queue
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_release_offload_queue
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_get_platform_handle
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_get_device_handle
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_data_alloc_managed
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_data_delete_managed
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_is_managed_ptr
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_data_alloc_explicit
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_init_ompt
Target LEVEL0 RTL --&amp;gt; Looking for Level0 devices...
Target LEVEL0 RTL --&amp;gt; Initialized L0, API 65536
Target LEVEL0 RTL --&amp;gt; Found 1 driver(s)!
Target LEVEL0 RTL --&amp;gt; Found a GPU device, Name = Intel(R) Gen9
Target LEVEL0 RTL --&amp;gt; Found 1 available devices.
Target LEVEL0 RTL --&amp;gt; Initialized OMPT
Libomptarget --&amp;gt; Registering RTL libomptarget.rtl.level0.so supporting 1 devices!
Libomptarget --&amp;gt; Loading library 'libomptarget.rtl.opencl.so'...
Target OPENCL RTL --&amp;gt; omp_get_thread_limit() returned 2147483647
Target OPENCL RTL --&amp;gt; omp_get_max_teams() returned 0
Target OPENCL RTL --&amp;gt; Target device type is set to GPU
Libomptarget --&amp;gt; Successfully loaded library 'libomptarget.rtl.opencl.so'!
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_data_submit_nowait
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_data_retrieve_nowait
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_manifest_data_for_region
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_data_alloc_base
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_data_alloc_user
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_create_buffer
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_get_device_name
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_release_buffer
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_run_target_team_nd_region
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_run_target_region_nowait
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_run_target_team_region_nowait
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_run_target_team_nd_region_nowait
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_create_offload_queue
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_release_offload_queue
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_get_platform_handle
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_data_alloc_managed
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_data_delete_managed
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_is_managed_ptr
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_data_alloc_explicit
Libomptarget --&amp;gt; Optional interface: __tgt_rtl_init_ompt
Target OPENCL RTL --&amp;gt; Start initializing OpenCL
Target OPENCL RTL --&amp;gt; Platform OpenCL 2.1  has 1 Devices
Target OPENCL RTL --&amp;gt; Device 0: Intel(R) Gen9 HD Graphics NEO
Target OPENCL RTL --&amp;gt; Number of execution units on the device is 24
Target OPENCL RTL --&amp;gt; Maximum work group size for the device is 256
Target OPENCL RTL --&amp;gt; Addressing mode is 64 bit
Target OPENCL RTL --&amp;gt; Device local mem size: 65536
Target OPENCL RTL --&amp;gt; Initialized OMPT
Libomptarget --&amp;gt; Registering RTL libomptarget.rtl.opencl.so supporting 1 devices!
Libomptarget --&amp;gt; Loading library 'libomptarget.rtl.ve.so'...
Libomptarget --&amp;gt; Unable to load library 'libomptarget.rtl.ve.so': libomptarget.rtl.ve.so: cannot open shared object file: No such file or directory!
Libomptarget --&amp;gt; Loading library 'libomptarget.rtl.ppc64.so'...
Libomptarget --&amp;gt; Unable to load library 'libomptarget.rtl.ppc64.so': libomptarget.rtl.ppc64.so: cannot open shared object file: No such file or directory!
Libomptarget --&amp;gt; Loading library 'libomptarget.rtl.x86_64.so'...
Libomptarget --&amp;gt; Unable to load library 'libomptarget.rtl.x86_64.so': libffi.so.6: cannot open shared object file: No such file or directory!
Libomptarget --&amp;gt; Loading library 'libomptarget.rtl.cuda.so'...
Libomptarget --&amp;gt; Unable to load library 'libomptarget.rtl.cuda.so': libomptarget.rtl.cuda.so: cannot open shared object file: No such file or directory!
Libomptarget --&amp;gt; Loading library 'libomptarget.rtl.aarch64.so'...
Libomptarget --&amp;gt; Unable to load library 'libomptarget.rtl.aarch64.so': libomptarget.rtl.aarch64.so: cannot open shared object file: No such file or directory!
Libomptarget --&amp;gt; RTLs loaded!
Target LEVEL0 RTL --&amp;gt; Target binary is VALID
Libomptarget --&amp;gt; Image 0x000000000040b960 is compatible with RTL libomptarget.rtl.level0.so!
Libomptarget --&amp;gt; RTL 0x0000000001ac6150 has index 0!
Libomptarget --&amp;gt; Registering image 0x000000000040b960 with RTL libomptarget.rtl.level0.so!
Libomptarget --&amp;gt; Done registering entries!
Libomptarget --&amp;gt; Call to omp_get_num_devices returning 1
Libomptarget --&amp;gt; Default TARGET OFFLOAD policy is now mandatory (devices were found)
Libomptarget --&amp;gt; Entering target region with entry point 0x000000000040b186 and device Id -1
Libomptarget --&amp;gt; Checking whether device 0 is ready.
Libomptarget --&amp;gt; Is the device 0 (local ID 0) initialized? 0
Target LEVEL0 RTL --&amp;gt; Initialize requires flags to 1
Target LEVEL0 RTL --&amp;gt; Initialized Level0 device 0
Libomptarget --&amp;gt; Device 0 is ready to use.
Target LEVEL0 RTL --&amp;gt; Device 0: Loading binary from 0x000000000040b960
Target LEVEL0 RTL --&amp;gt; Expecting to have 1 entries defined
Target LEVEL0 RTL --&amp;gt; Module compilation options: -cl-std=CL2.0 
Target LEVEL0 RTL --&amp;gt; Created a module for libomp-fallback-cassert.spv
Target LEVEL0 RTL --&amp;gt; Created a module for libomp-fallback-cmath.spv
Target LEVEL0 RTL --&amp;gt; Created a module for libomp-fallback-cmath-fp64.spv
Target LEVEL0 RTL --&amp;gt; Created a module for libomp-fallback-complex.spv
Target LEVEL0 RTL --&amp;gt; Created a module for libomp-fallback-complex-fp64.spv
Target LEVEL0 RTL --&amp;gt; Allocated a shared memory object 0x00000000022d9000
Libomptarget --&amp;gt; Entry  0: Base=0x0000000001fe3640, Begin=0x0000000001fe3640, Size=400, Type=0x23
Libomptarget --&amp;gt; Entry  1: Base=0x00007fffeed03a90, Begin=0x00007fffeed03a90, Size=8, Type=0x21
Libomptarget --&amp;gt; Entry  2: Base=0x00007fffeed03a48, Begin=0x00007fffeed03a48, Size=8, Type=0x21
Libomptarget --&amp;gt; Looking up mapping(HstPtrBegin=0x0000000001fe3640, Size=400)...
Target LEVEL0 RTL --&amp;gt; Allocated a shared memory object 0x00000000022d9000
Target LEVEL0 RTL --&amp;gt; Allocated target memory 0x00000000022d9000 (Base: 0x00000000022d9000, Size: 65536) for host ptr 0x0000000001fe3640
Libomptarget --&amp;gt; Creating new map entry: HstBase=0x0000000001fe3640, HstBegin=0x0000000001fe3640, HstEnd=0x0000000001fe37d0, TgtBegin=0x00000000022d9000
Libomptarget --&amp;gt; There are 400 bytes allocated at target address 0x00000000022d9000 - is new
Libomptarget --&amp;gt; Moving 400 bytes (hst:0x0000000001fe3640) -&amp;gt; (tgt:0x00000000022d9000)
Target LEVEL0 RTL --&amp;gt; Copied 400 bytes (hst:0x0000000001fe3640) -&amp;gt; (tgt:0x00000000022d9000)
Libomptarget --&amp;gt; Looking up mapping(HstPtrBegin=0x00007fffeed03a90, Size=8)...
Target LEVEL0 RTL --&amp;gt; Allocated a shared memory object 0x0000000001fe9000
Target LEVEL0 RTL --&amp;gt; Allocated target memory 0x0000000001fe9000 (Base: 0x0000000001fe9000, Size: 65536) for host ptr 0x00007fffeed03a90
Libomptarget --&amp;gt; Creating new map entry: HstBase=0x00007fffeed03a90, HstBegin=0x00007fffeed03a90, HstEnd=0x00007fffeed03a98, TgtBegin=0x0000000001fe9000
Libomptarget --&amp;gt; There are 8 bytes allocated at target address 0x0000000001fe9000 - is new
Libomptarget --&amp;gt; Moving 8 bytes (hst:0x00007fffeed03a90) -&amp;gt; (tgt:0x0000000001fe9000)
Target LEVEL0 RTL --&amp;gt; Copied 8 bytes (hst:0x00007fffeed03a90) -&amp;gt; (tgt:0x0000000001fe9000)
Libomptarget --&amp;gt; Looking up mapping(HstPtrBegin=0x00007fffeed03a48, Size=8)...
Target LEVEL0 RTL --&amp;gt; Allocated a shared memory object 0x0000000002a95000
Target LEVEL0 RTL --&amp;gt; Allocated target memory 0x0000000002a95000 (Base: 0x0000000002a95000, Size: 65536) for host ptr 0x00007fffeed03a48
Libomptarget --&amp;gt; Creating new map entry: HstBase=0x00007fffeed03a48, HstBegin=0x00007fffeed03a48, HstEnd=0x00007fffeed03a50, TgtBegin=0x0000000002a95000
Libomptarget --&amp;gt; There are 8 bytes allocated at target address 0x0000000002a95000 - is new
Libomptarget --&amp;gt; Moving 8 bytes (hst:0x00007fffeed03a48) -&amp;gt; (tgt:0x0000000002a95000)
Target LEVEL0 RTL --&amp;gt; Copied 8 bytes (hst:0x00007fffeed03a48) -&amp;gt; (tgt:0x0000000002a95000)
Libomptarget --&amp;gt; Looking up mapping(HstPtrBegin=0x0000000001fe3640, Size=400)...
Libomptarget --&amp;gt; Mapping exists with HstPtrBegin=0x0000000001fe3640, TgtPtrBegin=0x00000000022d9000, Size=400, RefCount=1
Libomptarget --&amp;gt; Obtained target argument (Begin: 0x00000000022d9000, Offset: 0) from host pointer 0x0000000001fe3640
Libomptarget --&amp;gt; Looking up mapping(HstPtrBegin=0x00007fffeed03a90, Size=8)...
Libomptarget --&amp;gt; Mapping exists with HstPtrBegin=0x00007fffeed03a90, TgtPtrBegin=0x0000000001fe9000, Size=8, RefCount=1
Libomptarget --&amp;gt; Obtained target argument (Begin: 0x0000000001fe9000, Offset: 0) from host pointer 0x00007fffeed03a90
Libomptarget --&amp;gt; Looking up mapping(HstPtrBegin=0x00007fffeed03a48, Size=8)...
Libomptarget --&amp;gt; Mapping exists with HstPtrBegin=0x00007fffeed03a48, TgtPtrBegin=0x0000000002a95000, Size=8, RefCount=1
Libomptarget --&amp;gt; Obtained target argument (Begin: 0x0000000002a95000, Offset: 0) from host pointer 0x00007fffeed03a48
Libomptarget --&amp;gt; Launching target execution __omp_offloading_801_1a056af__Z4main_l64 with pointer 0x00000000027c4940 (index=0).
Libomptarget --&amp;gt; Manifesting used target pointers:
Target LEVEL0 RTL --&amp;gt; Executing a kernel 0x00000000027c4940...
Target LEVEL0 RTL --&amp;gt; Kernel argument 0 (value: 0x00000000022d9000) was set successfully
Target LEVEL0 RTL --&amp;gt; Kernel argument 1 (value: 0x0000000001fe9000) was set successfully
Target LEVEL0 RTL --&amp;gt; Kernel argument 2 (value: 0x0000000002a95000) was set successfully
Target LEVEL0 RTL --&amp;gt; Assumed kernel SIMD width is 32
Target LEVEL0 RTL --&amp;gt; Max group count is set to 1 (num_teams clause or no teams construct)
Target LEVEL0 RTL --&amp;gt; Group sizes = {32, 1, 1}
Target LEVEL0 RTL --&amp;gt; Group counts = {1, 1, 1}
Target LEVEL0 RTL --&amp;gt; Executed a kernel 0x00000000027c4940
Libomptarget --&amp;gt; Looking up mapping(HstPtrBegin=0x00007fffeed03a48, Size=8)...
Libomptarget --&amp;gt; Mapping exists with HstPtrBegin=0x00007fffeed03a48, TgtPtrBegin=0x0000000002a95000, Size=8, updated RefCount=1
Libomptarget --&amp;gt; There are 8 bytes allocated at target address 0x0000000002a95000 - is last
Libomptarget --&amp;gt; Looking up mapping(HstPtrBegin=0x00007fffeed03a90, Size=8)...
Libomptarget --&amp;gt; Mapping exists with HstPtrBegin=0x00007fffeed03a90, TgtPtrBegin=0x0000000001fe9000, Size=8, updated RefCount=1
Libomptarget --&amp;gt; There are 8 bytes allocated at target address 0x0000000001fe9000 - is last
Libomptarget --&amp;gt; Looking up mapping(HstPtrBegin=0x0000000001fe3640, Size=400)...
Libomptarget --&amp;gt; Mapping exists with HstPtrBegin=0x0000000001fe3640, TgtPtrBegin=0x00000000022d9000, Size=400, updated RefCount=1
Libomptarget --&amp;gt; There are 400 bytes allocated at target address 0x00000000022d9000 - is last
Libomptarget --&amp;gt; Moving 400 bytes (tgt:0x00000000022d9000) -&amp;gt; (hst:0x0000000001fe3640)
Target LEVEL0 RTL --&amp;gt; Copied 400 bytes (tgt:0x00000000022d9000) -&amp;gt; (hst:0x0000000001fe3640)
Libomptarget --&amp;gt; Looking up mapping(HstPtrBegin=0x00007fffeed03a48, Size=8)...
Libomptarget --&amp;gt; Deleting tgt data 0x0000000002a95000 of size 8
Target LEVEL0 RTL --&amp;gt; Deleted device memory 0x0000000002a95000 (Base: 0x0000000002a95000, Size: 65536)
Libomptarget --&amp;gt; Removing mapping with HstPtrBegin=0x00007fffeed03a48, TgtPtrBegin=0x0000000002a95000, Size=8
Libomptarget --&amp;gt; Looking up mapping(HstPtrBegin=0x00007fffeed03a90, Size=8)...
Libomptarget --&amp;gt; Deleting tgt data 0x0000000001fe9000 of size 8
Target LEVEL0 RTL --&amp;gt; Deleted device memory 0x0000000001fe9000 (Base: 0x0000000001fe9000, Size: 65536)
Libomptarget --&amp;gt; Removing mapping with HstPtrBegin=0x00007fffeed03a90, TgtPtrBegin=0x0000000001fe9000, Size=8
Libomptarget --&amp;gt; Looking up mapping(HstPtrBegin=0x0000000001fe3640, Size=400)...
Libomptarget --&amp;gt; Deleting tgt data 0x00000000022d9000 of size 400
Target LEVEL0 RTL --&amp;gt; Deleted device memory 0x00000000022d9000 (Base: 0x00000000022d9000, Size: 65536)
Libomptarget --&amp;gt; Removing mapping with HstPtrBegin=0x0000000001fe3640, TgtPtrBegin=0x00000000022d9000, Size=400
Libomptarget --&amp;gt; Entering data begin region for device 0 with 3 mappings
Libomptarget --&amp;gt; Checking whether device 0 is ready.
Libomptarget --&amp;gt; Is the device 0 (local ID 0) initialized? 1
Libomptarget --&amp;gt; Device 0 is ready to use.
Libomptarget --&amp;gt; Entry  0: Base=0x0000000001e5c480, Begin=0x0000000001e5c480, Size=400, Type=0x21
Libomptarget --&amp;gt; Entry  1: Base=0x0000000001fe3240, Begin=0x0000000001fe3240, Size=400, Type=0x21
Libomptarget --&amp;gt; Entry  2: Base=0x0000000001fe3640, Begin=0x0000000001fe3640, Size=400, Type=0x23
Libomptarget --&amp;gt; Looking up mapping(HstPtrBegin=0x0000000001e5c480, Size=400)...
Target LEVEL0 RTL --&amp;gt; Allocated a shared memory object 0x00000000022d9000
Target LEVEL0 RTL --&amp;gt; Allocated target memory 0x00000000022d9000 (Base: 0x00000000022d9000, Size: 65536) for host ptr 0x0000000001e5c480
Libomptarget --&amp;gt; Creating new map entry: HstBase=0x0000000001e5c480, HstBegin=0x0000000001e5c480, HstEnd=0x0000000001e5c610, TgtBegin=0x00000000022d9000
Libomptarget --&amp;gt; There are 400 bytes allocated at target address 0x00000000022d9000 - is new
Libomptarget --&amp;gt; Moving 400 bytes (hst:0x0000000001e5c480) -&amp;gt; (tgt:0x00000000022d9000)
Target LEVEL0 RTL --&amp;gt; Copied 400 bytes (hst:0x0000000001e5c480) -&amp;gt; (tgt:0x00000000022d9000)
Libomptarget --&amp;gt; Looking up mapping(HstPtrBegin=0x0000000001fe3240, Size=400)...
Target LEVEL0 RTL --&amp;gt; Allocated a shared memory object 0x0000000001fe9000
Target LEVEL0 RTL --&amp;gt; Allocated target memory 0x0000000001fe9000 (Base: 0x0000000001fe9000, Size: 65536) for host ptr 0x0000000001fe3240
Libomptarget --&amp;gt; Creating new map entry: HstBase=0x0000000001fe3240, HstBegin=0x0000000001fe3240, HstEnd=0x0000000001fe33d0, TgtBegin=0x0000000001fe9000
Libomptarget --&amp;gt; There are 400 bytes allocated at target address 0x0000000001fe9000 - is new
Libomptarget --&amp;gt; Moving 400 bytes (hst:0x0000000001fe3240) -&amp;gt; (tgt:0x0000000001fe9000)
Target LEVEL0 RTL --&amp;gt; Copied 400 bytes (hst:0x0000000001fe3240) -&amp;gt; (tgt:0x0000000001fe9000)
Libomptarget --&amp;gt; Looking up mapping(HstPtrBegin=0x0000000001fe3640, Size=400)...
Target LEVEL0 RTL --&amp;gt; Allocated a shared memory object 0x0000000002a95000
Target LEVEL0 RTL --&amp;gt; Allocated target memory 0x0000000002a95000 (Base: 0x0000000002a95000, Size: 65536) for host ptr 0x0000000001fe3640
Libomptarget --&amp;gt; Creating new map entry: HstBase=0x0000000001fe3640, HstBegin=0x0000000001fe3640, HstEnd=0x0000000001fe37d0, TgtBegin=0x0000000002a95000
Libomptarget --&amp;gt; There are 400 bytes allocated at target address 0x0000000002a95000 - is new
Libomptarget --&amp;gt; Moving 400 bytes (hst:0x0000000001fe3640) -&amp;gt; (tgt:0x0000000002a95000)
Target LEVEL0 RTL --&amp;gt; Copied 400 bytes (hst:0x0000000001fe3640) -&amp;gt; (tgt:0x0000000002a95000)
Libomptarget --&amp;gt; Checking whether device 0 is ready.
Libomptarget --&amp;gt; Is the device 0 (local ID 0) initialized? 1
Libomptarget --&amp;gt; Device 0 is ready to use.
Libomptarget --&amp;gt; Call to omp_get_num_devices returning 1
Libomptarget --&amp;gt; Call to __tgt_create_interop_obj with device_id 0, is_async false, async_obj 0x0000000000000000
Libomptarget --&amp;gt; Checking whether device 0 is ready.
Libomptarget --&amp;gt; Is the device 0 (local ID 0) initialized? 1
Libomptarget --&amp;gt; Device 0 is ready to use.
Target LEVEL0 RTL --&amp;gt; __tgt_rtl_create_offload_queue returns a new asynchronous command queue 0x00000000022b2d60
Libomptarget --&amp;gt; Entering data begin region for device 0 with 3 mappings
Libomptarget --&amp;gt; Checking whether device 0 is ready.
Libomptarget --&amp;gt; Is the device 0 (local ID 0) initialized? 1
Libomptarget --&amp;gt; Device 0 is ready to use.
Libomptarget --&amp;gt; Entry  0: Base=0x0000000001e5c480, Begin=0x0000000001e5c480, Size=0, Type=0x60
Libomptarget --&amp;gt; Entry  1: Base=0x0000000001fe3240, Begin=0x0000000001fe3240, Size=0, Type=0x60
Libomptarget --&amp;gt; Entry  2: Base=0x0000000001fe3640, Begin=0x0000000001fe3640, Size=0, Type=0x60
Libomptarget --&amp;gt; Looking up mapping(HstPtrBegin=0x0000000001e5c480, Size=0)...
Libomptarget --&amp;gt; Mapping exists with HstPtrBegin=0x0000000001e5c480, TgtPtrBegin=0x00000000022d9000, Size=0, updated RefCount=2
Libomptarget --&amp;gt; There are 0 bytes allocated at target address 0x00000000022d9000 - is not new
Libomptarget --&amp;gt; Returning device pointer 0x00000000022d9000
Libomptarget --&amp;gt; Looking up mapping(HstPtrBegin=0x0000000001fe3240, Size=0)...
Libomptarget --&amp;gt; Mapping exists with HstPtrBegin=0x0000000001fe3240, TgtPtrBegin=0x0000000001fe9000, Size=0, updated RefCount=2
Libomptarget --&amp;gt; There are 0 bytes allocated at target address 0x0000000001fe9000 - is not new
Libomptarget --&amp;gt; Returning device pointer 0x0000000001fe9000
Libomptarget --&amp;gt; Looking up mapping(HstPtrBegin=0x0000000001fe3640, Size=0)...
Libomptarget --&amp;gt; Mapping exists with HstPtrBegin=0x0000000001fe3640, TgtPtrBegin=0x0000000002a95000, Size=0, updated RefCount=2
Libomptarget --&amp;gt; There are 0 bytes allocated at target address 0x0000000002a95000 - is not new
Libomptarget --&amp;gt; Returning device pointer 0x0000000002a95000
Libomptarget --&amp;gt; Call to __tgt_get_interop_property with interop_obj 0x000000000209ac40, property_id 2
Libomptarget --&amp;gt; Call to __tgt_get_interop_property with interop_obj 0x000000000209ac40, property_id 5
Libomptarget --&amp;gt; Call to __tgt_get_interop_property with interop_obj 0x000000000209ac40, property_id 6
Segmentation fault (core dumped)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Other systems:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I've run the same code in a different system (based on a&amp;nbsp;Intel(R) Xeon(R) CPU E3-1585 v5 @ 3.50GHz) and it works. But it is on my desktop that I can't seem to make it work.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any suggestions would be much appreciated. Also, if there is any more information needed please let me know&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 05:26:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-examples-segmentation-fault/m-p/1213659#M30121</guid>
      <dc:creator>Jose_M_Monsalve_Diaz</dc:creator>
      <dc:date>2020-09-30T05:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: MKL examples segmentation fault</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-examples-segmentation-fault/m-p/1213753#M30122</link>
      <description>&lt;P&gt;Hi Jose,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is a dedicated forum for MKL (&lt;A href="https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/bd-p/oneapi-math-kernel-library" target="_blank" rel="noopener noreferrer"&gt;https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/bd-p/oneapi-math-kernel-library&lt;/A&gt;). We are moving this thread to that forum&lt;SPAN style="background-color: var(--lwc-colorbackgroundinput,#ffffff); color: var(--lwc-colortextweak,#3e3e3c); font-size: var(--lwc-fontSize3,0.8125rem); font-family: var(--lwc-fontFamily,'Salesforce Sans', Arial, sans-serif);"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Prasanth&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 11:54:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-examples-segmentation-fault/m-p/1213753#M30122</guid>
      <dc:creator>PrasanthD_intel</dc:creator>
      <dc:date>2020-09-30T11:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: MKL examples segmentation fault</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-examples-segmentation-fault/m-p/1213776#M30123</link>
      <description>&lt;P&gt;Sorry about that, I didn't see it at first. Thanks for moving the post.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 14:06:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-examples-segmentation-fault/m-p/1213776#M30123</guid>
      <dc:creator>Jose_M_Monsalve_Diaz</dc:creator>
      <dc:date>2020-09-30T14:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: MKL examples segmentation fault</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-examples-segmentation-fault/m-p/1217645#M30157</link>
      <description>&lt;P&gt;I was able to get help from other person within my organization.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The solution was as simple as changing the LIBOMPTARGET_PLUGIN. The L0 Plugin is broken and it does not work.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Taken from my conversation:&lt;/P&gt;
&lt;P&gt;when I looked at the &lt;FONT face="andale mono,times" color="#FF9900"&gt;LIBOMPTARGET_DEBUG&lt;/FONT&gt; trace you put on the forum, it looks like it’s using L0 backend&amp;nbsp;&lt;FONT face="andale mono,times" color="#FF9900"&gt;Libomptarget --&amp;gt; Loading library 'libomptarget.rtl.level0.so'...&lt;/FONT&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV data-qa="message_content"&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV data-qa="block-kit-renderer"&gt;
&lt;DIV&gt;
&lt;DIV dir="auto"&gt;
&lt;DIV&gt;so it’s worth a shot to&amp;nbsp;&lt;FONT face="andale mono,times" color="#FF9900"&gt;&lt;EM&gt;export LIBOMPTARGET_PLUGIN=OPENCL&lt;/EM&gt;&lt;/FONT&gt;&amp;nbsp;on your system&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;That last part made the trick&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 14 Oct 2020 14:48:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-examples-segmentation-fault/m-p/1217645#M30157</guid>
      <dc:creator>Jose_M_Monsalve_Diaz</dc:creator>
      <dc:date>2020-10-14T14:48:25Z</dc:date>
    </item>
    <item>
      <title>Re:MKL examples segmentation fault</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-examples-segmentation-fault/m-p/1222068#M30196</link>
      <description>&lt;P&gt;Thanks for the update. The issue is closing and we will no longer respond to this thread.&amp;nbsp;If you require additional assistance from Intel, please start a new thread.&amp;nbsp;Any further interaction in this thread will be considered community only.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Oct 2020 03:33:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-examples-segmentation-fault/m-p/1222068#M30196</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2020-10-23T03:33:02Z</dc:date>
    </item>
  </channel>
</rss>

