<?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 Steve, in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/libifcoremd-dll-dependency/m-p/843740#M61709</link>
    <description>&lt;P&gt;Steve,&lt;/P&gt;

&lt;P&gt;First off, I'm happy to see you are still doing this after all these years.&amp;nbsp; You've been a great resource for me.&lt;/P&gt;

&lt;P&gt;I'm using Visual Fortran Composer XE 2013 SP1 Update 2 and I want to make it the default that &lt;EM&gt;Fortran/Libraries/Runtime Library&lt;/EM&gt; defaults to &lt;EM&gt;Multithreaded &lt;/EM&gt;for &lt;EM&gt;Release &lt;/EM&gt;mode instead of &lt;EM&gt;Multithreaded DLL&lt;/EM&gt;.&amp;nbsp; I thought that adding &lt;EM&gt;/libs:static&lt;/EM&gt; to &lt;EM&gt;Tools/Options/Intel Compose XE/Visual Fortran/Compilers/Default options &lt;/EM&gt;would do the trick, but every new project defaults to &lt;EM&gt;Multithreaded DLL&lt;/EM&gt;.&lt;/P&gt;

&lt;P&gt;It is really important that I make it the default because I've wasted my time and others' time when I send them an &lt;EM&gt;exe &lt;/EM&gt;that needs the library.&amp;nbsp; Did I miss an important step?&lt;/P&gt;

&lt;P&gt;Marshall&lt;/P&gt;</description>
    <pubDate>Thu, 03 Apr 2014 21:36:59 GMT</pubDate>
    <dc:creator>marshall-l-buhl</dc:creator>
    <dc:date>2014-04-03T21:36:59Z</dc:date>
    <item>
      <title>libifcoremd.dll dependency</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/libifcoremd-dll-dependency/m-p/843729#M61698</link>
      <description>Is it possible to link the intel fortran runtime libs statically to my fortran libs, so my application is not dependent on libifcoremd.dll, libmmd.dll and others?&lt;BR /&gt;I'm using MD runtime library (/LD Compiler switch) and msvc2005. I link my fortran libs to a C++ application.&lt;BR /&gt;Thank you very much.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Oct 2007 07:53:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/libifcoremd-dll-dependency/m-p/843729#M61698</guid>
      <dc:creator>fabian</dc:creator>
      <dc:date>2007-10-15T07:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: libifcoremd.dll dependency</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/libifcoremd-dll-dependency/m-p/843730#M61699</link>
      <description>Yes, you can use /MT or /libs:static /threads&lt;BR /&gt;&lt;BR /&gt;With VS2005, there is no longer a single-threaded static library.&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Oct 2007 12:09:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/libifcoremd-dll-dependency/m-p/843730#M61699</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2007-10-15T12:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: libifcoremd.dll dependency</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/libifcoremd-dll-dependency/m-p/843731#M61700</link>
      <description>Thank you so far. The problem ist, with MT runtime library I get problems with Qt and other packages. Is it possible to have MD runtime library and still link the libifcoremd.lib etc. statically (no dll loading at runtime)?&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Oct 2007 12:26:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/libifcoremd-dll-dependency/m-p/843731#M61700</guid>
      <dc:creator>fabian</dc:creator>
      <dc:date>2007-10-15T12:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: libifcoremd.dll dependency</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/libifcoremd-dll-dependency/m-p/843732#M61701</link>
      <description>No - the library type you specify has to match that of external libraries you are using. If there is a way around this, I'm unaware of it. With MD, you already have to have the MSVC DLLs available (and the specific ones you link against) - why not make the ifort DLLs available too?&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Oct 2007 14:16:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/libifcoremd-dll-dependency/m-p/843732#M61701</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2007-10-15T14:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: libifcoremd.dll dependency</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/libifcoremd-dll-dependency/m-p/843733#M61702</link>
      <description>I want to deploy just an .exe file, with no installer, path setting and dll stuff.&lt;BR /&gt;Is there no linker switch in Visual Fortran to include the whole intel lib into the exe or into another lib?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Oct 2007 15:03:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/libifcoremd-dll-dependency/m-p/843733#M61702</guid>
      <dc:creator>fabian</dc:creator>
      <dc:date>2007-10-16T15:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: libifcoremd.dll dependency</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/libifcoremd-dll-dependency/m-p/843734#M61703</link>
      <description>Into an EXE, yes, and this is a compiler switch. It's "/libs:static /threads" Into another .LIB, no, but you're not deploying a .LIB, are you?&lt;BR /&gt;&lt;BR /&gt;This works fine until you link in some C/C++ code that was built to use the DLL libraries, or some library different than the one you specified. Then the headaches start. This is not a Fortran issue - the C++ compiler actually generates different code for using DLL vs. static libraries - Fortran doesn't.&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Oct 2007 15:20:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/libifcoremd-dll-dependency/m-p/843734#M61703</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2007-10-16T15:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: libifcoremd.dll dependency</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/libifcoremd-dll-dependency/m-p/843735#M61704</link>
      <description>ok, thank you very much.&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Oct 2007 12:22:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/libifcoremd-dll-dependency/m-p/843735#M61704</guid>
      <dc:creator>fabian</dc:creator>
      <dc:date>2007-10-18T12:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: libifcoremd.dll dependency</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/libifcoremd-dll-dependency/m-p/843736#M61705</link>
      <description>&lt;DIV id="tiny_quote"&gt;
                &lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=336209" class="basic" href="https://community.intel.com/en-us/profile/336209/"&gt;Steve Lionel (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;I&gt;
