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

sibaek_y_
Beginner
3,963 Views

I completed installing the parallel studio xe 2016.1.056 for linux on my centos 7.

For using ifort command, I implemented the following commands,

#./opt/intel/bin/ifortvars.sh intel64

#./opt/intel/bin/compilervars.sh intel64.

But still I get "ifort: command not found" when I use ifort command.

What is the problem? Please help me...

 

 

0 Kudos
1 Solution
mecej4
Honored Contributor III
3,963 Views

Re the commands in #1: There is a missing space between '.' and '/' at the beginning. That changes the functionality of the "source" shell feature considerably. Furthermore, the sourcing should be done in the normal shell window that you use for development, not in an 'su' shell.

The instructions in the release notes spell all this out clearly. Be sure to follow them to the letter, or beware that changing the instructions should be done only if you are confident of the effects of those changes.

View solution in original post

0 Kudos
4 Replies
Steven_L_Intel1
Employee
3,963 Views

You should need only one of those commands. Can you show the value of the "path" environment variable after the command? Are you running ifort from the same terminal window in which you "sourced" ifortvars.sh?

0 Kudos
mecej4
Honored Contributor III
3,964 Views

Re the commands in #1: There is a missing space between '.' and '/' at the beginning. That changes the functionality of the "source" shell feature considerably. Furthermore, the sourcing should be done in the normal shell window that you use for development, not in an 'su' shell.

The instructions in the release notes spell all this out clearly. Be sure to follow them to the letter, or beware that changing the instructions should be done only if you are confident of the effects of those changes.

0 Kudos
TimP
Honored Contributor III
3,963 Views

Just in case, the intended "dot space" shell command is shorthand for "source", a completely different meaning from ./ which means file system root.  Attempting the shorthand notation has been known to produce bugs in documentation as well as in user invocations.

0 Kudos
sibaek_y_
Beginner
3,963 Views

mecej4 wrote:

Re the commands in #1: There is a missing space between '.' and '/' at the beginning. That changes the functionality of the "source" shell feature considerably. Furthermore, the sourcing should be done in the normal shell window that you use for development, not in an 'su' shell.

The instructions in the release notes spell all this out clearly. Be sure to follow them to the letter, or beware that changing the instructions should be done only if you are confident of the effects of those changes.

I just resolved the problem. you are right. Thank you very much!! have a nice Christmas!!

0 Kudos
Reply