LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 12: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, 12: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, 02:31 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,492

Rep: Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639
.. 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 02:34 AM.
 
1 members found this post helpful.
Old 01-17-2010, 04: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 05:30 PM
LXer: HOWTO Install Multiple Wine Versions on One System LXer Syndicated Linux News 0 12-05-2009 05:21 PM
Noob attack time [continued] : Intel Compilers under Slackware :-) Alexvader Slackware 28 10-23-2009 04:15 PM
FREE Compilers and Cross-Compilers for LINUX and WINDOWS. Bernstein34 Linux - Software 1 05-05-2008 12:54 PM
intel compilers on AMD swalexx Programming 4 02-16-2005 08:46 AM

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

All times are GMT -5. The time now is 03:58 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
Open Source Consulting | Domain Registration