<?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 compile code with /MT option? in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/compile-code-with-MT-option/m-p/874229#M8771</link>
    <description>&lt;BR /&gt;In the user's guide for mkl 10 on chapter5 page 7, it says, "To use threaded Intel MKL, it is highly recommended to compile your code with the /MT option. The compiler driver will pass the option to the linker and the latter will load multi-thread (MT) run-time libraries."&lt;BR /&gt;&lt;BR /&gt;As a background, I'm compiling a static fortran lib and linking that into a c++ dll compiled with visual studio, /MD, and libguide40.dll. What is the benefit to compiling the c++ code with /MT vs /MD?&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;Jon&lt;BR /&gt;</description>
    <pubDate>Thu, 12 Jun 2008 19:59:55 GMT</pubDate>
    <dc:creator>knowdat</dc:creator>
    <dc:date>2008-06-12T19:59:55Z</dc:date>
    <item>
      <title>compile code with /MT option?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/compile-code-with-MT-option/m-p/874229#M8771</link>
      <description>&lt;BR /&gt;In the user's guide for mkl 10 on chapter5 page 7, it says, "To use threaded Intel MKL, it is highly recommended to compile your code with the /MT option. The compiler driver will pass the option to the linker and the latter will load multi-thread (MT) run-time libraries."&lt;BR /&gt;&lt;BR /&gt;As a background, I'm compiling a static fortran lib and linking that into a c++ dll compiled with visual studio, /MD, and libguide40.dll. What is the benefit to compiling the c++ code with /MT vs /MD?&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;Jon&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Jun 2008 19:59:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/compile-code-with-MT-option/m-p/874229#M8771</guid>
      <dc:creator>knowdat</dc:creator>
      <dc:date>2008-06-12T19:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: compile code with /MT option?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/compile-code-with-MT-option/m-p/874230#M8772</link>
      <description>/MT ought to be smaller, perhaps faster,than /MD, but the latter should have better diagnostics, if you are trying to trace events which occur ina Microsoftlibrary. I don't think that comment in the user's guide distinguishes between /MD and /MT; rather, it is meant to warn against mixing non-thread-safe libraries of past Microsoft 32-bit compilers with threaded code.</description>
      <pubDate>Thu, 12 Jun 2008 20:33:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/compile-code-with-MT-option/m-p/874230#M8772</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2008-06-12T20:33:29Z</dc:date>
    </item>
  </channel>
</rss>

