- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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.
$ 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.
コピーされたリンク
2 返答(返信)
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Thanks for the reply that fixed my problem.
