<?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 Compiler version setting in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-version-setting/m-p/781103#M27770</link>
    <description>Whilst it is useful to enable use of compiler versions it is very awkward having this setting part of the global settings.&lt;BR /&gt;&lt;BR /&gt;I may often have several instances of Visual Studio open and changing 
compiler setting in one changes it in all of them !&lt;BR /&gt;&lt;BR /&gt;My main use of it is maintenance of old releases of our software. I must load the old solution, change the compiler setting, compile and hopefully remember to change it back afterwards.&lt;BR /&gt;&lt;BR /&gt;Can we have the compiler version setting as part of the solution or even project settings instead?</description>
    <pubDate>Tue, 13 Jul 2010 08:00:00 GMT</pubDate>
    <dc:creator>Andrew_Smith</dc:creator>
    <dc:date>2010-07-13T08:00:00Z</dc:date>
    <item>
      <title>Compiler version setting</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-version-setting/m-p/781103#M27770</link>
      <description>Whilst it is useful to enable use of compiler versions it is very awkward having this setting part of the global settings.&lt;BR /&gt;&lt;BR /&gt;I may often have several instances of Visual Studio open and changing 
compiler setting in one changes it in all of them !&lt;BR /&gt;&lt;BR /&gt;My main use of it is maintenance of old releases of our software. I must load the old solution, change the compiler setting, compile and hopefully remember to change it back afterwards.&lt;BR /&gt;&lt;BR /&gt;Can we have the compiler version setting as part of the solution or even project settings instead?</description>
      <pubDate>Tue, 13 Jul 2010 08:00:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-version-setting/m-p/781103#M27770</guid>
      <dc:creator>Andrew_Smith</dc:creator>
      <dc:date>2010-07-13T08:00:00Z</dc:date>
    </item>
    <item>
      <title>Compiler version setting</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-version-setting/m-p/781104#M27771</link>
      <description>You can do this today.&lt;BR /&gt;&lt;BR /&gt;Write a .bat file that invokes the ifortvars.bat for the compiler version you want and then does:&lt;BR /&gt;&lt;BR /&gt;devenv /useenv&lt;BR /&gt;&lt;BR /&gt;This will start Developer Studio with that particular compiler's environment set and won't use the global settings. So you can have multiple VS copies open, each with their own compiler environment.</description>
      <pubDate>Tue, 13 Jul 2010 13:39:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-version-setting/m-p/781104#M27771</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2010-07-13T13:39:37Z</dc:date>
    </item>
    <item>
      <title>Compiler version setting</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-version-setting/m-p/781105#M27772</link>
      <description>It is not working.&lt;BR /&gt;&lt;BR /&gt;My bat file contains:&lt;BR /&gt;&lt;BR /&gt;call "C:\Program Files (x86)\Intel\Compiler\11.1\065\bin\ifortvars.bat"&lt;BR /&gt;devenv /useenv&lt;BR /&gt;&lt;BR /&gt;But Visual Studio starts up using the last version I was using, i.e. 11.0.074&lt;BR /&gt;&lt;BR /&gt;It is inconveniant to have to customise your software to make use of multiple compiler versions.&lt;BR /&gt;&lt;BR /&gt;It is the project that requires the compiler version and that is the most 
