Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-31-2009, 01:28 PM   #1
Registered: Dec 2008
Posts: 66

Rep: Reputation: 0
adding ifort to opensuse 11.0


I am working on opensuse 11.0 and when I was installing it, I ticked gcc-gfortran and I compiled some codes of mine with this compiler.

Now, I want to compile codes with ifort so I downloaded it from intel website. But I want to know how I should arrange the installation of the new compiler (ifort) not to conflict with gfortran and also how I can compile my code with ifort. I mean what terms I should mention so that the code chooses ifort for the compilation?

Old 04-01-2009, 05:58 AM   #2
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
It depends how you're compiling your code. Are you using a makefile? If so, then presumably you'll just need to edit the relevant line where the compiler is specified. You may also need to change the options passed to the compiler.

If you're just compiling your code with something like "gfortran file", then you'll need to run "ifort file" to use ifort. Obviously, you'll need to read the ifort documentation to see the options available.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ifort and gfortran hanamilani Linux - Software 1 02-15-2009 12:34 PM
Adding hard drives - OpenSUSE Linux 10 lightwave Linux - Hardware 7 05-25-2008 07:35 PM
ifort: error: could not find directory in which g++ resides iandroul Linux - Software 0 02-27-2007 12:54 PM
ifort error pzanis Fedora 1 11-08-2006 06:18 PM
linux intel fortran problem: ifort command does not execute terrence Programming 1 09-01-2005 09:03 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration