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

Installation Fortran 9.1-problems with Visual Studio

postaquestion
Novice
1,143 Views

The installation didn't seem to integrate correctly with Visual Studio 2003. The tools were installed in the Visual Studio folder, but the executable doesn't recognize the Fortran install, and thus cannot work with such files. I've downloaded the trial version.


0 Kudos
8 Replies
Steven_L_Intel1
Employee
1,143 Views
Unfortunately, there's not enough information here for me to help you.

Try this. Close Visual Studio. Open C:Program FilesIntelDownloadIntelFortranCompiler91IDEIA32 and run setup.exe. Pay very careful attention to any error messages as you progress through the install. What happens?

A common problem is failure to remove the VS integration from an earlier version of Intel Fortran.
0 Kudos
green_brad_w
Beginner
1,143 Views

I saw no error messages during installaion. I used the uninstall tools to remove both Intel Fortran and Visual Studio.net 2003 completely, and then reinstalled Visual Studio and then Intel Fortran (all program options). Same issue...no recognition of Fortran.

A colleague suggested that the issue could be related to the registry, as there may have been older versions of both on this machine that were not uninstalled properly, as I'm not the first to have it.

0 Kudos
Steven_L_Intel1
Employee
1,143 Views
Please report the problem to Intel Premier Support and include as much information as you can.
0 Kudos
Gabriel_A_2
Beginner
1,143 Views

Did you solve your problem? I think I am having the same problem: cannot compile Fortran routines. The VS .net 2003 have the 'compile' option grayed out. I am using Intel Fortran 9.1. Did not receive any error messages during installation.

Thanks in advance for any comments.

0 Kudos
Steven_L_Intel1
Employee
1,143 Views
You will see Compile only when you have a Fortran file selected. Typically you don't use Compile - rather, you Build the solution - this automatically compiles and links in the right order.

Does this help?
0 Kudos
Gabriel_A_2
Beginner
1,143 Views

Thanks Steve. That is the behavior I expect: automatic compilation. These are existing projects using MS VS 6 and Compaq V fortran 6.6. We have hundreds so I picked a smaller one, a library with C and .FOR routines.

The C routines compile. The *.FOR do not. The linker says everything is OK. The *.LIB file is there but none of the *.FOR routinescompile (no *.OBJ files). Maybe I will look at one of the Intel Fortran examples and see if I can compile/link it. That should tell me if the Fortran is correctly link to MS VS .NET 2003.

0 Kudos
Steven_L_Intel1
Employee
1,143 Views
You need to right click on the project and select "Extract Compaq Visual Fortran Project Items". As of VS.NET 2002, Microsoft disallows mixed-language projects. You have to separate the Fortran files into their own project and build it all into a "solution". The "Extract CVF" wizard does this automatically. What you have now is a C++ project that does not understand Fortran files.

I suggest you read Migrating Applications from Compaq Visual Fortran to Intel Visual Fortran.
0 Kudos
Gabriel_A_2
Beginner
1,143 Views
Oh, yeah. Thanks a bunch. I started this exercise a while back and I remember reading about the mixed projects.
0 Kudos
Reply