LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-14-2010, 01:25 AM   #1
sonu kumar
LQ Newbie
 
Registered: Aug 2009
Location: India
Distribution: open suse
Posts: 28

Rep: Reputation: 17
Unhappy can i install two or more intel compilers with different versions on same system??


hi everybody ,

i want to install two intel compliers.

one complier with version 10.x and other with 11.x.

1)can i do that ?

2) since same "ifort" command is used to compile .f file, how can i compile with two different compilers?

3) how can i compile a software package with two compilers?

i neeed your help.

Thank you very much.

sonu kumar
 
Old 01-14-2010, 01:56 AM   #2
longbow0
LQ Newbie
 
Registered: Jul 2005
Distribution: Debian
Posts: 20

Rep: Reputation: 2
it's possible to install multi compiler on the same system, just name these programs in different names. such as:

ifort10
ifort11

and compile your programs separately.
 
1 members found this post helpful.
Old 01-14-2010, 03:31 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,735

Rep: Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317Reputation: 3317
.. And better rename /usr/bin/ifort
before installing the other version.

Add 2) and 3) : No problem, when you have a Makefile
in each section of your program ..

Edit the 'Makefile.in' to : FC = ifort<version>
And may be the 'Makefile', if ' FC = ' appears wrong.
.....

Last edited by knudfl; 01-14-2010 at 03:34 AM.
 
1 members found this post helpful.
Old 01-17-2010, 05:37 AM   #4
sonu kumar
LQ Newbie
 
Registered: Aug 2009
Location: India
Distribution: open suse
Posts: 28

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by longbow0 View Post
it's possible to install multi compiler on the same system, just name these programs in different names. such as:

ifort10
ifort11

and compile your programs separately.
i installed the way, you said.

thankx
 
  


Reply

Tags
ifort


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
Big Niewz about Intel Compilers in Slackware... anybody wanna try this... ? Alexvader Slackware 6 12-28-2009 06:30 PM
LXer: HOWTO Install Multiple Wine Versions on One System LXer Syndicated Linux News 0 12-05-2009 06:21 PM
Noob attack time [continued] : Intel Compilers under Slackware :-) Alexvader Slackware 28 10-23-2009 05:15 PM
FREE Compilers and Cross-Compilers for LINUX and WINDOWS. Bernstein34 Linux - Software 1 05-05-2008 01:54 PM
intel compilers on AMD swalexx Programming 4 02-16-2005 09:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:17 AM.

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