Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.

ippvars error

lexa_1
Beginner
153 Views
Sorry, I am completly new in using IPP and I have not so much experiences under Linux. I'm using Ubuntu 10.04 64Bit and when I execute "ippvars.sh intel64" I get the error: ./ippvars.sh: 67: [[: not found
I use the Konsole under KDE 3.5.

Thanks

lexa
0 Kudos
5 Replies
PaulF_IntelCorp
Employee
153 Views
Hello Lexa,

The error message looks to me like you are not in the right directory. Normally it would be the case that the ippvars.sh file is NOT in your PATH, so you need to explicitly execute it. Notice that the error message starts with "./" meaning that the system looked in the current directory for ippvars.sh. You should go to the directory that contains ippvars.sh and execute it (at the command line be explicit: "./ippvars.sh intel64") and see if that works.

Paul
lexa_1
Beginner
153 Views
Hello Paul,

that is exact what I've done. I installed the ipp as root. May bethat thisisthe problem?

root@IBMNEHAM64:/opt/intel/composerxe-2011.0.048/ipp/bin# ls -l

total 24

drwxr-xr-x 2 root root 4096 2010-08-10 11:27 intel64

-rwxrwxr-x 1 root root 1690 2010-08-10 11:27 ippvars.csh

-rwxrwxr-x 1 root root 1707 2010-08-11 11:55 ippvarsmy.sh

-rwxrwxr-x 1 root root 1707 2010-08-11 11:54 ippvarsmy.sh~

-rwxrwxr-x 1 root root 2128 2010-08-11 10:43 ippvars.sh

-rwxrwxr-x 1 root root 2128 2010-08-11 10:43 ippvars.sh~

root@IBMNEHAM64:/opt/intel/composerxe-2011.0.048/ipp/bin# ./ippvars.sh intel64

./ippvars.sh: 67: [[: not found

root@IBMNEHAM64:/opt/intel/composerxe-2011.0.048/ipp/bin#


lexa

PaulF_IntelCorp
Employee
153 Views
Lexa,

Is it possible your script file is corrupted? Line 67 is the last line of the script file I was looking at, perhaps their is some corruption at the end of the file? ...

Paul
lexa_1
Beginner
153 Views

Yes, something in the scriptmust be wrong. Now I have tailored this script for me (intel64) and it works.

Sharschchandra_Bidar
153 Views
Hi Lexa,

I am facing the same problem. Can you please let me know as to what changes did you make in the script that it worked for you.

Thanks,
Sharsch
Reply