Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29253 ディスカッション

Non-Default Installation problem

mdbynum
ビギナー
691件の閲覧回数
I was trying to install the intel fortran compiler for linux (8.1.024) as a non-root user. I tried to follow the instructions here http://www.intel.com/support/performancetools/fortran/linux/sb/cs-017157.htm . But when I get to step 5

$ cd intel_fc_8.1.022
$ for i in $(file bin/* |grep text |cut -f1 -d:)

> do
> mv $i $i.orig
> sed "s::$(pwd):g" $i.orig >$i
> done

$ cd bin
$ cat ifort # visually inspect paths
$ chmod +x ifort uninstall.sh
$ rm *.orig

the command "for i in $(file bin/* |grep text |cut -f1 -d:)" gives me the following error: "Illegal variable name."

I'm not familiar with the command, so I don't know if it could be a typo or what. Any help would be appreciated. Thanks.
0 件の賞賛
2 返答(返信)
gmorris
ビギナー
691件の閲覧回数
It looks like you are using tcsh as your shell. The instructions assume the bash shell (though they don't actually state this anywhere, which they probably should). Try typing "bash" to switch to the bash shell first of all, then repeat the instructions as given.
mdbynum
ビギナー
691件の閲覧回数
Thanks for the reply that fixed my problem.
返信