- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We have recently purchased Intel FORTRAN 11.1 Linux version. We are new users to this. At this moment we can write simple programs. But we cannot compile the program by command "ifort program_name.f90".
The program is very simple. The error is " bash:ifort:command not found".
We compiled the same program by command "gfortran -g program_name.f90", and it works. But we need the program to run by "ifort" command because we need to link the FORTRAN Compiler with another software.
Before compiling we had tried toset the enviornment variables by the command
We are not experts in linuxsystem.
So I request you to reply us as early as possible.
Thanks.
We have recently purchased Intel FORTRAN 11.1 Linux version. We are new users to this. At this moment we can write simple programs. But we cannot compile the program by command "ifort program_name.f90".
The program is very simple. The error is " bash:ifort:command not found".
We compiled the same program by command "gfortran -g program_name.f90", and it works. But we need the program to run by "ifort" command because we need to link the FORTRAN Compiler with another software.
Before compiling we had tried toset the enviornment variables by the command
//opt/intel/Compiler/11.1/069/bin/ifortvars.shintel 64
which follows by error
./ifortvars.csh intel64/
./ifortvars.csh: line 10: syntax error near unexpected token `"$1"'
./ifortvars.csh: line 10: `switch ("$1")'
We are not experts in linuxsystem.
So I request you to reply us as early as possible.
Thanks.
Samir
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The command to use is:
source /opt/intel/Compiler/11.1/069/bin/ifortvars.cshintel64
Since you are apparently using csh, then use the csh version of the file. You need "source" and "intel64" has no embedded spaces.
source /opt/intel/Compiler/11.1/069/bin/ifortvars.cshintel64
Since you are apparently using csh, then use the csh version of the file. You need "source" and "intel64" has no embedded spaces.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for your reply.
Actually we are using Dell precssion 490 workstaion(Xeon processor E5345 @233GH) x86_64 bit Red hat Enterprise Linx Destop 5 Version.So we installed INTEL64
We had already entered this command source /opt/intel/Compiler/11.1/069/bin/ifortvars.cshintel64 it has worked but we are not able tocompile"ifort" commnd.Again it is giving thesame error "ifort: command not found"
As per the requirment we have also installed jre-6u19-linux-x64-rpm(Java).
Please guide us in this matter.
Waiting for your reply.
Regards
Sameer
Thanks for your reply.
Actually we are using Dell precssion 490 workstaion(Xeon processor E5345 @233GH) x86_64 bit Red hat Enterprise Linx Destop 5 Version.So we installed INTEL64
We had already entered this command source /opt/intel/Compiler/11.1/069/bin/ifortvars.cshintel64 it has worked but we are not able tocompile"ifort" commnd.Again it is giving thesame error "ifort: command not found"
As per the requirment we have also installed jre-6u19-linux-x64-rpm(Java).
Please guide us in this matter.
Waiting for your reply.
Regards
Sameer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think one of our Linux experts will need to help you here. Can you show us the output of the console session where you do the "source" command followed by "ifort"? What is the contents of /opt/intel/Compiler/11.1/069/bin/intel64 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Show also the environment variable contents of PATH and LD_LIBRARY_PATH. Those should have been set when you source ifortvars.csh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks now its working after "source" command.
Thanks
Sameer
Thanks
Sameer

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