Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29280 Discussions

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

apo
Beginner
993 Views
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 Kudos
7 Replies
Steven_L_Intel1
Employee
993 Views
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.
0 Kudos
apo
Beginner
993 Views
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?

0 Kudos
Steven_L_Intel1
Employee
993 Views
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.
0 Kudos
apo
Beginner
993 Views
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
0 Kudos
Steven_L_Intel1
Employee
993 Views
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.
0 Kudos
apo
Beginner
993 Views
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

0 Kudos
Steven_L_Intel1
Employee
993 Views
I'm glad to hear it. Check back in here if you need help in the future.
0 Kudos
Reply