<?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: Blas Library on 64-bit in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Blas-Library-on-64-bit/m-p/869757#M8350</link>
    <description>&lt;DIV style="margin: 0px; height: auto;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;Ankur,&lt;BR /&gt;&lt;BR /&gt;If you are linking your 64-bit application with MKL *_ilp64 libary then you need to add -i8 flag for Fortran compiler. So, INTEGER wil become as INTEGER*8. In case if you want to use just INTEGER please try to link with MKL *_lp64 library.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;-- Victor</description>
    <pubDate>Wed, 09 Dec 2009 06:41:25 GMT</pubDate>
    <dc:creator>barragan_villanueva_</dc:creator>
    <dc:date>2009-12-09T06:41:25Z</dc:date>
    <item>
      <title>Blas Library on 64-bit</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Blas-Library-on-64-bit/m-p/869753#M8346</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I recently upgraded to a 64-bit processor but have been unable to obtain a working 64-bit executable.  My code uses BLAS libraries and in the past (on 32-bit) I linked using mkl_c.lib which works perfectly fine.  Initially, when trying to build the same on 64-bit machine, I was having linking issues which was solved by replacing mkl_c.lib with mkl_em64t.lib.  However, the executable crashes due to NaNs in the very first step!  &lt;BR /&gt;&lt;BR /&gt;Please note that the source code has no OpenMP directives and the compilation script is straightforward:&lt;BR /&gt;#&lt;BR /&gt;ifort -c /Od prog1.f&lt;BR /&gt;ifort -c /Od prog2.f&lt;BR /&gt;ifort -o prog.exe prog1.obj prog2.obj libguide40.lib mkl_em64t.lib&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;Steps I have taken thus far:&lt;BR /&gt;&lt;BR /&gt;&lt;OL&gt;
