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.
29282 Discussions

Embedding intel Fortran 10 with Eclipse

hamid3252
Beginner
1,552 Views

Hi everybody,

I am using intel fortran 10 for my needs, and along with that I want to use Eclipse (the latest ver., Galileo) as I want to compile my project in both Win and Linux in the same way. Could you please help me how to embed Eclipse with my exiting installed intel fortran. I have been using fortan with VS 2005, so I guess there should be a similar way to make eclipse work with intel fortran. I should also mention that I have installed the plugin for fortran (phortran), but it cannot download the section regarding intel support. My guess is that the latest version internally supports that, but I do not know how to address it.

Thank you,

0 Kudos
9 Replies
Steven_L_Intel1
Employee
1,552 Views
Sorry - no support (from us, anyway) for using Intel Fortran in Eclipse on Windows. I haven't heard of anyone making this work.
0 Kudos
hamid3252
Beginner
1,552 Views
How about support in linux? Then which IDE do you suggest in linux?
Moreover, I found about support (v11) in this document: page 16- Is it only for v11 and later on? or since I am using win, I cannot see the specified counterpart folders in win...
0 Kudos
Steven_L_Intel1
Employee
1,552 Views
We don't provide support for Fortran on Linux either. You found Photran, which has some support for Intel Fortran, but our Eclipse experts here tell me that Photran is "a work in progress". The only Eclipse support we provide is for Intel C++ on Linux, which is the product whose document you found.
0 Kudos
anishtain4
Beginner
1,552 Views
Do you know how it works in photran steve?
I have installed photran on eclipse(helios) and I have had intel fortran 11 but when I try to compile a simple project in eclipse it says:
/bin/sh: ifort: not found
I'm sure I have ifort since I use it in terminal but I can't understand how should I make this program understand it too?
0 Kudos
Steven_L_Intel1
Employee
1,552 Views
I have not used Photran. I suggest starting Eclipse from a "Fortran command prompt" window.
0 Kudos
anishtain4
Beginner
1,552 Views
When you are refering to "command prompt windows" do you mean implicitly that I use windows?
I'm using ubuntu and when I enter that in terminal that is because I have added the path to the ifort file in the .bashrc! no bat file is executing there.

I see where is the fortran command prompt in windows but in linux I have absolutly no idea.

I'm sorry I should have made a new thread in LINUX part?
0 Kudos
Steven_L_Intel1
Employee
1,552 Views
I will move this thread to the Linux section of the forum. But the basic idea is the same. Do a "source" of the compiler's environment script (ifortvars.sh in version 10) to establish the environment, and then start Eclipse.
0 Kudos
mecej4
Honored Contributor III
1,552 Views
"When you are refering to "command prompt windows" do you mean implicitly that I use windows?"

Of course. What else could he mean? Certainly, "window" is not a monopoly of Microsoft and "window" does not imply "Windows". On a current Linux platform you are using a window manager such as Gnome, KDE, etc. Using that window manager you are using a utility (such as Konsole or a Gnome Terminal) that adds a few GUI capabilities to a text-mode shell interface which is almost the same as the one that was available on the venerable Televideo 950 terminal :) .
0 Kudos
Steven_L_Intel1
Employee
1,552 Views
This thread had been started in the Fortran for Windows section, but even on Linux, you would have some sort of terminal window from which to issue commands.
0 Kudos
Reply