- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
t file: No such file or directory
plesase help me thx!!
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!!!
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!!!

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page