LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
LinkBack Search this Thread
Old 05-19-2010, 08:23 AM   #1
aend
LQ Newbie
 
Registered: May 2010
Distribution: centos, ubuntu
Posts: 3

Rep: Reputation: 0
Question Intel Fortran Compiler - program does not find new version


Hi,
I want to compile MFiX which is a simulation software.
Therefore, I installed the Intel Fortran Compiler Ver. 11.x
When compiling, I can only choose between Ver.9.x and 10.x.

This is a part of the error message when choosing either:
make: ifort: Command not found
make: *** [param.mod] Error 127


Is there a possibility to link the program to the newer compiler version?

I'm using Centos 5.4 and, like in this forum, I'm a newbie.

Thanks for any ideas!
 
Old 05-20-2010, 05:20 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 3,666

Rep: Reputation: 204Reputation: 204Reputation: 204
Does MFiX require the Intel FORTRAN compiler? If not, why not just use the GNU compiler? Then you can select the FORTRAN version you wish to use to compile the program. (The various flavors of GNU FORTRAN should be in the Centos repositories.)
 
Old 05-24-2010, 11:04 AM   #3
aend
LQ Newbie
 
Registered: May 2010
Distribution: centos, ubuntu
Posts: 3

Original Poster
Rep: Reputation: 0
MFIX does not require the Intel fortran compiler. Actually, I can choose between

Quote:
MFIX Compilation directives available for following compilers:
==============================================================
[1] Portland Group Linux Fortran Compiler (pgf90)
[2] Intel Fortran Compiler version 9.X (ifort)
[3] Intel Fortran Compiler version 10.X (ifort)
As far as I know, the Portland Group Compiler is not for free. Thats why I'm bound to the Intel Compiler.

I don't think that the error message helps you, but I can post it anyway.

Quote:
make -f mfix_l_not.make compare.o eosg.o discretize.o
ifort -c -I. -w -w95 -i_dynamic -ip -convert big_endian -assume byterecl -FR -O3 -axKW -tpp7 param_mod.f
make: ifort: Command not found
make: *** [param.mod] Error 127
\nPlease wait . . .
make -f mfix_l_not.make mfix.exe
ifort -c -I. -w -w95 -i_dynamic -ip -convert big_endian -assume byterecl -FR -O3 -axKW -tpp7 param_mod.f
make: ifort: Command not found
make: *** [param.mod] Error 127
Thanks for the quick reply!
 
Old 05-24-2010, 12:31 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,302

Rep: Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353
Assume ifort installed, like : 1) cd l_cprof_p_11.0.083_ia32/
2) su , 3) sh install.sh

... which means, you have got /opt/intel/Compiler/11.0/083/bin/ia32/ifort
... ( If it is 32 Bits OS.)

cd /usr/bin/
ln -s /opt/intel/Compiler/11.0/083/bin/ia32/ifort
... Then 'ifort' is in a system path.
...
 
1 members found this post helpful.
Old 05-26-2010, 05:11 AM   #5
aend
LQ Newbie
 
Registered: May 2010
Distribution: centos, ubuntu
Posts: 3

Original Poster
Rep: Reputation: 0
Smile solved

ok, that helps

thanks a lot.

apparently, that was quite a beginner question.
why do i have to set the link? is this a standard procedure? could you tell me where i can learn more about that?
 
Old 05-28-2010, 03:03 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,302

Rep: Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353
Post # 5
Quote:
Is this a standard procedure ?
As "Ifort" isn't a standard program, it is not a thing you will meet very often.

"Default" software, an example is Java : The install scripts for the available
rpm ( for CentOS the Scientific SL55 (sun)jdk is usable ) make a link 'java' to
/etc/alternatives/ . This can be done manually too for programs not having this
mechanism :
Code:
/usr/sbin/alternatives --install /usr/bin/java java /usr/java/jdk1.6.0_20/bin/java 2
Afterwards : # /usr/sbin/update-alternatives --config java
.. which will then create the link /usr/bin/java
( If not already done automatically at the package install.)
..

Other ways to call 'ifort' , 1) The full path ,,, /opt/intel/Compiler/11.0/083/bin/ia32/ifort
2) export PATH=/opt/intel/Compiler/11.0/083/bin/ia32/
3) Write a line with the new path in e.g. /etc/profile ..
..... But these are all a little more difficult, I prefer the softlink to /usr/bin/
..

Last edited by knudfl; 06-01-2010 at 10:35 AM.
 
  


Reply

Tags
centos54, ifort, mfix


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
intel fortran compiler on slackware64 13.0 cmk77 Slackware 5 11-18-2009 01:38 PM
error when install Intel Fortran Compiler lengyue Linux - Software 9 08-27-2008 10:39 AM
how to uninstall the intel fortran compiler 8 ztdep Programming 5 07-22-2005 02:29 AM
Intel Fortran Compiler under KDevelop Ralph Kahel Linux - Software 1 07-21-2005 02:57 PM
Intel Fortran Compiler - glibc dependencies bad damien Linux - Software 1 12-02-2003 11:19 PM


All times are GMT -5. The time now is 07:16 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration