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

about some error please help thx!!

pideo
Beginner
486 Views
i have a simple fortran program.i want to try intel fortran compiler that can be use by this simple program. but something is worg@@~~. i cant't run this program.
if i use g77 compiler this program then it can run.
for g77 ==> i type
g77 -O4 -o init.out init.f
./init.out
it run
for intel fortran compiler==> i type
ifort -o init.f90 init.f or ifort -O2 -o init.f90 init.f or ifort init.f90 -o init.f
./init.f90
it not run!!!
./init.f90: error while loading shared libraries: libimf.so: cannot open shared objec
t file: No such file or directory
plesase help me thx!!
0 Kudos
1 Reply
zubair_anwar
Beginner
486 Views
Before you can use the ifort command and the ifort(1) manpage, type the following
source command to set the appropriate environment variables (such as PATH):

source /opt/intel_fc_80/bin/ifortvars.sh

When using the C shell, use ifortvars.csh in place of ifortvars.sh in the source
command. You can place this source command into your .login file, eliminating the
need to type the source command for each session.

Once you do this, you will not get the error message!!!
0 Kudos
Reply