<?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: Library Links/Architecture in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Library-Links-Architecture/m-p/877009#M9058</link>
    <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
Thanks - using source at least helped the .cshrc file. I'm still not entirely sure on the 32 vs 64 bit but it seems happier with 64 for now. Any suggestions on how to decide if I need 32 or 64 bit integers, and multi-thread or sequential format? I'm getting my links from the Intel Library Link Line Advisor and it wants to know those options.
&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;Also, slightly unrelated, the Library Link Line Advisor always has -lphread at the end, but it seems like it should be -lpthread. True?&lt;/DIV&gt;</description>
    <pubDate>Thu, 18 Jun 2009 21:10:47 GMT</pubDate>
    <dc:creator>courtiamjmu_edu</dc:creator>
    <dc:date>2009-06-18T21:10:47Z</dc:date>
    <item>
      <title>Library Links/Architecture</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Library-Links-Architecture/m-p/877007#M9056</link>
      <description>I am new to Intel Fortran and MKL and cannot get the libraries to link properties. I appreciate any help you can give!
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;I either get a message like:
&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;ld warning: file is not of required architecture or&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;ld: library not found for -lmkl_intel&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;I'm using the FFTW package and have compiled the wrappers in /mkl/interfaces and run make lib32 and make libem64t&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;I'm not sure what my architecture is supposed to be, as I've tried all of the options in the MKL Library Link generator for my DYLD_LIBRARY_PATH and LIBRARY_PATH environmental variables and nothing has run successfully.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;Running /tools/environment/mklvars32.csh or the 64-bit version does not seem to set or change any of my environmental variables.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;I am running (or trying to run) Intel Fortran Compiler with MKL for Mac OSX v. 11.0/064&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;I am running Mac OS X 10.5.7 on the following machine:&lt;/DIV&gt;
&lt;DIV&gt;Model Name: Mac Pro&lt;/DIV&gt;
&lt;DIV&gt;Model Identifier:MacPro3,1&lt;/DIV&gt;
&lt;DIV&gt;Processor Name:Quad-Core Intel Xeon&lt;/DIV&gt;
&lt;DIV&gt;Processor Speed:2.8 GHz&lt;/DIV&gt;
&lt;DIV&gt;Number Of Processors:2&lt;/DIV&gt;
&lt;DIV&gt;Total Number Of Cores:8&lt;/DIV&gt;
&lt;DIV&gt;L2 Cache (per processor):12 MB&lt;/DIV&gt;
&lt;DIV&gt;Memory: 4 GB&lt;/DIV&gt;
&lt;DIV&gt;Bus Speed: 1.6 GHz&lt;/DIV&gt;
&lt;DIV&gt;Boot ROM Version:MP31.006C.B05&lt;/DIV&gt;
&lt;DIV&gt;SMC Version (system):1.25f4&lt;/DIV&gt;
&lt;DIV&gt;Serial Number (system):G881934XXYL&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 18 Jun 2009 19:11:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Library-Links-Architecture/m-p/877007#M9056</guid>
      <dc:creator>courtiamjmu_edu</dc:creator>
      <dc:date>2009-06-18T19:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Library Links/Architecture</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Library-Links-Architecture/m-p/877008#M9057</link>
      <description>&lt;DIV style="margin:0px;"&gt;You might have just run the env script rather than 'sourcing' it. For example, I use the following: "source ./mklvarsem64t.sh".&lt;BR /&gt;&lt;BR /&gt;You're OS might run both 32- and 64-bit programs, but certainly you'll want to match the libraries against the program you are compiling. Perhaps you could use the -V compiler option.&lt;BR /&gt;&lt;BR /&gt;Todd&lt;/DIV&gt;</description>
      <pubDate>Thu, 18 Jun 2009 20:12:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Library-Links-Architecture/m-p/877008#M9057</guid>
      <dc:creator>Todd_R_Intel</dc:creator>
      <dc:date>2009-06-18T20:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: Library Links/Architecture</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Library-Links-Architecture/m-p/877009#M9058</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
Thanks - using source at least helped the .cshrc file. I'm still not entirely sure on the 32 vs 64 bit but it seems happier with 64 for now. Any suggestions on how to decide if I need 32 or 64 bit integers, and multi-thread or sequential format? I'm getting my links from the Intel Library Link Line Advisor and it wants to know those options.
&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;Also, slightly unrelated, the Library Link Line Advisor always has -lphread at the end, but it seems like it should be -lpthread. True?&lt;/DIV&gt;</description>
      <pubDate>Thu, 18 Jun 2009 21:10:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Library-Links-Architecture/m-p/877009#M9058</guid>
      <dc:creator>courtiamjmu_edu</dc:creator>
      <dc:date>2009-06-18T21:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Library Links/Architecture</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Library-Links-Architecture/m-p/877010#M9059</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/432285"&gt;courtiamjmu.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; Thanks - using source at least helped the .cshrc file. I'm still not entirely sure on the 32 vs 64 bit but it seems happier with 64 for now. Any suggestions on how to decide if I need 32 or 64 bit integers, and multi-thread or sequential format? I'm getting my links from the Intel Library Link Line Advisor and it wants to know those options.
&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;Also, slightly unrelated, the Library Link Line Advisor always has -lphread at the end, but it seems like it should be -lpthread. True?&lt;/DIV&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
You must use the 32- or 64-bit MKL corresponding to the mode for which you compiled. If you use the Intel64 or em64t compiler, or the gnu 64-bit compiler without -m32 option, it requires the 64-bit em64t MKL.&lt;BR /&gt;The 32- or 64-bit integers correspond to the data types you use when calling the MKL functions. &lt;BR /&gt;Multi-thread means that the MKL function itself may add threads; this is usually done when you don't call MKL from threads in your own application. You might want to start with sequential, and later check whether thread gives you better performance.&lt;BR /&gt;When I looked at the advisor, I wasn't sure why it seemed to be mixing up the static and dynamic link options. Dynamic is usually a good starting point.&lt;BR /&gt;Right on the spelling of pthread. That option is supplied for you if you link with the OpenMP option of a compiler. The mkl_sequential option doesn't require OpenMP or pthread libraries, unless you use them elsewhere in your application.&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Jun 2009 00:00:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Library-Links-Architecture/m-p/877010#M9059</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2009-06-19T00:00:50Z</dc:date>
    </item>
  </channel>
</rss>

