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

ifort:command not found

nimitzhunter
Beginner
403 Views

HI,

This is the first time i'm using Intel fortran compiler. I downloaded the version 11. ia-32 and installed it on my Ubuntu 8.10. Everythign went fine. THen when i tried to compile on the command line, i got the reply ifort:command not found. However, when i use /opt/intel/Compiler/11.0/074/bin/ia32/./ifort program_name.f90, it worked. Then it tried several thing to make the command 'ifort' to work in terminal to no avail. for example, i edited .bashrc by adding

alisa ifort = '/opt/intel/Compiler/11.0/074/bin/ia32/./ifort'

nothing seems to work. The long way is really annoying. thanks for any input.

0 Kudos
2 Replies
TimP
Honored Contributor III
403 Views

How about the environment variable script

source /opt/intel/Compiler/11.0/074/bin/ifortvars.sh ia32

0 Kudos
nimitzhunter
Beginner
403 Views
Quoting - tim18

How about the environment variable script

source /opt/intel/Compiler/11.0/074/bin/ifortvars.sh ia32

IT WORKED. Thank you so much!!!!!!!!!!

0 Kudos
Reply