<?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 Problem linking files for x64 in C# in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-linking-files-for-x64-in-C/m-p/765725#M229</link>
    <description>&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;Now I see, you are using MKL 10.1 where djacobi is located in the mkl_solver_lp64.lib library.&lt;/P&gt;&lt;P&gt;In my case (MKL 10.2.5) it is located in the mkl_intel_lp64.&lt;/P&gt;&lt;P&gt;Try to add mkl_solver_lp64.lib or use MKL 10.2.5/6.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vladimir&lt;/P&gt;</description>
    <pubDate>Thu, 12 Aug 2010 05:41:20 GMT</pubDate>
    <dc:creator>Vladimir_Koldakov__I</dc:creator>
    <dc:date>2010-08-12T05:41:20Z</dc:date>
    <item>
      <title>Problem linking files for x64 in C#</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-linking-files-for-x64-in-C/m-p/765720#M224</link>
      <description>Hi, I've been using a dll created by using the walkthrough at &lt;A href="http://software.intel.com/en-us/articles/using-intel-mkl-in-your-c-program/"&gt;http://software.intel.com/en-us/articles/using-intel-mkl-in-your-c-program/&lt;/A&gt; to integrate MKL into my application successfully for several months now but have recently needed to add several new functions to it including djacobi. For the x86 dll I managed to find all the libraries I required to successfully build it, however for the x64 build I have not been able to find the library/libraries which I need to link to include djacobi. Any help would be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks, Greg.&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Aug 2010 13:11:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-linking-files-for-x64-in-C/m-p/765720#M224</guid>
      <dc:creator>gregrowe</dc:creator>
      <dc:date>2010-08-10T13:11:41Z</dc:date>
    </item>
    <item>
      <title>Problem linking files for x64 in C#</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-linking-files-for-x64-in-C/m-p/765721#M225</link>
      <description>&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Just include djacobi in the functions list MKLfunctions.lst and rebuild mkl.dll.&lt;/P&gt;&lt;P&gt;To find the required libraries try to use Intel Math Kernel Library Link Line Advisor &lt;A href="http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/"&gt;http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;You can find the libraries in the makefile as well:&lt;/P&gt;&lt;P&gt;MKL_LIB="mkl_intel_lp64_dll.lib mkl_intel_thread_dll.lib mkl_core_dll.lib"&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vladimir&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2010 15:04:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-linking-files-for-x64-in-C/m-p/765721#M225</guid>
      <dc:creator>Vladimir_Koldakov__I</dc:creator>
      <dc:date>2010-08-10T15:04:59Z</dc:date>
    </item>
    <item>
      <title>Problem linking files for x64 in C#</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-linking-files-for-x64-in-C/m-p/765722#M226</link>
      <description>Hi Vladimir,&lt;BR /&gt;Thanks for your help, I had already added djacobi to the function list and found to build the x86 version of the dll I had to add "mkl_intel_c.lib mkl_core.lib mkl_solver.lib mkl_intel_thread.lib libiomp5md.lib" to the MKL_LIB parameter in the makefile (following a suggestion I found elsewhere on the forums) so that nmake would not return with a linker exception. Unfortunately I can't add this to the x64 version as there isn't a "mkl_intel_c.lib" library for x64. I tried the link line advisor but its suggested link line still throws a linker exception (user.def : error LNK2001: unresolved external symbol djacobi). If you can think of anything else that could help that would be great.&lt;BR /&gt;Thanks, Greg.&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Aug 2010 15:23:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-linking-files-for-x64-in-C/m-p/765722#M226</guid>
      <dc:creator>gregrowe</dc:creator>
      <dc:date>2010-08-10T15:23:15Z</dc:date>
    </item>
    <item>
      <title>Problem linking files for x64 in C#</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-linking-files-for-x64-in-C/m-p/765723#M227</link>
      <description>&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;Try to do the following steps.&lt;/P&gt;&lt;P&gt;1. Download Intel_MKL_C#_Examples.zip from the &lt;A href="http://software.intel.com/en-us/articles/using-intel-mkl-in-your-c-program/"&gt;http://software.intel.com/en-us/articles/using-intel-mkl-in-your-c-program/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2. Extract the content into any directory, there are 7 files:&lt;/P&gt;&lt;P&gt;05/27/2009 03:16 PM 9,676 dfti_d1.cs&lt;BR /&gt;05/27/2009 03:16 PM 5,117 dgeev.cs&lt;BR /&gt;05/27/2009 03:15 PM 4,412 dgemm.cs&lt;BR /&gt;08/10/2010 10:54 PM 3,858 makefile&lt;BR /&gt;08/10/2010 09:37 PM 222 MKLfunctions.lst&lt;BR /&gt;05/27/2009 03:16 PM 9,213 pardiso.cs&lt;BR /&gt;05/27/2009 03:16 PM 5,683 vddiv.cs&lt;/P&gt;&lt;P&gt;3. Add djacobi and other names into the MKLfunctions.lst file.&lt;/P&gt;&lt;P&gt;4. In the Visual Studio x64 Command Prompt change the directory to the directory with the extracted files.&lt;/P&gt;&lt;P&gt;5. Type here:&lt;/P&gt;&lt;P style="padding-left: 20pt;"&gt;nmake em64t MKLROOT="mkl_root_directory"&lt;/P&gt;&lt;P&gt;where mkl_root_directory is something like C:\Programme\Intel\MKL\10.2.5.035&lt;/P&gt;&lt;P&gt;6. You will see mkl.dll in the same directory. Try to use it.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vladimir&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2010 16:50:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-linking-files-for-x64-in-C/m-p/765723#M227</guid>
      <dc:creator>Vladimir_Koldakov__I</dc:creator>
      <dc:date>2010-08-10T16:50:23Z</dc:date>
    </item>
    <item>
      <title>Problem linking files for x64 in C#</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-linking-files-for-x64-in-C/m-p/765724#M228</link>
      <description>Hi Vladimir,&lt;BR /&gt;&lt;BR /&gt;I followed your instructions exactly and received exactly the same error as before : &lt;BR /&gt;&lt;BR /&gt;D:\\Dev\\MKLTemp&amp;gt;nmake em64t MKLROOT="D:\\Program Files\\Intel\\MKL\\10.1.1.022"&lt;BR /&gt;&lt;BR /&gt;Microsoft  Program Maintenance Utility Version 9.00.30729.01&lt;BR /&gt;Copyright (C) Microsoft Corporation. All rights reserved.&lt;BR /&gt;&lt;BR /&gt;Add path of the MKL libraries to the lib environment variable&lt;BR /&gt; set lib=%MKLROOT%\em64t\lib;%lib%&lt;BR /&gt;MKL entries for custom dll&lt;BR /&gt;Workaround for pardiso&lt;BR /&gt;Microsoft  C/C++ Optimizing Compiler Version 15.00.30729.01 for x64&lt;BR /&gt;Copyright (C) Microsoft Corporation. All rights reserved.&lt;BR /&gt;&lt;BR /&gt;_fseeki64.c&lt;BR /&gt;Build MKL custom dll&lt;BR /&gt; nmake mkl.dll MACHINE=AMD64 MKL_LIB="mkl_intel_lp64_dll.lib mkl_intel_thread_dll.lib mkl_core_dll.lib" MSLIB=user32.lib&lt;BR /&gt;&lt;BR /&gt;Microsoft  Program Maintenance Utility Version 9.00.30729.01&lt;BR /&gt;Copyright (C) Microsoft Corporation. All rights reserved.&lt;BR /&gt;&lt;BR /&gt; link /DLL /MACHINE:AMD64 /def:user.def _fseeki64.obj mkl_intel_lp64_dll.lib mkl_intel_thread_dll.lib mkl_core_dll.lib libiomp5md.lib user32.lib /out:mkl.dll&lt;BR /&gt;Microsoft  Incremental Linker Version 9.00.30729.01&lt;BR /&gt;Copyright (C) Microsoft Corporation. All rights reserved.&lt;BR /&gt;&lt;BR /&gt;user.def : error LNK2001: unresolved external symbol djacobi&lt;BR /&gt;mkl.lib : fatal error LNK1120: 1 unresolved externals&lt;BR /&gt;NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\amd64\link.EXE"' : return code '0x460'&lt;BR /&gt;Stop.&lt;BR /&gt;NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\amd64\nmake.EXE"' : return code '0x2'&lt;BR /&gt;Stop.&lt;BR /&gt;&lt;BR /&gt;I'm fairly sure the only problem is that djacobi isn't in mkl_intel_lp64_dll.lib, mkl_intel_thread_dll.lib, mkl_core_dll.lib or libiomp5md.lib and we need to add the library it is in unfortunately I have no idea which library contains djacobi. Any further help would be great.&lt;BR /&gt;&lt;BR /&gt;Thanks, Greg.&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Aug 2010 11:15:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-linking-files-for-x64-in-C/m-p/765724#M228</guid>
      <dc:creator>gregrowe</dc:creator>
      <dc:date>2010-08-11T11:15:21Z</dc:date>
    </item>
    <item>
      <title>Problem linking files for x64 in C#</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-linking-files-for-x64-in-C/m-p/765725#M229</link>
      <description>&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;Now I see, you are using MKL 10.1 where djacobi is located in the mkl_solver_lp64.lib library.&lt;/P&gt;&lt;P&gt;In my case (MKL 10.2.5) it is located in the mkl_intel_lp64.&lt;/P&gt;&lt;P&gt;Try to add mkl_solver_lp64.lib or use MKL 10.2.5/6.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vladimir&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2010 05:41:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-linking-files-for-x64-in-C/m-p/765725#M229</guid>
      <dc:creator>Vladimir_Koldakov__I</dc:creator>
      <dc:date>2010-08-12T05:41:20Z</dc:date>
    </item>
    <item>
      <title>Problem linking files for x64 in C#</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-linking-files-for-x64-in-C/m-p/765726#M230</link>
      <description>Hi Vladimir,&lt;BR /&gt;&lt;BR /&gt;Thanks very much that worked perfectly.&lt;BR /&gt;&lt;BR /&gt;Greg.</description>
      <pubDate>Thu, 12 Aug 2010 08:30:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-linking-files-for-x64-in-C/m-p/765726#M230</guid>
      <dc:creator>gregrowe</dc:creator>
      <dc:date>2010-08-12T08:30:25Z</dc:date>
    </item>
  </channel>
</rss>

