LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   can i install two or more intel compilers with different versions on same system?? (https://www.linuxquestions.org/questions/linux-newbie-8/can-i-install-two-or-more-intel-compilers-with-different-versions-on-same-system-782103/)

sonu kumar 01-14-2010 12:25 AM

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

longbow0 01-14-2010 12:56 AM

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.

knudfl 01-14-2010 02:31 AM

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

sonu kumar 01-17-2010 04:37 AM

Quote:

Originally Posted by longbow0 (Post 3825965)
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


All times are GMT -5. The time now is 01:26 AM.