<?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 I have a theory on the in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Select-intel-fortran-comiler-version-in-visual-studio/m-p/1107836#M128564</link>
    <description>&lt;P&gt;I have a theory on the compilervars issue - let me dig into this and I'll get back to you.&lt;/P&gt;

&lt;P&gt;When you use the Intel compilervars (and have Intel C++ installed), the include path includes Intel C++ headers that may not be right for MSVC. You can ask in the C++ forum whether or not this is important - I don't know.&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jun 2016 13:17:08 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2016-06-29T13:17:08Z</dc:date>
    <item>
      <title>Select intel fortran comiler version in visual studio</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Select-intel-fortran-comiler-version-in-visual-studio/m-p/1107822#M128550</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I have a big visual studio solution containing c++ and fortran projects. The solution is built using devenv from the command line.&lt;/P&gt;

&lt;P&gt;I have several fortran compilers installed (2013 and 2015). How can I select which compiler to use at build time, from the command line?&lt;/P&gt;

&lt;P&gt;I am aware of the option from Tool-Options-Intel compilers and tools, but I have found no way to do this from the command line.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Jens&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2016 08:48:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Select-intel-fortran-comiler-version-in-visual-studio/m-p/1107822#M128550</guid>
      <dc:creator>Jens_E_</dc:creator>
      <dc:date>2016-06-24T08:48:48Z</dc:date>
    </item>
    <item>
      <title>Each fortran version has its</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Select-intel-fortran-comiler-version-in-visual-studio/m-p/1107823#M128551</link>
      <description>&lt;P&gt;Each fortran version has its own command prompt on the start menu doesn't it? I can't check as I uninstalled all my many old versions recently. I would guess that if you run in the relevant command prompt you get that compiler.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2016 10:03:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Select-intel-fortran-comiler-version-in-visual-studio/m-p/1107823#M128551</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2016-06-24T10:03:02Z</dc:date>
    </item>
    <item>
      <title>I'm not using the fortran</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Select-intel-fortran-comiler-version-in-visual-studio/m-p/1107824#M128552</link>
      <description>&lt;P&gt;I'm not using the fortran compiler executable, I'm using devenv from the command line as I need to build the entire solution at once.&lt;/P&gt;

&lt;P&gt;Yes, I could of course create my own build script to control which fortran compiler to invoke, but I want to use devenv as automatic as possible.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Jens&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2016 10:05:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Select-intel-fortran-comiler-version-in-visual-studio/m-p/1107824#M128552</guid>
      <dc:creator>Jens_E_</dc:creator>
      <dc:date>2016-06-24T10:05:30Z</dc:date>
    </item>
    <item>
      <title>From within the relevant</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Select-intel-fortran-comiler-version-in-visual-studio/m-p/1107825#M128553</link>
      <description>&lt;P&gt;From within the relevant command prompt for the compiler version of interest, add the /useenv switch to the devenv command line that you use to start the build.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I expect mild chaos to result if the platform of the command line that you are working in does not match the platform that you build.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2016 10:24:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Select-intel-fortran-comiler-version-in-visual-studio/m-p/1107825#M128553</guid>
      <dc:creator>IanH</dc:creator>
      <dc:date>2016-06-24T10:24:32Z</dc:date>
    </item>
    <item>
      <title>/useenv is only for the C++</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Select-intel-fortran-comiler-version-in-visual-studio/m-p/1107826#M128554</link>
      <description>&lt;P&gt;/useenv is only for the C++ env. variables and libraries, no?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2016 12:31:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Select-intel-fortran-comiler-version-in-visual-studio/m-p/1107826#M128554</guid>
      <dc:creator>Jens_E_</dc:creator>
      <dc:date>2016-06-24T12:31:18Z</dc:date>
    </item>
    <item>
      <title>Ian's suggestion is exactly</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Select-intel-fortran-comiler-version-in-visual-studio/m-p/1107827#M128555</link>
      <description>&lt;P&gt;Ian's suggestion is exactly what you want to do. It will establish the Fortran environment that you have selected from the command prompt.&lt;/P&gt;

