<?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 Hello Sergey, in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-ATL-DLL-Register-Error-32-bit-vs-64-bit/m-p/814374#M4163</link>
    <description>&lt;P&gt;Hello Sergey,&lt;/P&gt;
&lt;P&gt;Thanks for following-up on my question. &amp;nbsp;I have not tried your solution as I have moved on to other development projects (I had originally asked the question in 2011), but I agree with your assertion that it is indeed a configuration issue. &amp;nbsp;I was able to get things working as indicated in my comment on&amp;nbsp;Thu, 06/02/2011 - 07:28----granted, this was not a very elegant way of resolving my issue. =)&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Brian&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jul 2013 15:59:00 GMT</pubDate>
    <dc:creator>Mullins__Brian</dc:creator>
    <dc:date>2013-07-24T15:59:00Z</dc:date>
    <item>
      <title>Intel MKL + ATL DLL Register Error 32-bit vs 64-bit</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-ATL-DLL-Register-Error-32-bit-vs-64-bit/m-p/814369#M4158</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am trying to write a dll (ALT/COM) in Visual Studio 2010 for use in Excel/VBA. My development system specs are as follows:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Operating System: Windows 7 (64-bit)&lt;/LI&gt;
&lt;LI&gt;Development Environment: Visual Studio 2010&lt;/LI&gt;
&lt;LI&gt;Intel MKL Version: 10.3.4&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;BR /&gt;I should mention that even though my development computer is 64-bit, I am compiling (on purpose) a 32-bit dll.&lt;/P&gt;
&lt;P&gt;Everything works fine on my development box (I can compile, register, reference and use the dll in Excel/VBA), but when I try register the dll on another user's computer (Windows 7, 32-bit), regsvr32 gives me the error 'The module "myname.dll" failed to load'. I am running regsvr32 from an elevated command promp and I have installed the VC++ 2010 runtime libraries on the user's computer. I have also copied the Intel MKL redist directory ("C:\\Program Files\\Intel\\ComposerXE-2011\\redist") on the user's computer and added "C:\\Program Files (x86)\\Intel\\ComposerXE-2011\\redist\\ia32" to the system's PATH environment variable. Thinking that I may have missed a reference, I ran "Dependancy Walker" on my dll and saw that it is referencing the 64-bit version of MKL_INTEL_THREAD.DLL and MKL_CORE.DLL. I have tried to find in Visual Studio 2010 a way to reference the 32-bit versions, but I don't see any options to do so. As I said, I am already compiling my dll as 32-bit (it says Win32 in Visual Studio) and I don't know what else to do. Does anyone have any ideas?&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2011 19:03:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-ATL-DLL-Register-Error-32-bit-vs-64-bit/m-p/814369#M4158</guid>
      <dc:creator>Mullins__Brian</dc:creator>
      <dc:date>2011-05-30T19:03:31Z</dc:date>
    </item>
    <item>
      <title>Intel MKL + ATL DLL Register Error 32-bit vs 64-bit</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-ATL-DLL-Register-Error-32-bit-vs-64-bit/m-p/814370#M4159</link>
      <description>If you are following the advice of the link advisor at the top of this forum for 32-bit link, and you still get apparent dependencies on the 64-bit MKL libraries, I suppose you could try hiding the 64-bit part of the MKL installation (move it to a renamed folder, zip it, ....) and see what happens with the build.&lt;BR /&gt;I'm not clear from your description whether you are setting paths for 32-bit MKL libraries in your Visual Studio additional dependencies.&lt;BR /&gt;If you continue to have difficulty, you might consider submitting a case including at least the files involved in your link step (should not need to include source) under your support account at premier.intel.com.</description>
      <pubDate>Thu, 02 Jun 2011 13:19:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-ATL-DLL-Register-Error-32-bit-vs-64-bit/m-p/814370#M4159</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2011-06-02T13:19:18Z</dc:date>
    </item>
    <item>
      <title>Intel MKL + ATL DLL Register Error 32-bit vs 64-bit</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-ATL-DLL-Register-Error-32-bit-vs-64-bit/m-p/814371#M4160</link>
      <description>Hello Tim,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks for your reply and for your suggestion...it worked! I renamed the "Intel64" folder and recompiled my 32-bit DLL...Visual Studio used the 32-bit versions of the MKL DLLs. To answer your question, I did not explicitly set the paths for the MKL libraries in Visual Studio. I am using Visual Studio 2010 with the "built-in" MKL option (Project &amp;gt; Properties &amp;gt; Configuration Properties &amp;gt; Intel Performance Libraries &amp;gt; Use MKL &amp;gt; Parallel). I assume that this "built-in" option sets the paths to the MKL libraries behind the scenes, but there is no option for 32- vs 64-bit. Of course, when I used Visual Studio 2008, I had no choice but to set the paths manually and I had no issues. Perhaps the Visual Studio 2010 integration of the MKL libraries defaults to the type (32- or 64-bit) of operating system. If this is the case, I'd recommend that an additional option be added to allow the user to choose 32- or 64-bit libraries.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Cheers!&lt;/DIV&gt;</description>
      <pubDate>Thu, 02 Jun 2011 14:28:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-ATL-DLL-Register-Error-32-bit-vs-64-bit/m-p/814371#M4160</guid>
      <dc:creator>Mullins__Brian</dc:creator>
      <dc:date>2011-06-02T14:28:53Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;...when I try register the</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-ATL-DLL-Register-Error-32-bit-vs-64-bit/m-p/814372#M4161</link>
      <description>&amp;gt;&amp;gt;...when I try register the dll on another user's computer (Windows 7, 32-bit), regsvr32 gives me the error 'The module
