LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Intel Fortran Compiler under KDevelop (https://www.linuxquestions.org/questions/linux-software-2/intel-fortran-compiler-under-kdevelop-240242/)

Ralph Kahel 10-08-2004 10:37 AM

Intel Fortran Compiler under KDevelop
 
Hi,

I am trying to implement the Intel Fortran Compiler 8.1 in KDevelop. Here, the default fortran compiler is GNU g77, which works fine so far. But, to support a certain software library (NAG) I have to use the Intel Compiler.

I am not sure if the Intel compiler works under KDevelop at all. I would be grateful if you could share your experience or ideas.

Regards
Ralph

big_gie 07-21-2005 02:57 PM

Hope its not to late to post... :)

Was looking for the same thing. There is a bug report on kde's bugzilla: http://bugs.kde.org/show_bug.cgi?id=92566 to include support for Intel Fortran Compiler v8.1 to KDevelop v3.1.1.

Fortran is not really supported by KDevelop, much because of modules wich need to be compiled before other files.

To be able to use kdevelop with that compiler, you need to:

1. Create your own Makefile for you project.
2. Go to "Project" menu, then "Import existing project"
3. Enter the full path to the project, give it a name, and for the "Project type" choose "A Fortran program (personal makefile)"

Now if you build the project it will only execute "make -k". You can also construct files independly from the "Construct -> Construct target" menu. I think that the menu will check your makefile for options.

If you want to be able to click in the output window to get to the line containing the error, you will have to patch KDevelop and recompile it. I've created a patch for kdevelop v3.2.1 witch is posted in the bug report.

Hope it helped and good luck!


All times are GMT -5. The time now is 11:54 AM.