<?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: Compilation problem in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compilation-problem/m-p/912882#M12286</link>
    <description>&lt;P&gt;Small correction: libmkl_core.dylib should be visible in the DYLD_LIBRARY_PATH environment variable.&lt;/P&gt;
&lt;P&gt;Andrey&lt;/P&gt;</description>
    <pubDate>Mon, 17 Mar 2008 06:39:59 GMT</pubDate>
    <dc:creator>Andrey_G_Intel2</dc:creator>
    <dc:date>2008-03-17T06:39:59Z</dc:date>
    <item>
      <title>Compilation problem</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compilation-problem/m-p/912880#M12284</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I try to compile a simple program on my mac os 10.5 (leopard) with ifort and MKL. My program is :&lt;BR /&gt;***********************************************&lt;BR /&gt;program MatMulTest&lt;BR /&gt; integer, parameter :: n = 2000&lt;BR /&gt; real, allocatable :: matrixA(:,:), matrixB(:,:), matrixC(:,:)&lt;BR /&gt; integer :: i, j&lt;BR /&gt;&lt;BR /&gt; allocate(matrixA(n,n), matrixB(n,n), matrixC(n,n))&lt;BR /&gt; matrixA = 0.1&lt;BR /&gt; matrixB = 0.1&lt;BR /&gt;&lt;BR /&gt;call sgemm (matrixA,matrixB,matrixC)&lt;BR /&gt;&lt;BR /&gt; print *,'The sum of matrix C is',sum(matrixC)&lt;BR /&gt; deallocate(matrixA, matrixB, matrixC)&lt;BR /&gt;end program&lt;BR /&gt;&lt;BR /&gt;************************************************&lt;BR /&gt;I have saved my prog as essai.f90 in my /Users/sebastien/Desktop&lt;BR /&gt;&lt;BR /&gt;I go in the directory by &lt;BR /&gt;$cd /Users/sebastien/Desktop&lt;BR /&gt;&lt;BR /&gt;and I compile&lt;BR /&gt;&lt;BR /&gt;$ifort essai2.f90 -L/Library/Frameworks/Intel_MKL.framework/Versions/10.0.2.018/lib/em64t/ -I/Library/Frameworks/Intel_MKL.framework/Versions/10.0.2.018/include/ -lmkl_core -lmkl_intel_lp64 -lmkl_intel_thread &lt;BR /&gt;&lt;BR /&gt;It compile correctly but when I try to run the prog by &lt;BR /&gt;&lt;BR /&gt;$./a.out&lt;BR /&gt;&lt;BR /&gt;I have the error&lt;BR /&gt;&lt;BR /&gt;Macintosh:Desktop sebastien$ ./a.out dyld: Library not loaded: libmkl_core.dylib Referenced from: /Users/sebastien/Desktop/./a.out Reason: image not found&lt;BR /&gt;Trace/BPT trap&lt;BR /&gt;&lt;BR /&gt;What's the problem??&lt;BR /&gt;&lt;BR /&gt;Have a nice day,&lt;BR /&gt;&lt;BR /&gt;Sbastien&lt;BR /&gt;</description>
      <pubDate>Sun, 16 Mar 2008 23:00:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compilation-problem/m-p/912880#M12284</guid>
      <dc:creator>janas_s</dc:creator>
      <dc:date>2008-03-16T23:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Compilation problem</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compilation-problem/m-p/912881#M12285</link>
      <description>Is your MKL library shown in the LD_LIBRARY_PATH environment variable? &lt;BR /&gt;</description>
      <pubDate>Mon, 17 Mar 2008 00:03:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compilation-problem/m-p/912881#M12285</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2008-03-17T00:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Compilation problem</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compilation-problem/m-p/912882#M12286</link>
      <description>&lt;P&gt;Small correction: libmkl_core.dylib should be visible in the DYLD_LIBRARY_PATH environment variable.&lt;/P&gt;
&lt;P&gt;Andrey&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2008 06:39:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compilation-problem/m-p/912882#M12286</guid>
      <dc:creator>Andrey_G_Intel2</dc:creator>
      <dc:date>2008-03-17T06:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Compilation problem</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compilation-problem/m-p/912883#M12287</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;How can I see that?&lt;BR /&gt;&lt;BR /&gt;Thanks for your help&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Mar 2008 07:58:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compilation-problem/m-p/912883#M12287</guid>
      <dc:creator>janas_s</dc:creator>
      <dc:date>2008-03-17T07:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Compilation problem</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compilation-problem/m-p/912884#M12288</link>
      <description>&lt;P&gt;echo $DYLD_LIBRARY_PATH&lt;/P&gt;
&lt;P&gt;as output you should see PATH to the place where MKL is installed. If you will not see it, justadd needed path to the DYLD_LIBRARY_PATH (export DYLD_LIBRARY_PATH=_path_to_the_mkl_libraries_foleder_:$DYLD_LIBRARY_PATH) and run your executable again.&lt;/P&gt;
&lt;P&gt;Andrey&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2008 08:13:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compilation-problem/m-p/912884#M12288</guid>
      <dc:creator>Andrey_G_Intel2</dc:creator>
      <dc:date>2008-03-17T08:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Compilation problem</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compilation-problem/m-p/912885#M12289</link>
      <description>Thanks a lot, it works!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Mar 2008 08:46:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Compilation-problem/m-p/912885#M12289</guid>
      <dc:creator>janas_s</dc:creator>
      <dc:date>2008-03-17T08:46:31Z</dc:date>
    </item>
  </channel>
</rss>