&amp;gt;&amp;gt;"myname.dll" failed to load'...
&amp;gt;&amp;gt;...
&amp;gt;&amp;gt;...I ran "Dependancy Walker" on my dll and saw that it is referencing the 64-bit version of MKL_INTEL_THREAD.DLL and
&amp;gt;&amp;gt;MKL_CORE.DLL. I have tried to find in Visual Studio 2010 a way to reference the 32-bit versions, but I don't see any
&amp;gt;&amp;gt;options to do so.

I consider it as a project configuration issue because 64-bit DLLs are referenced for the 32-bit application. You could try to use a different approach, like:
...
#if defined ( _MKL_SUPPORT_ )
	#include "mkl.h"
	#if ( defined ( _M_IX86 ) )
	#pragma comment ( lib, "[ a path to 32-bit folder ]\mkl_rt.lib" )
	#pragma comment ( lib, "[ a path to 32-bit folder ]\mkl_core.lib" )
	#endif
	#if ( defined ( _M_X64 ) || defined ( _M_AMD64 ) || defined ( _M_IA64 ) )
	#pragma comment ( lib, "[ a path to 64-bit folder ]\mkl_rt.lib" )
	#pragma comment ( lib, "[ a path to 64-bit folder ]\mkl_core.lib" )
	#endif
#endif
...

Also, you need to verify Visual Studio settings for Directories, like Include and Libraries.</description>
      <pubDate>Fri, 17 May 2013 14:15:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-ATL-DLL-Register-Error-32-bit-vs-64-bit/m-p/814372#M4161</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-05-17T14:15:00Z</dc:date>
    </item>
    <item>
      <title>This is a follow up: Brian,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-ATL-DLL-Register-Error-32-bit-vs-64-bit/m-p/814373#M4162</link>
      <description>This is a follow up: Brian, did you resolve the problem?</description>
      <pubDate>Wed, 24 Jul 2013 13:31:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-ATL-DLL-Register-Error-32-bit-vs-64-bit/m-p/814373#M4162</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-07-24T13:31:44Z</dc:date>
    </item>
    <item>
      <title>Hello Sergey,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-ATL-DLL-Register-Error-32-bit-vs-64-bit/m-p/814374#M4163</link>
      <description>&lt;P&gt;Hello Sergey,&lt;/P&gt;
&lt;P&gt;Thanks for following-up on my question. &amp;nbsp;I have not tried your solution as I have moved on to other development projects (I had originally asked the question in 2011), but I agree with your assertion that it is indeed a configuration issue. &amp;nbsp;I was able to get things working as indicated in my comment on&amp;nbsp;Thu, 06/02/2011 - 07:28----granted, this was not a very elegant way of resolving my issue. =)&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Brian&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2013 15:59:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-ATL-DLL-Register-Error-32-bit-vs-64-bit/m-p/814374#M4163</guid>
      <dc:creator>Mullins__Brian</dc:creator>
      <dc:date>2013-07-24T15:59:00Z</dc:date>
    </item>
    <item>
      <title>Regarding your solution: It</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-ATL-DLL-Register-Error-32-bit-vs-64-bit/m-p/814375#M4164</link>
      <description>Regarding your solution: It is OK if it worked! Thanks for the confirmation that the problem is resolved.</description>
      <pubDate>Thu, 25 Jul 2013 14:38:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Intel-MKL-ATL-DLL-Register-Error-32-bit-vs-64-bit/m-p/814375#M4164</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-07-25T14:38:09Z</dc:date>
    </item>
  </channel>
</rss>