conveniant place to store that information.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Jul 2010 08:11:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-version-setting/m-p/781105#M27772</guid>
      <dc:creator>Andrew_Smith</dc:creator>
      <dc:date>2010-07-16T08:11:15Z</dc:date>
    </item>
    <item>
      <title>Compiler version setting</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-version-setting/m-p/781106#M27773</link>
      <description>When using the batch file VS2008 now says "Intel librarian xlink.exe is not found"</description>
      <pubDate>Fri, 16 Jul 2010 08:33:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-version-setting/m-p/781106#M27773</guid>
      <dc:creator>Andrew_Smith</dc:creator>
      <dc:date>2010-07-16T08:33:23Z</dc:date>
    </item>
    <item>
      <title>Compiler version setting</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-version-setting/m-p/781107#M27774</link>
      <description>I use batch files. I have a login32.bat and login64.bat&lt;BR /&gt;I have a couple oficons inthe QuickStart toolbarfrom the Start Programs-&amp;gt;Intel Software Development Tools -&amp;gt;Fortran Build Environment etc and set the "start in"to the directory where my login batch files reside.&lt;BR /&gt;&lt;BR /&gt;Here is part of the login32.bat file which asks me to choose fromversion 054,60 or 65&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;rem #****************************************************&lt;BR /&gt;rem # Compiler &lt;BR /&gt;rem #****************************************************&lt;/P&gt;&lt;P&gt;echo Compiler Version &lt;BR /&gt;echo 1 ivf 065 &lt;BR /&gt;echo 2 ivf 060 &lt;BR /&gt;echo 3 ivf 054 &lt;/P&gt;&lt;P&gt;set /p ans=Select compiler [1] &lt;/P&gt;&lt;P&gt;if '%ans%'=='' set ans=1&lt;BR /&gt;if '%ans%'=='1' set IFORT_COMPILER11="c:\Program Files (x86)\Intel\Compiler\11.1\065"&lt;BR /&gt;if '%ans%'=='2' set IFORT_COMPILER11="c:\Program Files (x86)\Intel\Compiler\11.1\060"&lt;BR /&gt;if '%ans%'=='3' set IFORT_COMPILER11="c:\Program Files (x86)\Intel\Compiler\11.1\054"&lt;/P&gt;&lt;P&gt;set IfortInstallDir=%IFORT_COMPILER11%\&lt;/P&gt;&lt;P&gt;%IfortInstallDir%\bin\ifortvars ia32 vs2008&lt;/P&gt;&lt;P&gt;set PATH=%path%;%vspath%&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;As you can see the default is version 065&lt;BR /&gt;I have just opened a shell and selected 054 then I ran devenv with /useenv here is the output:&lt;/P&gt;&lt;P&gt;c:\les\code\Intel_Support_and_Tests\test&amp;gt;devenv /useenv ivftest.sln /rebuild "debug|win32"&lt;/P&gt;&lt;P&gt;Microsoft  Visual Studio Version 9.0.30729.1.&lt;BR /&gt;Copyright (C) Microsoft Corp. All rights reserved.&lt;BR /&gt;1&amp;gt;------ Rebuild All started: Project: ivftest, Configuration: Debug Win32 ------&lt;BR /&gt;1&amp;gt;Deleting intermediate files and output files for project 'ivftest', configuration 'Debug|Win32'.&lt;BR /&gt;1&amp;gt;Compiling with "C:\Program Files (x86)\Intel\Compiler\11.1\054\Bin\ia32\ifort.exe"...&lt;BR /&gt;1&amp;gt;ivf.f90&lt;BR /&gt;1&amp;gt;Linking...&lt;BR /&gt;1&amp;gt;Embedding manifest...&lt;BR /&gt;1&amp;gt;&lt;BR /&gt;1&amp;gt;Build log written to "file://c:\les\code\Intel_Support_and_Tests\test\Debug\BuildLog.htm"&lt;BR /&gt;1&amp;gt;ivftest - 0 error(s), 0 warning(s)&lt;BR /&gt;========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========&lt;BR /&gt;&lt;BR /&gt;Showing it was compiled with version 054 and linked OK&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;Les&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2010 10:18:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-version-setting/m-p/781107#M27774</guid>
      <dc:creator>Les_Neilson</dc:creator>
      <dc:date>2010-07-16T10:18:43Z</dc:date>
    </item>
    <item>
      <title>Compiler version setting</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-version-setting/m-p/781108#M27775</link>
      <description>I modified your batch file as follows to allow me to start up VS and inserted call before &lt;I&gt;%IfortInstallDir%\bin\ifortvars ia32 vs2008 &lt;/I&gt;so that the script could continue past this point.&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;echo off&lt;BR /&gt;&lt;BR /&gt;rem #****************************************************&lt;BR /&gt;rem # Compiler&lt;BR /&gt;rem #****************************************************&lt;BR /&gt;&lt;BR /&gt;echo Compiler Version&lt;BR /&gt;echo 1 ivf 11.1.065&lt;BR /&gt;echo 2 ivf 11.0.074&lt;BR /&gt;&lt;BR /&gt;set /p ans=Select compiler [1]&lt;BR /&gt;&lt;BR /&gt;if '%ans%'=='' set ans=1&lt;BR /&gt;if '%ans%'=='1' set IFORT_COMPILER11="C:\Program Files (x86)\Intel\Compiler\11.1\065"&lt;BR /&gt;if '%ans%'=='2' set IFORT_COMPILER11="C:\Program Files (x86)\Intel\Compiler\11.0\074\fortran"&lt;BR /&gt;&lt;BR /&gt;set IfortInstallDir=%IFORT_COMPILER11%\&lt;BR /&gt;&lt;BR /&gt;call %IfortInstallDir%\bin\ifortvars ia32 vs2008&lt;BR /&gt;&lt;BR /&gt;set PATH=%path%;%vspath%&lt;BR /&gt;&lt;BR /&gt;devenv /useenv&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;Here is out from running the script:&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;D:\dev\FortranDevBranch&amp;gt;echo off&lt;BR /&gt;Compiler Version&lt;BR /&gt;1 ivf 11.1.065&lt;BR /&gt;2 ivf 11.0.074&lt;BR /&gt;Select compiler [1]2&lt;BR /&gt;&lt;BR /&gt;Intel Visual Fortran Compiler Professional for applications running on IA-32, Version 11.0.074&lt;BR /&gt;Copyright (C) 1985-2009 Intel Corporation. All rights reserved.&lt;BR /&gt;&lt;BR /&gt;Setting environment for using Microsoft Visual Studio 2008 x86 tools.&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Visual studio started up using "Latest" which is 11.1.065</description>
      <pubDate>Fri, 16 Jul 2010 11:10:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-version-setting/m-p/781108#M27775</guid>
      <dc:creator>Andrew_Smith</dc:creator>
      <dc:date>2010-07-16T11:10:59Z</dc:date>
    </item>
    <item>
      <title>Compiler version setting</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-version-setting/m-p/781109#M27776</link>
      <description>It appears that the Tools&amp;gt; Options&amp;gt; Intel Visual Fortran&amp;gt; Compilers shows a different version from that which it actually uses since it shows "Latest" or whatever was last set, but actually compiles using the version from the environment.&lt;BR /&gt;&lt;BR /&gt;Maybe this can be fixed?</description>
      <pubDate>Fri, 16 Jul 2010 11:18:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-version-setting/m-p/781109#M27776</guid>
      <dc:creator>Andrew_Smith</dc:creator>
      <dc:date>2010-07-16T11:18:24Z</dc:date>
    </item>
    <item>
      <title>Compiler version setting</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-version-setting/m-p/781110#M27777</link>
      <description>I previously asked the VS integration developers if there was something they could do about it, and I believe that this information will be improved in the next major release when /useenv is used.</description>
      <pubDate>Fri, 16 Jul 2010 13:30:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiler-version-setting/m-p/781110#M27777</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2010-07-16T13:30:54Z</dc:date>
    </item>
  </channel>
</rss>

