<?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 What fortran code can link to mkl library and How to link?  in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/What-fortran-code-can-link-to-mkl-library-and-How-to-link/m-p/866478#M8040</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am a new user of mkl library , I have installed it, but I don't know how to configure itand usewhatfortran code to test .&lt;/P&gt;
&lt;P&gt;I find a lot of .f filesin the directory /opt/intel/mkl/10.0.4.023/examples/... and /opt/intel/mkl/10.0.4.023/tests/...,. Could I use them to test? If not, anyone could give me afortrancode or c code to test it? By the way,could you give me the detailed command oflinkingit to mkllibrary? Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Thu, 16 Oct 2008 08:42:05 GMT</pubDate>
    <dc:creator>zy_8303163_com</dc:creator>
    <dc:date>2008-10-16T08:42:05Z</dc:date>
    <item>
      <title>What fortran code can link to mkl library and How to link?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/What-fortran-code-can-link-to-mkl-library-and-How-to-link/m-p/866478#M8040</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am a new user of mkl library , I have installed it, but I don't know how to configure itand usewhatfortran code to test .&lt;/P&gt;
&lt;P&gt;I find a lot of .f filesin the directory /opt/intel/mkl/10.0.4.023/examples/... and /opt/intel/mkl/10.0.4.023/tests/...,. Could I use them to test? If not, anyone could give me afortrancode or c code to test it? By the way,could you give me the detailed command oflinkingit to mkllibrary? Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 16 Oct 2008 08:42:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/What-fortran-code-can-link-to-mkl-library-and-How-to-link/m-p/866478#M8040</guid>
      <dc:creator>zy_8303163_com</dc:creator>
      <dc:date>2008-10-16T08:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: What fortran code can link to mkl library and How to link?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/What-fortran-code-can-link-to-mkl-library-and-How-to-link/m-p/866479#M8041</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/405295"&gt;zy_8303163.com&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;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am a new user of mkl library , I have installed it, but I don't know how to configure itand usewhatfortran code to test .&lt;/P&gt;
&lt;P&gt;I find a lot of .f filesin the directory /opt/intel/mkl/10.0.4.023/examples/... and /opt/intel/mkl/10.0.4.023/tests/...,. Could I use them to test? If not, anyone could give me afortrancode or c code to test it? By the way,could you give me the detailed command oflinkingit to mkllibrary? Thanks in advance!&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;
&lt;P&gt;Anyone knows this? I indeed need it. who can give me some help? Thanks a lot!!!&lt;/P&gt;</description>
      <pubDate>Mon, 20 Oct 2008 03:20:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/What-fortran-code-can-link-to-mkl-library-and-How-to-link/m-p/866479#M8041</guid>
      <dc:creator>zy_8303163_com</dc:creator>
      <dc:date>2008-10-20T03:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: What fortran code can link to mkl library and How to link?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/What-fortran-code-can-link-to-mkl-library-and-How-to-link/m-p/866480#M8042</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;1. &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: black; font-family: Verdana;"&gt;Could I use them to test?. &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;Yes you can use all examples you can find into $MKLROOT/examples for testing, education and etc.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;2. &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: black; font-family: Verdana;"&gt;If not, anyone could give me afortrancode or c code to test it? &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;FYI: you can find there &lt;SPAN style="mso-spacerun: yes;"&gt;&lt;/SPAN&gt;~ 900 C examples and ~ 1200 f77 and f90 examples. &lt;SPAN style="mso-spacerun: yes;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: black; font-family: Verdana;"&gt;3. could you give me the detailed command oflinkingit to mkllibrary?&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;Go to, for example, into example/solver/ folder.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;You can find there makefie&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;Please open the makefile&lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;and read it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;This is snip from the makefile:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;help:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;&lt;SPAN style="mso-tab-count: 1;"&gt; &lt;/SPAN&gt;@echo Usage: make {lib32/lib64/libem64t} [function=name] &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;&lt;SPAN style="mso-tab-count: 1;"&gt; &lt;/SPAN&gt;@echo [compiler=compiler_name] [interface=interface_name] [threading=threading_name]&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;&lt;SPAN style="mso-tab-count: 1;"&gt; &lt;/SPAN&gt;@echo&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;&lt;SPAN style="mso-tab-count: 1;"&gt; &lt;/SPAN&gt;@echo name&lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;- function name. Please see macro SOLVER&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;&lt;SPAN style="mso-tab-count: 1;"&gt; &lt;/SPAN&gt;@echo&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;&lt;SPAN style="mso-tab-count: 1;"&gt; &lt;/SPAN&gt;@echo compiler_name&lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;- can be gnu or intel. Default value is intel. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;&lt;SPAN style="mso-tab-count: 1;"&gt; &lt;/SPAN&gt;@echo&lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;Intel  Compilers as default.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;&lt;SPAN style="mso-tab-count: 1;"&gt; &lt;/SPAN&gt;@echo&lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;If compiler=gnu then GNU gfortran compiler will be used. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;&lt;SPAN style="mso-tab-count: 1;"&gt; &lt;/SPAN&gt;@echo&lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;To use g77 add FC=g77. FC=g77 cannot be used with ilp64 interface.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;&lt;SPAN style="mso-tab-count: 1;"&gt; &lt;/SPAN&gt;@echo&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;&lt;SPAN style="mso-tab-count: 1;"&gt; &lt;/SPAN&gt;@echo interface_name&lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;- can be lp64 or ilp64 for em64t and ia64. Default value is lp64.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;&lt;SPAN style="mso-tab-count: 1;"&gt; &lt;/SPAN&gt;@echo &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;&lt;SPAN style="mso-tab-count: 1;"&gt; &lt;/SPAN&gt;@echo threading_name&lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;- can be parallel or sequential. Default value is parallel.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;##------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;## examples of using:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;##&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;## make lib32 function=dss_sym_c&lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;- build by Intel C Compiler and Intel Fortran Compiler (as default) and&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;##&lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;run DSS_SYM example for 32-bit applications,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;##&lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;static linking&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;##&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;## make lib64 compiler=gnu&lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;- build by GNU compilers and run all examples of MKL&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;##&lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;for Intel Itanium processor family applications, static&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;##&lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;linking&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;##------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;So, I hope it will help you to build the tests and evaluate the MKL.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana;"&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: maroon; font-family: Verdana; mso-no-proof: yes;"&gt;--Gennady&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Oct 2008 05:55:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/What-fortran-code-can-link-to-mkl-library-and-How-to-link/m-p/866480#M8042</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2008-10-21T05:55:40Z</dc:date>
    </item>
  </channel>
</rss>

