<?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 How to compile the example C# wrapper on a 64bit server to call in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-compile-the-example-C-wrapper-on-a-64bit-server-to-call/m-p/903932#M11500</link>
    <description>&lt;P&gt;Stephen, i guess your target mashine type is not 'IA64' ( aka Itanium), but 'em64t' ( aka Xeon).&lt;/P&gt;
&lt;P&gt;So, add path of the MKL libraries to the lib environment variableset lib=%MKLROOT%\\&lt;B&gt;em64t&lt;/B&gt;\\lib;%lib%, instead of%MKLROOT%\\&lt;B&gt;ia64&lt;/B&gt;\\lib;%lib%&lt;/P&gt;
&lt;P&gt;--Gennady&lt;/P&gt;</description>
    <pubDate>Mon, 01 Feb 2010 14:31:25 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2010-02-01T14:31:25Z</dc:date>
    <item>
      <title>How to compile the example C# wrapper on a 64bit server to call DGEMM</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-compile-the-example-C-wrapper-on-a-64bit-server-to-call/m-p/903931#M11499</link>
      <description>&lt;P&gt;Hi, I'm really stuck.&lt;/P&gt;
&lt;P&gt;I have previously successfully compiled the Example C# wrapper to call DGemm on a 32 bit machine, creating MKL.DLL - C# wrapper which calls the Intel MKL DLLs&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;The following command worked just fine:&lt;/P&gt;
&lt;P&gt;nmake ia32 mklroot="C:\\\\Program Files\\\\Intel\\\\MKL\\\\10.2.1.019"&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I have now moved to an &lt;B&gt;Intel 64 bit server&lt;/B&gt; and have installed Visual Studio 2008 SP1.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;From a Visual Studio 2008 Command Prompt on the 64 bit machine (Windows 2003 Server)&lt;/P&gt;
&lt;P&gt;Upon calling:&lt;/P&gt;
&lt;P&gt;C:\\\\Temp\\\\Intel_MKL_C#_Examples&amp;gt;nmake ia64 MKLROOT="c:\\\\program files\\\\intel\\\\mkl\\\\10.2.0.014\\\\"&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I get:&lt;/P&gt;
&lt;P&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%\\\\ia64\\\\lib;%lib%&lt;BR /&gt;MKL entries for custom dll&lt;BR /&gt;Workaround for pardiso&lt;BR /&gt;Microsoft  32-bit C/C++ Optimizing Compiler Version 15.00.30729.01 for 80x86&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=IA64 MKL_LIB="mkl_intel_lp64_dll.lib mkl_intel_thread_dll.lib mkl_core_dll.lib" MSLIB="msvcrt.lib 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:IA64 /def:user.def _fseeki64.obj mkl_intel_lp64_dll.lib mkl_intel_thread_dll.lib mkl_core_dll.lib libiomp5md.lib msvcrt.lib user32.l&lt;BR /&gt;ib /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;_fseeki64.obj : fatal error LNK1112: &lt;B&gt;module machine type 'X86' conflicts with target machine type 'IA64'&lt;/B&gt;&lt;BR /&gt;NMAKE : fatal error U1077: '"E:\\\\Program Files (x86)\\\\Microsoft Visual Studio 9.0\\\\VC\\\\BIN\\\\link.EXE"' : return code '0x458'&lt;BR /&gt;Stop.&lt;BR /&gt;NMAKE : fatal error U1077: '"E:\\\\Program Files (x86)\\\\Microsoft Visual Studio 9.0\\\\VC\\\\BIN\\\\nmake.EXE"' : return code '0x2'&lt;BR /&gt;Stop.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;My paths seem Ok:&lt;/P&gt;
&lt;P&gt;echo %lib%&lt;BR /&gt;"C:\\\\Program Files\\\\Intel\\\\MKL\\\\10.2.0.014\\\\ia64\\\\lib"&lt;/P&gt;
&lt;P&gt;echo %MKLRoot%&lt;BR /&gt;"c:\\\\program files\\\\intel\\\\mkl\\\\10.2.0.014\\\\"&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;it seems to be failing at the end: module machine type '&lt;B&gt;X86&lt;/B&gt;' conflicts with target machine type '&lt;B&gt;IA64&lt;/B&gt;'.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Any ideas how I can get a 64 bit version of the DLL built ?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;Steve&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2010 13:52:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-compile-the-example-C-wrapper-on-a-64bit-server-to-call/m-p/903931#M11499</guid>
      <dc:creator>srlawton</dc:creator>
      <dc:date>2010-02-01T13:52:53Z</dc:date>
    </item>
    <item>
      <title>How to compile the example C# wrapper on a 64bit server to call</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-compile-the-example-C-wrapper-on-a-64bit-server-to-call/m-p/903932#M11500</link>
      <description>&lt;P&gt;Stephen, i guess your target mashine type is not 'IA64' ( aka Itanium), but 'em64t' ( aka Xeon).&lt;/P&gt;
&lt;P&gt;So, add path of the MKL libraries to the lib environment variableset lib=%MKLROOT%\\&lt;B&gt;em64t&lt;/B&gt;\\lib;%lib%, instead of%MKLROOT%\\&lt;B&gt;ia64&lt;/B&gt;\\lib;%lib%&lt;/P&gt;
&lt;P&gt;--Gennady&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2010 14:31:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-compile-the-example-C-wrapper-on-a-64bit-server-to-call/m-p/903932#M11500</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-02-01T14:31:25Z</dc:date>
    </item>
    <item>
      <title>How to compile the example C# wrapper on a 64bit server to call</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-compile-the-example-C-wrapper-on-a-64bit-server-to-call/m-p/903933#M11501</link>
      <description>&lt;DIV id="_mcePaste"&gt;Just for your information - please look at the &lt;A href="http://software.intel.com/en-us/articles/ia-32-intelr-64-ia-64-architecture-mean/"&gt;KB article&lt;/A&gt; explains whatIA-32, Intel 64 and IA-64 Architecture means&lt;/DIV&gt;</description>
      <pubDate>Mon, 01 Feb 2010 14:42:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-compile-the-example-C-wrapper-on-a-64bit-server-to-call/m-p/903933#M11501</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-02-01T14:42:06Z</dc:date>
    </item>
    <item>
      <title>How to compile the example C# wrapper on a 64bit server to call</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-compile-the-example-C-wrapper-on-a-64bit-server-to-call/m-p/903934#M11502</link>
      <description>&lt;P&gt;Gennady, thanks.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I've made life difficult for myself today.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Advice to everyone, when installing Visual Studio 2008, select "&lt;B&gt;Full&lt;/B&gt;" install not "&lt;B&gt;Default&lt;/B&gt;", this gives you the x64 bit compiler + 64 bit V Studio Command Prompt. It may take a bit longer to install but atleast you will have the full suite.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Everything works once you have the right software installed.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;regards,&lt;/P&gt;
&lt;P&gt;Steve&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2010 14:50:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/How-to-compile-the-example-C-wrapper-on-a-64bit-server-to-call/m-p/903934#M11502</guid>
      <dc:creator>srlawton</dc:creator>
      <dc:date>2010-02-01T14:50:00Z</dc:date>
    </item>
  </channel>
</rss>

