Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29594 ディスカッション

Running an existing program in Intel(R) Fortran Compiler Integration for Microsoft Visual Studio* 2005, 11.0.3451.2005

apo
ビギナー
1,948件の閲覧回数
Can you please assist me in how to build, compile and runexisting Fortran programs, using Intel Fortran Compiler Integration for Microsoft Visual Studio* 2005, 11.0.3451.2005?
0 件の賞賛
7 返答(返信)
Steven_L_Intel1
従業員
1,948件の閲覧回数
Intel Visual Fortran supplies on-disk documentation. The chapter Building Applications > Building Applications using Microsoft Visual Studio is worth reading.

A rough overview:

  1. Create a new project. When asked to select the project type, choose Intel Visual Fortan > Console Application > Empty Project. Specify the name and location you wish to use for the project (it will create a new folder for the project)
  2. When the project opens, right click on Source Files in the "Solution Explorer" pane, select Add > Existing Item. Browse to your source files, select them and click Add. Repeat as necessary
  3. Select Build > Build Solution
  4. If the build is successful, run by selecting Debug > Start Without Debugging.
Note that by default the program will look for data files in the project folder.
apo
ビギナー
1,948件の閲覧回数
Steve,

Thank you very much for your prompt reply and the really helpful information provided. However, after I follow all of your instructions, when trying to build and run the application I get the following error:

Error1 fatal error LNK1104: cannot open file 'ifconsol.lib'LINK

Is there a wayto overcome this?

Steven_L_Intel1
従業員
1,948件の閲覧回数
That's unusual. Please find the buildlog.htm file in the Debug subfolder of your project folder and attach it to a reply here. See below for file attachment instructions.
apo
ビギナー
1,948件の閲覧回数
That's unusual. Please find the buildlog.htm file in the Debug subfolder of your project folder and attach it to a reply here. See below for file attachment instructions.

Steve,

Apologies for the late reply. Please find attached the buildlog.htm file.

thanking you,
Apostolos
Steven_L_Intel1
従業員
1,948件の閲覧回数
Nothing obvious there. Please do this. Select Tools > Options > Intel Visual Fortran > Compilers. Make sure that the "selected version" is the version you have installed. Click on the "..." button to the right of "Libraries". Make sure that "$(IFortInstallDir)libia32" is in the list (should be first.)

If that does not resolve the problem, please right click on the project, select Properties > Linker > General. Change "Show Progress" to "Show some progress messages (/VERBOSE:LIB)". Rebuild the project and attach the new buildlog.htm to a reply.
apo
ビギナー
1,948件の閲覧回数
Steve,

Yes, it was this file missing from the 'Libraries'. Therefore I clicked on 'reset' and this resolved the problem. Thank you very much for your help Steve.

much appreciated,
Apostolos

Steven_L_Intel1
従業員
1,948件の閲覧回数
I'm glad to hear it. Check back in here if you need help in the future.
返信