&lt;P&gt;Note that the build log and output won't correctly identify the compiler version being used, so don't pay attention to that. You can set the property Fortran &amp;gt; General &amp;gt; Suppress Startup Banner to No to get the compiler to tell you which version it is using. I'll warn that the VS integration might use compiler options not supported in older versions if you do it this way.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2016 14:04:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Select-intel-fortran-comiler-version-in-visual-studio/m-p/1107827#M128555</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2016-06-24T14:04:55Z</dc:date>
    </item>
    <item>
      <title>Ok, I think I understand now.</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Select-intel-fortran-comiler-version-in-visual-studio/m-p/1107828#M128556</link>
      <description>&lt;P&gt;Ok, I think I understand now. Thanks.&lt;/P&gt;

&lt;P&gt;Is it possible to set the environment variables in a windows command prompt, so that this windows command prompt effectively is equivalent to a intel fortran compiler command prompt?&lt;/P&gt;

&lt;P&gt;I'm using teamcity to build my vs solution, so I do not have easy access to an intel fortran command prompt.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2016 14:45:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Select-intel-fortran-comiler-version-in-visual-studio/m-p/1107828#M128556</guid>
      <dc:creator>Jens_E_</dc:creator>
      <dc:date>2016-06-24T14:45:45Z</dc:date>
    </item>
    <item>
      <title>In your chosen command prompt</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Select-intel-fortran-comiler-version-in-visual-studio/m-p/1107829#M128557</link>
      <description>&lt;P&gt;In your chosen command prompt, use:&lt;/P&gt;

&lt;P&gt;call "path-to-version-specific-compilervars,bat" platformname vsversion&lt;/P&gt;

&lt;P&gt;where platformname is ia32 or intel64 and vsversion is the version of VS you want to use (vs2010, vs2012, etc.)&lt;/P&gt;

&lt;P&gt;For example:&lt;/P&gt;

&lt;P&gt;call "C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2016.2.180\windows\bin\compilervars.bat" intel64 vs2013&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2016 16:19:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Select-intel-fortran-comiler-version-in-visual-studio/m-p/1107829#M128557</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2016-06-24T16:19:55Z</dc:date>
    </item>
    <item>
      <title>Thanks! This seems to work.</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Select-intel-fortran-comiler-version-in-visual-studio/m-p/1107830#M128558</link>
      <description>&lt;P&gt;Thanks! This seems to work for the fortran compiler.&lt;/P&gt;

&lt;P&gt;However, it breaks something regarding the c++ compiler. With /useenv I get the following error message for the c++ projects:&lt;/P&gt;

&lt;P&gt;TRACKER : error TRK0002: Failed to execute command: ""C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\CL.exe"&amp;nbsp;@C:\Users\JEFT\AppData\Local\Temp\tmpf3e0b205768041b6a3d590dbee6c5b75.rsp". The handle is invalid.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Any idea?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2016 10:51:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Select-intel-fortran-comiler-version-in-visual-studio/m-p/1107830#M128558</guid>
      <dc:creator>Jens_E_</dc:creator>
      <dc:date>2016-06-28T10:51:00Z</dc:date>
    </item>
    <item>
      <title>I can't imagine what would be</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Select-intel-fortran-comiler-version-in-visual-studio/m-p/1107831#M128559</link>
      <description>&lt;P&gt;I can't imagine what would be the problem here. All of the VS environment should be set up. The error you got does not suggest an environment problem but maybe some background process interfering with temporary files.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2016 12:39:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Select-intel-fortran-comiler-version-in-visual-studio/m-p/1107831#M128559</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2016-06-28T12:39:32Z</dc:date>
    </item>
    <item>
      <title>ok, thanks.</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Select-intel-fortran-comiler-version-in-visual-studio/m-p/1107832#M128560</link>
      <description>&lt;P&gt;ok, thanks.&lt;/P&gt;

&lt;P&gt;I also get this warning at the beginning of the build (after selecting the intel compiler 2015 environment for intel64, vs2010):&amp;nbsp;Package 'Intel.Fortran.IFLangService.IFLangServicePackage, IFLangService, Version=16.0.0.0, Culture=neutral, PublicKeyToken=null' failed to load.&lt;/P&gt;

&lt;P&gt;But that seems to be unrelated to my other issue.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2016 13:22:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Select-intel-fortran-comiler-version-in-visual-studio/m-p/1107832#M128560</guid>
      <dc:creator>Jens_E_</dc:creator>
      <dc:date>2016-06-28T13:22:40Z</dc:date>
    </item>
    <item>
      <title>Some additional information:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Select-intel-fortran-comiler-version-in-visual-studio/m-p/1107833#M128561</link>
      <description>&lt;P&gt;Some additional information:&lt;/P&gt;

