<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated on Wed, 25 Nov 2009 15:09:05 -0800 -->
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <atom:link href="http://software.intel.com/en-us/articles/using-intel-mkl-in-your-c-program/feed/" rel="self" type="application/rss+xml" />
    <title>Intel Software Network Comments feed</title>
    <link>http://software.intel.com/en-us/articles/using-intel-mkl-in-your-c-program/feed/</link>
    <description></description>
    <language>en-us</language>
    <item>
      <title>By Oleg Golubovsky</title>
      <description><![CDATA[ >> Example: nmake ia32 MKLROOT="c:\program files\intel\mkl\10.1.1.015\ia32\lib"

value of MKLROOT environment variable should be reduced to "C:\Program Files\Intel\MKL\RR.r.y.xxx", where RR.r is the version number, y is the release-update number, and xxx is the package number, for
example, "C:\Program Files\Intel\MKL\10.1.0.004", otherwise you will get compilation and linkage errors.


 ]]></description>
      <link>http://software.intel.com/en-us/articles/using-intel-mkl-in-your-c-program/#comment-22151</link>
      <pubDate>Fri, 03 Apr 2009 04:16:09 -0700</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/articles/using-intel-mkl-in-your-c-program/#comment-22151</guid>
    </item>
    <item>
      <title>By Vladimir Koldakov (Intel)</title>
      <description><![CDATA[ Thank you, Oleg! Of course, MKL root directory should be in command line.
 -Vladimir
 ]]></description>
      <link>http://software.intel.com/en-us/articles/using-intel-mkl-in-your-c-program/#comment-22424</link>
      <pubDate>Thu, 09 Apr 2009 21:09:30 -0700</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/articles/using-intel-mkl-in-your-c-program/#comment-22424</guid>
    </item>
    <item>
      <title>By michasspamgmx.de</title>
      <description><![CDATA[ Hi, the example does not work on my system.
As you can see in the errorcode below I am working with MKL 10.0.1.015. I am using Visual Studio 2005 Framework 2.0. Are there any known solutions to this?
Best regards Micha
 ]]></description>
      <link>http://software.intel.com/en-us/articles/using-intel-mkl-in-your-c-program/#comment-27668</link>
      <pubDate>Thu, 16 Jul 2009 06:32:43 -0700</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/articles/using-intel-mkl-in-your-c-program/#comment-27668</guid>
    </item>
    <item>
      <title>By michasspamgmx.de</title>
      <description><![CDATA[ Sorry, here comes the error code:
D:CsharpTestUmgebungMKL_Einbinden>nmake ia32 MKLROOT="C:ProgrammeIntelMKL10.0.1.015"

Microsoft (R) Program Maintenance Utility, Version 8.00.50727.42
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.

Add path of the MKL libraries to the lib environment variable
        set lib=%MKLROOT%ia32lib;%lib%
MKL entries for custom dll
Workaround for pardiso
Microsoft (R) 32-Bit C/C++-Optimierungscompiler Version 14.00.50727.42 für 80x86
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.

_fseeki64.c
Build MKL custom dll
        nmake mkl.dll MACHINE=IX86  MKL_LIB="mkl_intel_c_dll.lib mkl_intel_thread_dll.lib mkl_core_dll.lib"  MSL

Microsoft (R) Program Maintenance Utility, Version 8.00.50727.42
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.

        link /DLL /MACHINE:IX86 /def:user.def _fseeki64.obj mkl_intel_c_dll.lib mkl_intel_thread_dll.lib mkl_cor
Microsoft (R) Incremental Linker Version 8.00.50727.42
Copyright (C) Microsoft Corporation.  All rights reserved.

   Bibliothek "mkl.lib" und Objekt "mkl.exp" werden erstellt.
mkl_intel_c_dll.lib(_pardiso.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_mkl_solver_pa
mkl.dll : fatal error LNK1120: 1 nicht aufgelöste externe Verweise.
NMAKE : fatal error U1077: ""C:ProgrammeMicrosoft Visual Studio 8VCBINlink.EXE"": Rückgabe-Code "0x460"
Stop.
NMAKE : fatal error U1077: ""C:ProgrammeMicrosoft Visual Studio 8VCBINnmake.EXE"": Rückgabe-Code "0x2"
Stop. ]]></description>
      <link>http://software.intel.com/en-us/articles/using-intel-mkl-in-your-c-program/#comment-27669</link>
      <pubDate>Thu, 16 Jul 2009 06:33:46 -0700</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/articles/using-intel-mkl-in-your-c-program/#comment-27669</guid>
    </item>
    <item>
      <title>By Vladimir Koldakov (Intel)</title>
      <description><![CDATA[ Hello, Micha,

Thank you for the interest to these examples. For MKL 10.0 you need add one more library:

44c44
<          MKL_LIB="mkl_intel_c_dll.lib mkl_intel_thread_dll.lib mkl_core_dll.lib" 
---
>          MKL_LIB="mkl_intel_c_dll.lib mkl_intel_thread_dll.lib mkl_core_dll.lib mkl_solver.lib" 

And replace OMP library:

99c99
<           libiomp5md.lib $(MSLIB) /out:mkl.dll
---
>           libguide40.lib $(MSLIB) /out:mkl.dll

It’s better also to run examples on the drive C: The security permission problem can be appeared otherwise:

Run dgemm example
<…skipped…>
Unhandled Exception: System.Security.SecurityException: System.Security.Permissions.SecurityPermission
   at mkl.CBLAS.dgemm(Int32 Order, Int32 TransA, Int32 TransB, Int32 M, Int32 N, Int32 K, Double alpha, Double[] A, Int32 lda, Double[] B, Int32 ldb, Double beta, Double[] C, Int32 ldc)
   at test_dgemm.Main(String[] args)

Best regards,
 -Vladimir
 ]]></description>
      <link>http://software.intel.com/en-us/articles/using-intel-mkl-in-your-c-program/#comment-27810</link>
      <pubDate>Fri, 17 Jul 2009 05:00:17 -0700</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/articles/using-intel-mkl-in-your-c-program/#comment-27810</guid>
    </item>
    <item>
      <title>By Tommy</title>
      <description><![CDATA[ Hi,
Is there going to be an official wrapper release for C#?

Thanks,
Tommy
 ]]></description>
      <link>http://software.intel.com/en-us/articles/using-intel-mkl-in-your-c-program/#comment-31486</link>
      <pubDate>Thu, 24 Sep 2009 09:04:25 -0700</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/articles/using-intel-mkl-in-your-c-program/#comment-31486</guid>
    </item>
    <item>
      <title>By Jo Cotterell</title>
      <description><![CDATA[ Hi MKL gurus,

We have successfully linked a C# program to MKL thanks to your examples, but a problem remain: It seems that MKL can't span multiple threads when being called from our managed environment. When calling cblas_dgemm from a freshly built DLL, the linkage is successfully done (pinning, ...) and the Matrix-Matrix multiplication is processed, but on an Intel Xeon 5130, we attained only 25% of CPU Usage, even after setting some environment variables (MKL_DYNAMIC=FALSE, MKL_NUM_THREADS=x) which seemed to have no impact on this issue...

Of course we were expecting some overhead coming from the C#->C transition, but such a behavior seems strange. Is it expected or have we gone wrong on something? Does C# constrain the use of unmanaged code to only one thread?

Best Regards. ]]></description>
      <link>http://software.intel.com/en-us/articles/using-intel-mkl-in-your-c-program/#comment-31852</link>
      <pubDate>Wed, 30 Sep 2009 03:24:50 -0700</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/articles/using-intel-mkl-in-your-c-program/#comment-31852</guid>
    </item>
    <item>
      <title>By Vladimir Koldakov (Intel)</title>
      <description><![CDATA[ Hi, Jo.
I've checked on an 8 core Xeon - it is ok with MKL_NUM_THREADS=2 or 4 or (default) 8.
I used the makefile attached to the examples to build custom dll and run example with N=9000, K=8000, M=6000.
Could you please provide more details how do you build dll? And a small test if it is possible.
Thanks,
 Vladimir
 ]]></description>
      <link>http://software.intel.com/en-us/articles/using-intel-mkl-in-your-c-program/#comment-33805</link>
      <pubDate>Mon, 02 Nov 2009 03:18:29 -0800</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/articles/using-intel-mkl-in-your-c-program/#comment-33805</guid>
    </item>
    <item>
      <title>By Shivesh Wangrungvichaisri</title>
      <description><![CDATA[ If I had a C# program running on mono/linux, can I use the MKL Linux version with my program since this solution is relying on a DLL? ]]></description>
      <link>http://software.intel.com/en-us/articles/using-intel-mkl-in-your-c-program/#comment-34516</link>
      <pubDate>Wed, 11 Nov 2009 14:26:25 -0800</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/articles/using-intel-mkl-in-your-c-program/#comment-34516</guid>
    </item>
    <item>
      <title>By shachris23</title>
      <description><![CDATA[ I have a C# program running on Mono/Linux platform. Does Intel MKL Linux version allow me to integrate the MKL into the Mono implementation as well? If so, is the instruction pretty similar?

Thanks. ]]></description>
      <link>http://software.intel.com/en-us/articles/using-intel-mkl-in-your-c-program/#comment-34517</link>
      <pubDate>Wed, 11 Nov 2009 14:28:06 -0800</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/articles/using-intel-mkl-in-your-c-program/#comment-34517</guid>
    </item>
    <item>
      <title>By Vladimir Koldakov (Intel)</title>
      <description><![CDATA[ Hi,
We do not support Mono at the moment.
I believe it will work if you build custom dynamic library (<mkl_root>/tools/builder) and call it via P/Invoke.
Thanks,
 Vladimir
 ]]></description>
      <link>http://software.intel.com/en-us/articles/using-intel-mkl-in-your-c-program/#comment-34546</link>
      <pubDate>Thu, 12 Nov 2009 00:54:41 -0800</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/articles/using-intel-mkl-in-your-c-program/#comment-34546</guid>
    </item>
    <item>
      <title>By to work this sample</title>
      <description><![CDATA[ only for this version:
nmake ia32 MKLROOT="C:ProgramFileIntelCompile11.1 .51mkl"
and  i need to coy libiomp5md.dll & libiomp5md.lib to de folder IntelCompiler11.1 51mklia32lib ]]></description>
      <link>http://software.intel.com/en-us/articles/using-intel-mkl-in-your-c-program/#comment-34649</link>
      <pubDate>Fri, 13 Nov 2009 02:43:49 -0800</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/articles/using-intel-mkl-in-your-c-program/#comment-34649</guid>
    </item>
    <item>
      <title>By shachris23</title>
      <description><![CDATA[ Just a feedback that as Mono platform grows, it would be real nice if MKL supports that platform. Thanks!! ]]></description>
      <link>http://software.intel.com/en-us/articles/using-intel-mkl-in-your-c-program/#comment-34774</link>
      <pubDate>Mon, 16 Nov 2009 19:00:49 -0800</pubDate>
      <guid isPermaLink="true">http://software.intel.com/en-us/articles/using-intel-mkl-in-your-c-program/#comment-34774</guid>
    </item>
  </channel></rss>