ifort: command not found

ifort: command not found

Grey E.的头像

The problem that I'm experiencing seems to have been reviewed in these forums quite a bit but those solutions haven't solved it for me for whatever reason. My problem is that when I call ifort I receive a "command not found" response.  I successfully installed the compiler and then called compilervars.sh ia32 but still nothing.  I even tried creating a "custom.sh" file in etc/profile.d/ and then putting <install dir>/ifort but that didn't work either.  Does anyone have an idea as to what my problem is?  Thanks so much.

3 帖子 / 0 new
最新文章
如需更全面地了解编译器优化,请参阅优化注意事项.
mecej4的头像

If you run the shell script compilervars.sh directly, it will set the necessary environmental variables, but the old environment is reinstated as soon as the shell script completes.

The proper command to use is

source compilervars.sh ia32

Grey E.的头像

Yes, that worked. Thanks so much.

登陆并发表评论。