&lt;P&gt;I want to build the c++ projects in my solution using vs2010 sp1. I know there is a significant difference between sp1 and not. Is this an issue?&lt;/P&gt;

&lt;P&gt;I also have vs2013 and vs2015 installed. Does this imply any potential conflicts?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2016 13:41:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Select-intel-fortran-comiler-version-in-visual-studio/m-p/1107833#M128561</guid>
      <dc:creator>Jens_E_</dc:creator>
      <dc:date>2016-06-28T13:41:29Z</dc:date>
    </item>
    <item>
      <title>I have seen the IFLangService</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Select-intel-fortran-comiler-version-in-visual-studio/m-p/1107834#M128562</link>
      <description>&lt;P&gt;I have seen the IFLangService warning but haven't noticed any ill effects of that. You should definitely use the latest SP of VS2010 - especially SP1 as that changed many things Fortran uses. That you also have VS2013 and 2015 does not matter.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2016 14:00:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Select-intel-fortran-comiler-version-in-visual-studio/m-p/1107834#M128562</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2016-06-28T14:00:39Z</dc:date>
    </item>
    <item>
      <title>I was using</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Select-intel-fortran-comiler-version-in-visual-studio/m-p/1107835#M128563</link>
      <description>&lt;P&gt;I was using&lt;/P&gt;

&lt;P&gt;compilervars.bat intel64 vs2010,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;However, with&amp;nbsp;&lt;/P&gt;

&lt;P&gt;compilervars.bat ia32_intel64 vs2010,&lt;/P&gt;

&lt;P&gt;everything builds. Does this make sense? Do I need to use this "cross toolset" when the ms compiler itself is x86 but compiling for x64?&lt;/P&gt;

&lt;P&gt;One additional question though: I now get, for every cpp file being compiler, the message "You are using an Intel supplied intrinsic header file with a third-party compiler." What does this mean?&lt;/P&gt;

&lt;P&gt;Best,&lt;BR /&gt;
	&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Jens&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2016 07:40:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Select-intel-fortran-comiler-version-in-visual-studio/m-p/1107835#M128563</guid>
      <dc:creator>Jens_E_</dc:creator>
      <dc:date>2016-06-29T07:40:16Z</dc:date>
    </item>
    <item>
      <title>I have a theory on the</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Select-intel-fortran-comiler-version-in-visual-studio/m-p/1107836#M128564</link>
      <description>&lt;P&gt;I have a theory on the compilervars issue - let me dig into this and I'll get back to you.&lt;/P&gt;

&lt;P&gt;When you use the Intel compilervars (and have Intel C++ installed), the include path includes Intel C++ headers that may not be right for MSVC. You can ask in the C++ forum whether or not this is important - I don't know.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2016 13:17:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Select-intel-fortran-comiler-version-in-visual-studio/m-p/1107836#M128564</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2016-06-29T13:17:08Z</dc:date>
    </item>
    <item>
      <title>Okay, thanks!</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Select-intel-fortran-comiler-version-in-visual-studio/m-p/1107837#M128565</link>
      <description>&lt;P&gt;Okay, thanks!&lt;/P&gt;

&lt;P&gt;One thing occured to me: What if I wanted to use the intel c++ compilers as well, how would I go about setting up that from the command line? I notice that there's also an ifortvars.bat script - would that do anything different?&lt;/P&gt;

&lt;P&gt;Jens&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2016 13:30:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Select-intel-fortran-comiler-version-in-visual-studio/m-p/1107837#M128565</guid>
      <dc:creator>Jens_E_</dc:creator>
      <dc:date>2016-06-29T13:30:06Z</dc:date>
    </item>
    <item>
      <title>compilervars.bat gives you</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Select-intel-fortran-comiler-version-in-visual-studio/m-p/1107838#M128566</link>
      <description>&lt;P&gt;compilervars.bat gives you both Intel Fortran and C++. But in VS you'd need to right click on your C++ project and select "Use Intel C++" (it's in some Intel submenu - I forget exactly.) ifortvars.bat does the same thing as compilervars.bat.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2016 14:06:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Select-intel-fortran-comiler-version-in-visual-studio/m-p/1107838#M128566</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2016-06-29T14:06:20Z</dc:date>
    </item>
  </channel>
</rss>

