Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FORTRAN compilation

Status
Not open for further replies.

Nikki567

Programmer
Mar 25, 2013
2
US
Hey im a masters student and Im working on this agricultural software which it built using FORTRAN, I was asked to make some changes in this code
Now the problem is im unable to compile a single file to check for errors I must run the complete application each time i make some changes in it.I use intel visual studio-FORTRAN.
How do i compile a single file and check for errors?
 
There is some button to compile in the toolbar.
Or click the build-option in the menu bar and select compile.

Both compile the file that is open in your window.
(I trust Intel FORTRAN has much the same surface as the COMPAQ-Compiler).

Norbert


The optimist believes we live in the best of all possible worlds - the pessimist fears this might be true.
 
Using the GUI

[ol 1]
[li]Open the solution in Visual Studio[/li]
[li]Expand the project[/li]
[li]Double click on the file you wish to compile: it will be opened[/li]
[li]Ctrl F7[/li]
[li]Alternatively, right click on the file and select Compile from the drop down menu[/li]
[/ol]

If you want to do it from the cmd line, open up the Fortran cmd prompt and type ifort /? It will give you the parameters.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top