Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28630 Discussions

ifort command (version 11.0.081) not recognized in Ubuntu 8.04

mtoth8684
Beginner
657 Views
Hi all,

I've installed ifort 11.0.081 on Ubuntu 8.04, but cannot seem to get the ifort command to work. I've done the installation on another system for the 10.0.023 compiler(about a year ago) and in order to get it to recognize the ifort command I had to add a line to the .bashrc file. I've read some forums that suggest the same for this 11.0.081 version (i.e. writing the following at the end of the .bashrc):

PATH="/opt/intel/Compiler/11.0/081/bin/intel32:$PATH"
export PATH
LD_LIBRARY_PATH="/opt/intel/Compiler/11.0/081/lib/intel32:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH

However, this doesn't seem to work either. Any advise would be greatly appreciated. I'm at a loss here. (Also, I'm self-taught and so not too advanced. As much detail as possible would help.)

Thank you.
0 Kudos
2 Replies
rreis
New Contributor I
657 Views
sourcing the ifortvars.sh should be enough (see the README file).

like, in .bashrc (or /etc/profile if you want to make it for all users)

for instance, in my machine I use

#
# Intel Fortran
MAJV=11.0
MINV=074
export INTEL=/opt/intel/Compiler
source $INTEL/$MAJV/$MINV/bin/ifortvars.sh intel64
source $INTEL/$MAJV/$MINV/bin/iccvars.sh intel64
export MANPATH=$INTEL/$MAJV/$MINV/man:$MANPATH

0 Kudos
mtoth8684
Beginner
657 Views
Quoting - rreis
sourcing the ifortvars.sh should be enough (see the README file).

like, in .bashrc (or /etc/profile if you want to make it for all users)

for instance, in my machine I use

#
# Intel Fortran
MAJV=11.0
MINV=074
export INTEL=/opt/intel/Compiler
source $INTEL/$MAJV/$MINV/bin/ifortvars.sh intel64
source $INTEL/$MAJV/$MINV/bin/iccvars.sh intel64
export MANPATH=$INTEL/$MAJV/$MINV/man:$MANPATH

Thanks! Worked like a charm!
0 Kudos
Reply