Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29004 Discussions

Using Intel Visual Fortran 10.1 with Microsoft Visual Studio 2008

Steven_L_Intel1
Employee
1,025 Views
The current (as of February 11) version of Intel Visual Fortran does not support Microsoft Visual Studio 2008. An update planned for the end of February will add full support for VS2008, including use from both the command line and the Visual Studio IDE.

If you currently have VS2003 or VS2005 (including VS2005 Premier Partner Edition as supplied with some editions of the compiler), I would recommend continuing to use that with Intel Visual Fortran until the VS2008 support is released. However, if you would like to use the VS2008 linker and libraries for command-line development, here's how.

  1. Locate the Intel Visual Fortran compiler's Bin folder for the architecture you are using - for example, C:Program FilesIntelCompilerFortran10.1.014IA32Bin
  2. Locate the Microsoft Visual Studio 2008 VCBin folder, for example, C:Program FilesMicrosoft Visual Studio 9.0VCin
  3. In the Fortran compiler's Bin folder (step 1 above), open ifortvars.bat in Notepad. In the line which begins with "@call", replace the path to Visual Studio 2003 or 2005 with the appropriate path for VS2008 as determined in step 2 above. If you did not have Visual Studio installed at all and a full path is not there, the line should look like this:

    @call "C:Program FilesMicrosoft Visual Studio 9.0VCBinVcvars32.bat"

    For the Intel 64 architecture, the line should look like this instead:

    call "C:Program FilesMicrosoft Visual Studio 9VCvcvarsall" x86_amd64

    or

    call "F:Program FilesMicrosoft Visual Studio 8VCvcvarsall" x64

    if you are building on an Intel 64 architecture system. Note that here the folder is just VC and not VCin.
  4. In the same Bin folder, open the file ifort.cfg in Notepad. Change the line beginning "-Qvc" to read "-Qvc9" (without the quotes). Change the line beginning with "-Qlocation,link" to reflect the VS2008 Bin path as determined in step 2 above.
Now when you open a "Fortran Build Environment" window it will use the VS2008 tools and libraries.

If you have questions about this, ask them here.
0 Kudos
8 Replies
rlrockrohr
Beginner
1,025 Views

Helllo,

Is there any update on when the VS 2008 compatibility version of Visual FORTRAN will be available? I've just recently purchased it and downloaded from Intel. Did not know that it would not work w/ VS 2008. Tried to get VS 2005, but it is no longer sold. I'm in desperate need to get this working in order to accomplish my school work without having to go back to the lab everytime. I'm also uncomfortable making the system changes you reccomend. Will my code that is already partially completed in FORTRAN 10.0 w/VS 2005 work in the VS 2008 environment? Any info/advice you can provide will be greatly appreciated

rlr

0 Kudos
Steven_L_Intel1
Employee
1,025 Views
I expect it to be available today or tomorrow. I will post here when it is. Your project created using VS2005 will work with VS2008.
0 Kudos
Steven_L_Intel1
Employee
1,025 Views
10.1.019, with full support for VS2008, is now available from the Intel Registration Center.
0 Kudos
yjyincj
Beginner
1,025 Views
Hi, can I use IVF 9.1 with VS2008?
0 Kudos
Steven_L_Intel1
Employee
1,025 Views
No. The IDE support in 9.1 does not work with VS2008 and the installer cannot find it.
0 Kudos
yair999
Beginner
1,025 Views

I am looking for good reasons to switch from VS2005 to VS2008.

What are the advantages of using VS2008 for pure Fortran programming over using VS2005?

I guess VS2008 requires more computer resources than VS2005, right?

Thanks,

Yair

0 Kudos
andrey_
Beginner
1,025 Views
Yes i am sure that vs2008 uses more ram memory and requires a 2 Gb cpu and min 512 Ram.
0 Kudos
Steven_L_Intel1
Employee
1,025 Views
I can't think of a good reason to switch if you are using only Fortran and are not working with others that use VS2008. For the Fortran programmer, there's no benefit I can think of.
0 Kudos
Reply