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

Installation Fortran 9.1-problems with Visual Studio

postaquestion
新手
1,142 次查看

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 项奖励
8 回复数
Steven_L_Intel1
1,142 次查看
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 项奖励
green_brad_w
初学者
1,142 次查看

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 项奖励
Steven_L_Intel1
1,142 次查看
Please report the problem to Intel Premier Support and include as much information as you can.
0 项奖励
Gabriel_A_2
初学者
1,142 次查看

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 项奖励
Steven_L_Intel1
1,142 次查看
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 项奖励
Gabriel_A_2
初学者
1,142 次查看

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 项奖励
Steven_L_Intel1
1,142 次查看
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 项奖励
Gabriel_A_2
初学者
1,142 次查看
Oh, yeah. Thanks a bunch. I started this exercise a while back and I remember reading about the mixed projects.
0 项奖励
回复