Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Non-Default Installation problem

mdbynum
Beginner
686 Views
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 Kudos
2 Replies
gmorris
Beginner
686 Views
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.
0 Kudos
mdbynum
Beginner
686 Views
Thanks for the reply that fixed my problem.
0 Kudos
Reply