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

VisualStudio and older Fortran Versions

mattsdad
Beginner
1,529 Views
Due to contractual requirements, I need to keep different projects associated with different Compilers. I need Visual Studio to work for 9.1, 10.0, 10.1 and 12.0. We had a group of projects that took more than a year and a half to deliver, so we did not get 11.0 or 11.1 downloaded until 12.0 was available. When I installed the new versions of Fortran XE 2011 (12.0), I am suddenly locked out of all prior compilers in Visual Studio.

How do I get the older versions to work again?
0 Kudos
11 Replies
Steven_L_Intel1
Employee
1,529 Views
Which version(s) of Visual Studio do you have installed?
0 Kudos
mattsdad
Beginner
1,529 Views
On the machine I used for the 12.0 test, I have Intel Fortran versions 8.1, 9.0, 9.1, 10.0.26, 10.0.27, 10.1.29, 11.1(.072) and ComposerXE-2011(12.0.4). Version 11.1 was downloaded after 12.0. Version 8.1 and 9.0 are no longer needed for contractual support.
0 Kudos
Steven_L_Intel1
Employee
1,529 Views
I asked which Visual Studio versions you had, not Fortran versions. This is critical to my answer.
0 Kudos
mattsdad
Beginner
1,529 Views
The installation machine identified above has Visual Studio 2005. We have a license for a later version, but it is not installed.
0 Kudos
Steven_L_Intel1
Employee
1,529 Views
Which later version?
0 Kudos
mattsdad
Beginner
1,529 Views
The new Visual Studio license is current, so we can install any of the newer versions.
0 Kudos
Steven_L_Intel1
Employee
1,529 Views
Ok, try this. Uninstall Composer XE. Install VS2010 and reinstall Composer XE.

Now uninstall 11.1. Delete the Microsoft Visual Studio 8\Intel Fortran folder. Reinstall 11.1.

This should give you the 11.1 and earlier versions in VS2005 and 12.x in VS2010.
0 Kudos
mattsdad
Beginner
1,529 Views
We have about 20 projects which are using Visual Studio, and multiple platforms. Does this have to be done for all of the projects simultaneously on each platform?
0 Kudos
Steven_L_Intel1
Employee
1,529 Views
If you follow these instructions, then you will have a VS2005 that lets you use 11.1 and some older compilers, and a VS2010 that will let you use the 12.1 compiler. Any individual project will have to be in one or the other as VS2010 will convert the solution. You cannot select a compiler on a per-project basis.
0 Kudos
David_Hale
Beginner
1,529 Views

I have versions 11.1 and 9.1 installed on the same computer with Visual Studio 2008 SP1. For the past few weeks version 11.1 has been working normally, but today I installed version 9.1 alongside. I was told by another engineer that Tools > Options > Intel Visual Fortran > Compilers > Selected Version would allow me to switch between versions, but only version 11.1 is on the list. How can I add version 9.1 to this list?

0 Kudos
Steven_L_Intel1
Employee
1,529 Views
You can't - the 9.1 compiler doesn't work with VS2008. We do offer compiler selection through the Tools menu two versions back, but only for compilers that support the version of VS you are using.
0 Kudos
Reply