<?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 Error: cannot find -lmkl_p4 ..... please help........... in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-cannot-find-lmkl-p4-please-help/m-p/904186#M11529</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt; We were compiling a program with MKL. &lt;BR /&gt;&lt;BR /&gt; The error shown is:&lt;BR /&gt;[ded@wci32-oib mm-app-0.0.2]$ make&lt;BR /&gt;cc -I/home/ded/intel/mkl/9.1.023/include -I/home/ded/mvapich-0.9.9/mvapich-0.9.9/include -L/home/ded/intel/mkl/9.1.023/lib/32 -lmkl_p4 -lvml -lguide -lpthread -lm &lt;BR /&gt; mm.c -o mm&lt;BR /&gt;/usr/bin/ld: skipping incompatible /home/ded/intel/mkl/9.1.023/lib/32/libmkl_p4.so when searching for -lmkl_p4&lt;BR /&gt;/usr/bin/ld: cannot find -lmkl_p4&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;make: *** [mm] Error 1&lt;BR /&gt;[ded@wci32-oib mm-app-0.0.2]$&lt;BR /&gt;------------------------------------------------ &lt;BR /&gt;The Makefile is as follows:&lt;BR /&gt;&lt;BR /&gt;CC = /home/ded/mvapich-0.9.9/mvapich-0.9.9/bin/mpicc&lt;BR /&gt;MPI_INCLUDE = /home/ded/mvapich-0.9.9/mvapich-0.9.9/include&lt;BR /&gt;#MKL_DIR = /usr/local/mkl-7.0.17/mkl70&lt;BR /&gt;#MKL_DIR = /usr/local/mkl/mkl721&lt;BR /&gt;MKL_DIR = /home/ded/intel/mkl/9.1.023&lt;BR /&gt;MKL_PATH = $(MKL_DIR)/lib/32&lt;BR /&gt;MKL_INCLUDE = $(MKL_DIR)/include&lt;BR /&gt;&lt;BR /&gt;all: mm&lt;BR /&gt;&lt;BR /&gt;mm: mm.c&lt;BR /&gt; cc -I$(MKL_INCLUDE) -I$(MPI_INCLUDE) -L$(MKL_PATH) -lmkl_p4 -lguide -lpthread -lm &lt;BR /&gt; mm.c -o mm&lt;BR /&gt;&lt;BR /&gt;clean:&lt;BR /&gt; rm -f mm&lt;BR /&gt;-------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 03 Oct 2007 21:40:13 GMT</pubDate>
    <dc:creator>debraj_de1</dc:creator>
    <dc:date>2007-10-03T21:40:13Z</dc:date>
    <item>
      <title>Error: cannot find -lmkl_p4 ..... please help...........</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-cannot-find-lmkl-p4-please-help/m-p/904186#M11529</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt; We were compiling a program with MKL. &lt;BR /&gt;&lt;BR /&gt; The error shown is:&lt;BR /&gt;[ded@wci32-oib mm-app-0.0.2]$ make&lt;BR /&gt;cc -I/home/ded/intel/mkl/9.1.023/include -I/home/ded/mvapich-0.9.9/mvapich-0.9.9/include -L/home/ded/intel/mkl/9.1.023/lib/32 -lmkl_p4 -lvml -lguide -lpthread -lm &lt;BR /&gt; mm.c -o mm&lt;BR /&gt;/usr/bin/ld: skipping incompatible /home/ded/intel/mkl/9.1.023/lib/32/libmkl_p4.so when searching for -lmkl_p4&lt;BR /&gt;/usr/bin/ld: cannot find -lmkl_p4&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;make: *** [mm] Error 1&lt;BR /&gt;[ded@wci32-oib mm-app-0.0.2]$&lt;BR /&gt;------------------------------------------------ &lt;BR /&gt;The Makefile is as follows:&lt;BR /&gt;&lt;BR /&gt;CC = /home/ded/mvapich-0.9.9/mvapich-0.9.9/bin/mpicc&lt;BR /&gt;MPI_INCLUDE = /home/ded/mvapich-0.9.9/mvapich-0.9.9/include&lt;BR /&gt;#MKL_DIR = /usr/local/mkl-7.0.17/mkl70&lt;BR /&gt;#MKL_DIR = /usr/local/mkl/mkl721&lt;BR /&gt;MKL_DIR = /home/ded/intel/mkl/9.1.023&lt;BR /&gt;MKL_PATH = $(MKL_DIR)/lib/32&lt;BR /&gt;MKL_INCLUDE = $(MKL_DIR)/include&lt;BR /&gt;&lt;BR /&gt;all: mm&lt;BR /&gt;&lt;BR /&gt;mm: mm.c&lt;BR /&gt; cc -I$(MKL_INCLUDE) -I$(MPI_INCLUDE) -L$(MKL_PATH) -lmkl_p4 -lguide -lpthread -lm &lt;BR /&gt; mm.c -o mm&lt;BR /&gt;&lt;BR /&gt;clean:&lt;BR /&gt; rm -f mm&lt;BR /&gt;-------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Oct 2007 21:40:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-cannot-find-lmkl-p4-please-help/m-p/904186#M11529</guid>
      <dc:creator>debraj_de1</dc:creator>
      <dc:date>2007-10-03T21:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error: cannot find -lmkl_p4 ..... please help...........</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-cannot-find-lmkl-p4-please-help/m-p/904187#M11530</link>
      <description>&lt;DIV class="ForumPostContentText" id="_ctl0__ctl1_bcr__ctl0___PostRepeater__ctl2_PostViewWrapper"&gt;It looks as if your mpicc may be a 64-bit compiler, so you would have to switch to the corresponding library in the em64t section of your MKL library installation. &lt;BR /&gt;If your only reason for linking in Intel OpenMP support is on account of MKL, and you don't intend to ask for threading in MKL, the mkl serial library may be preferable.&lt;BR /&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 04 Oct 2007 02:25:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-cannot-find-lmkl-p4-please-help/m-p/904187#M11530</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2007-10-04T02:25:22Z</dc:date>
    </item>
  </channel>
</rss>

