- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have both 9.1 and 11.1 installed. However, when I try to open an older project in VS2005 that previously used 9.1 it wants to convert the project file to use the newer compiler. Is there a way to continue to use 9.1 on older projects and 11.1 on newer projects?
Link Copied
18 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You will need to run the v9 installation again- you only need tore-install the integration step.
We found that installing v11 removes the v9 integration.
Les
We found that installing v11 removes the v9 integration.
Les
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks. I'll try that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You will find that simply installing v9 again won't work as the newer integration won't be replaced. What you can do is "change" the 11.1 install to remove the integration, delete the "Intel Fortran" folder under the Visual Studio folder, then install V9. Of course, this will lose the ability to use 11.1.
It is possible, with some effort, to configure things in two different versions of Visual Studio so that, say, 9.0 is in VS2005 and 11.1 in VS2008.
It is possible, with some effort, to configure things in two different versions of Visual Studio so that, say, 9.0 is in VS2005 and 11.1 in VS2008.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, I did find that it did not work. Can you step me through the process of leaving the original VS2005/IVF9.1 combination intact and adding the VS2008/IVF11.1 combination? I didn't state it clearly before, but that was in the back of my mind when I was trying to get IVF11.1 to install VS2008. I provide tech support to users of our software and I need to be able to debug previous versions of our product.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try this first. Uninstall 9.1. Delete the Program Files\Microsoft Visual Studio 8\Intel Fortran folder. Reinstall 9.1. Then unzip the attached file and run the program it contains. If you are on Vista or Win7, run it as administrator.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I now have VS2005 that works with IVF9.1. When I tried to open a project that requires 11.1 it reported that the project was created by a later version of Fortran.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Project files are upwards compatible - you can open them with later integration versions but not earlier, and opening one in a later version converts it. If you will be doing development on sources in both 9.1 and 11.1, you'll need separate project files, though the sources can be shared.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I do have separate project files. I copied the entire set of project and source files into a new folder and renamed it for 11.1. When I opened the new project file with 11.1 a few days ago the vfproj file was converted and the build was successful. Now, after going through the steps you outlined above, VS2005 will not open the newer project. IVF 11.1 is still installed, but it appears that VS2005 doesn't know about it now. Is there a way to install VS2008 now so it will use 11.1?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok, let's try this.
Rename the Intel Fortran folder under Microsoft Visual Studio 8 to something else. Delete the same-named folder under Microsoft Visual Studio 9.0. Do a repair on the 11.1 install, or uninstall and reinstall. Delete the newly created Intel Fortran folder under Visual Studio 8 and rename the old one back to "Intel Fortran". See what that does for you. You may need to rerun that repair tool I posted above.
Rename the Intel Fortran folder under Microsoft Visual Studio 8 to something else. Delete the same-named folder under Microsoft Visual Studio 9.0. Do a repair on the 11.1 install, or uninstall and reinstall. Delete the newly created Intel Fortran folder under Visual Studio 8 and rename the old one back to "Intel Fortran". See what that does for you. You may need to rerun that repair tool I posted above.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't have a Microsoft Visual Studio 9.0 folder. I thought the 11.1 install would create that, but it doesn't.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't know how others do it. But I use multiple versions. I have one integrated with .Net, one with VS2005, and one with VS2008. I don't try and double click on the solution files. I just open the version of VS that I want and open the solutions from there. That way I don't have to worry about it trying to "update" solutions to a newer version.
Dave
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, it won't if you have a valid version of Visual Studio installed.
What exactly do you want to do? Is it that you just want to be able to compile with 9.1, or do you require sharing projects with other users that only have 9.1?
What exactly do you want to do? Is it that you just want to be able to compile with 9.1, or do you require sharing projects with other users that only have 9.1?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We're trying to start using 11.1 for future development, but we have users who have current versions of our software that were developed with 9.1. I want to be able to use the debugger to investigate problems that the users report. Our software compiles in 11.1 without any changes, but it gets slightly different results than it used to get with 9.1. Therefore, I would like to be able to use both compilers as needed. I would not need to share projects, just compile and debug.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok. What I am about to show you is a hack. An ugly hack. And it may not work. But it may do what you want.
Attached is a ZIP file containing a .REG file. I am assuming that the 9.1 version you have is 9.1.039 and that you are on a 32-bit system. If either of these is not the case, the .REG file will need editing.
Double-click on the .REG file to add it to the registry. Now open Visual Studio, select Tools > Options > Intel Visual Fortran > Compilers. In the compiler version dropdown you will now see an entry for 9.1. Select this.
You SHOULD now be able to build the project with the 9.1 compiler. If you are using options that 9.1 did not support, it may complain. Let me know how it goes.
Attached is a ZIP file containing a .REG file. I am assuming that the 9.1 version you have is 9.1.039 and that you are on a 32-bit system. If either of these is not the case, the .REG file will need editing.
Double-click on the .REG file to add it to the registry. Now open Visual Studio, select Tools > Options > Intel Visual Fortran > Compilers. In the compiler version dropdown you will now see an entry for 9.1. Select this.
You SHOULD now be able to build the project with the 9.1 compiler. If you are using options that 9.1 did not support, it may complain. Let me know how it goes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am on a 32-bit system, but my compiler is 9.1.034. I opened the REG file, but it doesn't seem to be as simple as replacing 039 with 034. I have a HKEY_LOCAL_MACHINE\SOFTWARE\Intel\Compilers\Fortran\91 folder. Should I change the REG file to match that or change the registry key to match the REG file? Or just change 039 to 034 in all cases and use it that way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would start by changing just the 039 to 034 where it appears.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That appears to have worked. I still had to convert the older project file, but after doing so I can choose to compile it with 9.1 or 11.1. However, I now get the following warning when using 9.1:
Project : warning PRJ0018 : The following environment variables were not found:
$(WindowsSdkDir)
Project : warning PRJ0018 : The following environment variables were not found:
$(WindowsSdkDir)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would have expected that variable to be defined. If you can build without it, then just remove it from the list of "Executables" or ignore the warning.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page