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

adrian_k10
Beginner
970 Views
Hi

I'm tyring to get ifort working for the first time on fedora 12 (I'm using tcsh). When I try to compile something I get "ifort:command not found". If I try

/opt/intel/Compiler/11.1/072/bin/intel64 program_name.f90
the response is
"/opt/intel/Compiler/11.1/072/bin/intel64:permission denied"
and I also tried writing

source /opt/intel/Compiler/11.1/072/bin/ifortvars.csh intel64

in .mycshrc

but this didn't change anything....what should I do??

thanks alot
0 Kudos
4 Replies
Ron_Green
Moderator
970 Views
From a terminal window

source /opt/intel/Compiler/11.1/072/bin/ifortvars.csh intel64

which ifort

ifort program_name.f90

this should work. If not, what is the output from those 3 commands - cut an paste the output so we can see what is going on.

ron
0 Kudos
adrian_k10
Beginner
970 Views
Hi Ron

Thanks alot for your help.
Now when I try and compile something with ifort program_name.f90 I get

/opt/intel/Compiler/11.1/072/bin/intel64/fortcom: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
ifort: error #10273: Fatal error in /opt/intel/Compiler/11.1/072/bin/intel/fortcom, terminated by 0x7f

I assume that I need to do yum install/provide libstdc++.so.5/ or something??

(The first two commands that you suggested had no output...)

Thanks heaps for your help

Adrian
0 Kudos
TimP
Honored Contributor III
970 Views
As discussed several times on these forums, you probably need the compat-libstdc++-33 (both 32- and 64-bit).
0 Kudos
adrian_k10
Beginner
970 Views
thanks alot its working now
0 Kudos
Reply