<?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: Running IA-32 code in VS IDE on 64bit Vista in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Running-IA-32-code-in-VS-IDE-on-64bit-Vista/m-p/890283#M10370</link>
    <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/342379"&gt;ArturGuzik&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; &lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;the only thing you should observe is which libraries you're linking to, 32 or their 64 counterparts. In VS you can easily arrange yourself many different configurations. In general on x64 machine you can build and run both 32 and 64 versions. Just observe your linked libs (the run-time libs are cleverly managed and resolved by Windows itself).&lt;BR /&gt;&lt;BR /&gt;From command line - running -&amp;gt; like every application, use full path or switch to directory where exe is located, type exe name and hit enter. &lt;BR /&gt;If you meant building from command line -&amp;gt; you need to run appropriate environment for compiler (see compiler docs) first, and then you can just run script (makefile) to do the job.&lt;BR /&gt;&lt;BR /&gt;A.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
Hi Artur,&lt;BR /&gt;&lt;BR /&gt;Thanks for the reply. &lt;BR /&gt;&lt;BR /&gt;I thought I was careful about this. Here's the libraries I link for win32 config:&lt;BR /&gt;&lt;BR /&gt;mkl_intel_c.lib mkl_blas95.lib mkl_lapack95.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib&lt;BR /&gt;&lt;BR /&gt;And here's the x64 config libraries:&lt;BR /&gt;&lt;BR /&gt;mkl_blas95_lp64.lib mkl_lapack95_lp64.lib mkl_intel_lp64.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib&lt;BR /&gt;&lt;BR /&gt;I know the error happens in gemm. Is there 32 bit version of the thread/core/libiomp that I have to use?&lt;BR /&gt;&lt;BR /&gt;Thanks a lot,&lt;BR /&gt; alirezA.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 21 Aug 2009 17:42:54 GMT</pubDate>
    <dc:creator>alireza</dc:creator>
    <dc:date>2009-08-21T17:42:54Z</dc:date>
    <item>
      <title>Running IA-32 code in VS IDE on 64bit Vista</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Running-IA-32-code-in-VS-IDE-on-64bit-Vista/m-p/890281#M10368</link>
      <description>This might seem a beginner question but I am a little confused. I was able to run one of the MKL examples in win32 configuration on my 64bit machine. When I wrote my own code, it does compile and linke to the 32 bit libraries, but during debug, as soon as it gets to run gemm (fortran 95 interface) it breaks with an access violation. Then I tried to run to compile/build/run in x64 configuration and it runs without a hitch. &lt;BR /&gt;&lt;BR /&gt;I'm assuming that since the example worked, this is a legitimate expectation of the visual studion ide to run and debug 32bit executables. Even though, on a side, I was also wondering how I can run a win32 executable fromt the command line in vista64?&lt;BR /&gt;&lt;BR /&gt;Any advice on direction will be highly appreciated.&lt;BR /&gt;&lt;BR /&gt;alirezA.</description>
      <pubDate>Wed, 19 Aug 2009 18:42:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Running-IA-32-code-in-VS-IDE-on-64bit-Vista/m-p/890281#M10368</guid>
      <dc:creator>alireza</dc:creator>
      <dc:date>2009-08-19T18:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Running IA-32 code in VS IDE on 64bit Vista</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Running-IA-32-code-in-VS-IDE-on-64bit-Vista/m-p/890282#M10369</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/157585"&gt;alireza@starlite.ucsd.edu&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;This might seem a beginner question but I am a little confused. I was able to run one of the MKL examples in win32 configuration on my 64bit machine. When I wrote my own code, it does compile and linke to the 32 bit libraries, but during debug, as soon as it gets to run gemm (fortran 95 interface) it breaks with an access violation. Then I tried to run to compile/build/run in x64 configuration and it runs without a hitch. &lt;BR /&gt;&lt;BR /&gt;I'm assuming that since the example worked, this is a legitimate expectation of the visual studion ide to run and debug 32bit executables. Even though, on a side, I was also wondering how I can run a win32 executable fromt the command line in vista64?&lt;BR /&gt;&lt;BR /&gt;Any advice on direction will be highly appreciated.&lt;BR /&gt;&lt;BR /&gt;alirezA.&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;the only thing you should observe is which libraries you're linking to, 32 or their 64 counterparts. In VS you can easily arrange yourself many different configurations. In general on x64 machine you can build and run both 32 and 64 versions. Just observe your linked libs (the run-time libs are cleverly managed and resolved by Windows itself).&lt;BR /&gt;&lt;BR /&gt;From command line - running -&amp;gt; like every application, use full path or switch to directory where exe is located, type exe name and hit enter. &lt;BR /&gt;If you meant building from command line -&amp;gt; you need to run appropriate environment for compiler (see compiler docs) first, and then you can just run script (makefile) to do the job.&lt;BR /&gt;&lt;BR /&gt;A.&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Aug 2009 01:05:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Running-IA-32-code-in-VS-IDE-on-64bit-Vista/m-p/890282#M10369</guid>
      <dc:creator>ArturGuzik</dc:creator>
      <dc:date>2009-08-20T01:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Running IA-32 code in VS IDE on 64bit Vista</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Running-IA-32-code-in-VS-IDE-on-64bit-Vista/m-p/890283#M10370</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/342379"&gt;ArturGuzik&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; &lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;the only thing you should observe is which libraries you're linking to, 32 or their 64 counterparts. In VS you can easily arrange yourself many different configurations. In general on x64 machine you can build and run both 32 and 64 versions. Just observe your linked libs (the run-time libs are cleverly managed and resolved by Windows itself).&lt;BR /&gt;&lt;BR /&gt;From command line - running -&amp;gt; like every application, use full path or switch to directory where exe is located, type exe name and hit enter. &lt;BR /&gt;If you meant building from command line -&amp;gt; you need to run appropriate environment for compiler (see compiler docs) first, and then you can just run script (makefile) to do the job.&lt;BR /&gt;&lt;BR /&gt;A.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