Into an EXE, yes, and this is a compiler switch. It's "/libs:static /threads" Into another .LIB, no, but you're not deploying a .LIB, are you?&lt;BR /&gt;&lt;BR /&gt;This works fine until you link in some C/C++ code that was built to use the DLL libraries, or some library different than the one you specified. Then the headaches start. This is not a Fortran issue - the C++ compiler actually generates different code for using DLL vs. static libraries - Fortran doesn't.&lt;BR /&gt;
&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;Sorry to revive this thread but I am wanting to do exactly what you said that was a headache :). In my solution, I have the Fortran part as a static library, and then the main C++ code would use that library. How do I compile everything into a single exe file? I tried both "Multithreaded (/libs:static /threads)" and "Multithreaded DLL (/libs:dll /threads)" but those 2 dll files are still not built in.&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Dec 2011 17:03:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/libifcoremd-dll-dependency/m-p/843736#M61705</guid>
      <dc:creator>Doug1</dc:creator>
      <dc:date>2011-12-20T17:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: libifcoremd.dll dependency</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/libifcoremd-dll-dependency/m-p/843737#M61706</link>
      <description>If you have indeed specified "Multithreaded (/libs:static /threads)" and rebuilt your Fortran project, then you are linking in some library that was compiled with different options. If you change the linker property Linker &amp;gt; General &amp;gt; Show Progress to "Show some progress messages" (this would be in the C++ project), the build log should show you when it comes across the reference to libifcoremd.lib and give you a clue as to which object is referencing this.</description>
      <pubDate>Tue, 20 Dec 2011 17:55:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/libifcoremd-dll-dependency/m-p/843737#M61706</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2011-12-20T17:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: libifcoremd.dll dependency</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/libifcoremd-dll-dependency/m-p/843738#M61707</link>
      <description>Would you suggest if I should include the whole lib folder for Visual Fortran in the Linker -&amp;gt; General -&amp;gt; Additional Library Directories or just include the necessary libs in Linker -&amp;gt; Input -&amp;gt; Additional Dependencies? The problem with the latter is that I would need to compile and see what is needed and include it and repeat... Would the compiler pick only the needed libs if I go with the former?&lt;BR /&gt;&lt;BR /&gt;BTW, I tried making the solution fresh from start again to make sure there's no other settings and it looks like the "Multithreaded" switch works now.&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Dec 2011 18:58:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/libifcoremd-dll-dependency/m-p/843738#M61707</guid>
      <dc:creator>Doug1</dc:creator>
      <dc:date>2011-12-20T18:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: libifcoremd.dll dependency</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/libifcoremd-dll-dependency/m-p/843739#M61708</link>
      <description>I generally recommend adding the library folder. See &lt;A href="http://software.intel.com/en-us/articles/configuring-visual-studio-for-mixed-language-applications"&gt;here&lt;/A&gt;.</description>
      <pubDate>Tue, 20 Dec 2011 19:23:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/libifcoremd-dll-dependency/m-p/843739#M61708</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2011-12-20T19:23:14Z</dc:date>
    </item>
    <item>
      <title>Steve,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/libifcoremd-dll-dependency/m-p/843740#M61709</link>
      <description>&lt;P&gt;Steve,&lt;/P&gt;

&lt;P&gt;First off, I'm happy to see you are still doing this after all these years.&amp;nbsp; You've been a great resource for me.&lt;/P&gt;

&lt;P&gt;I'm using Visual Fortran Composer XE 2013 SP1 Update 2 and I want to make it the default that &lt;EM&gt;Fortran/Libraries/Runtime Library&lt;/EM&gt; defaults to &lt;EM&gt;Multithreaded &lt;/EM&gt;for &lt;EM&gt;Release &lt;/EM&gt;mode instead of &lt;EM&gt;Multithreaded DLL&lt;/EM&gt;.&amp;nbsp; I thought that adding &lt;EM&gt;/libs:static&lt;/EM&gt; to &lt;EM&gt;Tools/Options/Intel Compose XE/Visual Fortran/Compilers/Default options &lt;/EM&gt;would do the trick, but every new project defaults to &lt;EM&gt;Multithreaded DLL&lt;/EM&gt;.&lt;/P&gt;

&lt;P&gt;It is really important that I make it the default because I've wasted my time and others' time when I send them an &lt;EM&gt;exe &lt;/EM&gt;that needs the library.&amp;nbsp; Did I miss an important step?&lt;/P&gt;

&lt;P&gt;Marshall&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2014 21:36:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/libifcoremd-dll-dependency/m-p/843740#M61709</guid>
      <dc:creator>marshall-l-buhl</dc:creator>
      <dc:date>2014-04-03T21:36:59Z</dc:date>
    </item>
    <item>
      <title>Marshall,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/libifcoremd-dll-dependency/m-p/843741#M61710</link>
      <description>&lt;P&gt;Marshall,&lt;/P&gt;

&lt;P&gt;Thanks for the kind words.&lt;/P&gt;

&lt;P&gt;What you did will cause any applications to be linked to the static libraries. It won't change the project settings, but the options you specify will override the project settings. You can verify this by looking at the build log. There isn't a way to change the project defaults so that you see it represented in the project properties. Please be aware that some libraries, such as OpenMP and coarray support, are provided in DLL form only.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2014 00:22:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/libifcoremd-dll-dependency/m-p/843741#M61710</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2014-04-04T00:22:07Z</dc:date>
    </item>
  </channel>
</rss>

