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

Fortran Compiler

ender_wiggin
Beginner
657 Views
I just recently downloaded the trial version of the Intel 10.0 Fortran Compiler. I am not familiar with this programming style and I only have a limited amount of experience with Fortran. I already have a developed Fortran code that I created using Force2.0. I want to know what are the steps or how do I load and run my Fortran code with the Intel Fortran Compiler. I am trying to use Visual Studio 2005 as the platform to write my code in. But I don't know how or which template will give me a screen that resembles the traditional Fortran screen so that I can run my code. Does anybody know what I am talking about?
0 Kudos
4 Replies
jimdempseyatthecove
Honored Contributor III
657 Views

Ender,

I suggest you firsttry a "Hello World" test program.

Fortran typically produces console oriented programs. Visual Studio 2005 will gladly build and run your console program. However, you must be aware that the Integrated Development Environment will close the Console Window upon completion of the application. Therefore, if you run the application from the Integrated Development Environment you must either place a break point at the termination of the program or insert a "Press any key to continue" type of statment at the end of the program (else the console window goes away).

Jim Dempsey

0 Kudos
Steven_L_Intel1
Employee
657 Views
Ender,

In Visual Studio, click Help and then Intel Fortran Compiler Help. In the window that comes up, click Start Here. Click Building Applications and then Getting Started and start reading. This will bring you up to speed on the development environment.

The type of project you want is Fortran Console Application. To start running the program, select Debug > Start Without Debugging or press CTRL-F5. This will show the program output and won't close the window when done.

Let us know if you need more help.
0 Kudos
ender_wiggin
Beginner
657 Views

Visual Studio 2005 does not have a program file that allows me to run lines of code. Also I already have another program on my computer that reads .f files so all of my Fortran files are associated with that program. Whenever I tried running a new project, none of the options are for Fortran Compilers, Fortran windows, or Fortran code builders. So if I want to start a new application and copy and paste my Fortran code on to the Visual Studio Application I wouldn't know what application to create the code under.

0 Kudos
Steven_L_Intel1
Employee
657 Views
It sounds as if the Intel Fortran integration is not properly installed. Please contact Intel Premier Support for help with this.
0 Kudos
Reply