Hi Artur,&lt;BR /&gt;&lt;BR /&gt;Thanks for the reply. &lt;BR /&gt;&lt;BR /&gt;I thought I was careful about this. Here's the libraries I link for win32 config:&lt;BR /&gt;&lt;BR /&gt;mkl_intel_c.lib mkl_blas95.lib mkl_lapack95.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib&lt;BR /&gt;&lt;BR /&gt;And here's the x64 config libraries:&lt;BR /&gt;&lt;BR /&gt;mkl_blas95_lp64.lib mkl_lapack95_lp64.lib mkl_intel_lp64.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib&lt;BR /&gt;&lt;BR /&gt;I know the error happens in gemm. Is there 32 bit version of the thread/core/libiomp that I have to use?&lt;BR /&gt;&lt;BR /&gt;Thanks a lot,&lt;BR /&gt; alirezA.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Aug 2009 17:42:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Running-IA-32-code-in-VS-IDE-on-64bit-Vista/m-p/890283#M10370</guid>
      <dc:creator>alireza</dc:creator>
      <dc:date>2009-08-21T17:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Running IA-32 code in VS IDE on 64bit Vista</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Running-IA-32-code-in-VS-IDE-on-64bit-Vista/m-p/890284#M10371</link>
      <description>&lt;DIV style="padding-left: 90px; margin: 0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;I'd recommend you put the Fortran 95 interfaces(mkl_blas95.lib and mkl_lapack95.lib) first on the link line. In other words, try this:&lt;BR /&gt;&lt;BR /&gt; mkl_blas95.lib mkl_lapack95.lib mkl_intel_c.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Aug 2009 20:55:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Running-IA-32-code-in-VS-IDE-on-64bit-Vista/m-p/890284#M10371</guid>
      <dc:creator>Todd_R_Intel</dc:creator>
      <dc:date>2009-08-21T20:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Running IA-32 code in VS IDE on 64bit Vista</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Running-IA-32-code-in-VS-IDE-on-64bit-Vista/m-p/890285#M10372</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/336755"&gt;Todd Rosenquist (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; &lt;BR /&gt;I'd recommend you put the Fortran 95 interfaces(mkl_blas95.lib and mkl_lapack95.lib) first on the link line. In other words, try this:&lt;BR /&gt;&lt;BR /&gt; mkl_blas95.lib mkl_lapack95.lib mkl_intel_c.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Thanks Todd, reordering the libraries worked! Could you exlpain why this should matter? At some point I didn't used mkl_intel_c.lib or the other two and I couldn't build the executable, but does this mean there is some redundancy. And why does the order matter, and how should one determine the proper order? Is there a fundamental reason for this or is it just lack of robustness?&lt;BR /&gt;&lt;BR /&gt;Many thanks,&lt;BR /&gt; alirezA.&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Aug 2009 22:09:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Running-IA-32-code-in-VS-IDE-on-64bit-Vista/m-p/890285#M10372</guid>
      <dc:creator>alireza</dc:creator>
      <dc:date>2009-08-21T22:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: Running IA-32 code in VS IDE on 64bit Vista</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Running-IA-32-code-in-VS-IDE-on-64bit-Vista/m-p/890286#M10373</link>
      <description>&lt;DIV style="margin: 0px; height: auto;"&gt;&lt;/DIV&gt;
It's often helpful to give the libraries in the order which requires the least re-scanning. The blas95 library satisfies all your blas95 references in terms of references in those other libraries, so this order avoids another search pass. The link advisor tool on the right hand column of the forum ought to give you some help with this.&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Aug 2009 23:57:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Running-IA-32-code-in-VS-IDE-on-64bit-Vista/m-p/890286#M10373</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2009-08-21T23:57:09Z</dc:date>
    </item>
  </channel>
</rss>