&lt;LI&gt;compiled with and without optimization on both 64-bit and 32-bit environment on the 64-bit machine. &lt;/LI&gt;
&lt;LI&gt;ran test case separately with the 2 executables.&lt;/LI&gt;
&lt;LI&gt;32-bit executable works just fine (at least the one without optimization; did not test the one with, yet); 64-bit crashes (both with and without optimization).&lt;/LI&gt;
&lt;LI&gt;Followed MKL Link Line Advisor (&lt;A target="_blank" 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;) and replaced mkl_64emt.lib with "mkl_solver_lp64_sequential.lib mkl_intel_lp64.lib mkl_sequential.lib mkl_core.lib" --&amp;gt; 64-bit crashes&lt;/LI&gt;
&lt;LI&gt;Replaced mkl_64emt.lib with "mkl_solver_ilp64_sequential.lib mkl_intel_ilp64.lib mkl_sequential.lib mkl_core.lib" --&amp;gt; 64-bit crashes&lt;/LI&gt;
&lt;/OL&gt;&lt;BR /&gt;Note that there are no errors/warnings when compiling or linking.&lt;BR /&gt;&lt;BR /&gt;I have tried another set of code that does NOT require BLAS library which worked just fine.  Further, in the past I used individual BLAS routine files (instead of MKL library) and tried doing the same in the 64-bit environment but that did not work either!  &lt;BR /&gt;&lt;BR /&gt;I am including the relevant details below.&lt;BR /&gt;&lt;BR /&gt;Intel Compiler: &lt;B&gt;11.0.066 (Build 20081105)&lt;/B&gt;&lt;BR /&gt;MKL           : &lt;B&gt;10.0.4.023&lt;/B&gt;&lt;BR /&gt;Processor : &lt;B&gt;W5590 Xeon&lt;/B&gt;&lt;BR /&gt;Operating Sys : &lt;B&gt;Windows 7 (64-bit)&lt;BR /&gt;&lt;/B&gt;&lt;BR /&gt;What am I missing? doing wrong?&lt;BR /&gt;&lt;BR /&gt;I saw an article specifically highlighting the MKL support for Nehalem architecture (&lt;A target="_blank" href="http://software.intel.com/en-us/articles/mkl-supports-nehalem/"&gt;http://software.intel.com/en-us/articles/mkl-supports-nehalem/&lt;/A&gt;).  My version of MKL is older.  Is it a compatibility issue related to 64-bit build? &lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;B&gt;UPDATE: &lt;/B&gt;&lt;/SPAN&gt;2009/12/04 (12:00 PST)&lt;BR /&gt;Interestingly, I also have noticed that if I run the 32-bit executable from the build environment, it ends unsuccessfully (yes, contrary to what I mentioned earlier). However, if I were to run it from the explorer window (that is, simply double-click the exe) then the run is successful! Any ideas?&lt;BR /&gt;&lt;BR /&gt;Thanks for your help.&lt;BR /&gt;Ankur &lt;BR /&gt;</description>
      <pubDate>Fri, 04 Dec 2009 09:04:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Blas-Library-on-64-bit/m-p/869753#M8346</guid>
      <dc:creator>Ankur_Agarwal</dc:creator>
      <dc:date>2009-12-04T09:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: Blas Library on 64-bit</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Blas-Library-on-64-bit/m-p/869754#M8347</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
hi,&lt;BR /&gt;possible that the reason for this behaivior is that Compiler v.11.066 contains MKL version 10.1. see &lt;A href="http://software.intel.com/en-us/articles/which-version-of-ipp--mkl--tbb-is-installed-with-intel-compiler-professional-edition/"&gt;article &lt;/A&gt;to determine which version of Intel MKL is installed with Intel Compiler. &lt;BR /&gt;or &lt;BR /&gt;Windows 7 - is not supported by this version of MKL officially ( see the release notes for this version ). &lt;BR /&gt;--Gennady&lt;BR /&gt;</description>
      <pubDate>Sun, 06 Dec 2009 05:30:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Blas-Library-on-64-bit/m-p/869754#M8347</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2009-12-06T05:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Blas Library on 64-bit</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Blas-Library-on-64-bit/m-p/869755#M8348</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
Ankur,&lt;BR /&gt;Can you check this problem on WinXP? or&lt;BR /&gt;Can you send us the test case for checking the problem on our side?&lt;BR /&gt;--Gennady&lt;BR /&gt;</description>
      <pubDate>Sun, 06 Dec 2009 05:33:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Blas-Library-on-64-bit/m-p/869755#M8348</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2009-12-06T05:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Blas Library on 64-bit</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Blas-Library-on-64-bit/m-p/869756#M8349</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/334681"&gt;Gennady Fedorov (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; Ankur,&lt;BR /&gt;Can you check this problem on WinXP? or&lt;BR /&gt;Can you send us the test case for checking the problem on our side?&lt;BR /&gt;--Gennady&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
Gennady,&lt;BR /&gt;&lt;BR /&gt;Thank you for you responses. &lt;BR /&gt;&lt;BR /&gt;As far as the MKL contained inside the compiler is concerned, I tested the very version by altering the path to the independently installed MKL and it did not work out. &lt;BR /&gt;&lt;BR /&gt;I unfortunately do not have XP 64-bit to test it on, but did test the same on Vista and worked without any hiccups. I am guessing its a compatibility issue with Windows 7. As far the test case is concerned, I unfortunately do not have the power to decide but will discuss with the powers that be and get back to you on that.&lt;BR /&gt;&lt;BR /&gt;Do you have any thoughts about the weird behavior with 32-bit compiled executable? &lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;Ankur&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Dec 2009 04:14:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Blas-Library-on-64-bit/m-p/869756#M8349</guid>
      <dc:creator>Ankur_Agarwal</dc:creator>
      <dc:date>2009-12-08T04:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Blas Library on 64-bit</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Blas-Library-on-64-bit/m-p/869757#M8350</link>
      <description>&lt;DIV style="margin: 0px; height: auto;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;Ankur,&lt;BR /&gt;&lt;BR /&gt;If you are linking your 64-bit application with MKL *_ilp64 libary then you need to add -i8 flag for Fortran compiler. So, INTEGER wil become as INTEGER*8. In case if you want to use just INTEGER please try to link with MKL *_lp64 library.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;-- Victor</description>
      <pubDate>Wed, 09 Dec 2009 06:41:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Blas-Library-on-64-bit/m-p/869757#M8350</guid>
      <dc:creator>barragan_villanueva_</dc:creator>
      <dc:date>2009-12-09T06:41:25Z</dc:date>
    </item>
  </channel>
</rss>

