Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6709 Discussions

ERROR: Intel(R) IPP 7.0 is not detected in your system

ederman
Beginner
566 Views
Hello,

I am newly started learning IPP. I installed the IPP 7.0 for 32 bit yesterday. My OS is Ubuntu 10.04.3 LTS Lucid 32 bit. I followed all the instructions to install it. After it gave me information about installation completion, I found these directories in the "/opt/intel" location:

ActivationTool
bin
composerxe
composer_xe_2011_sp1
composer_xe_2011_sp1.10.319
ipp
lib
licenses
intel_sdp_products.db

Then I run "./ippvars.sh ia32" under "/opt/intel/composer_xe_2011_sp1.10.319/ipp/bin" in the terminal, but the screen didn't give me anything. After that I tried the sample codes from Intel website, by running "build_ia32.sh", then the screen gave me this error:

+----------------------------------------------------------------------------+
|Test : speech-codecs build Wed Jul 11 12:35:35 PM 2012
|Hostname : laptop
|Function : no
|Description : building speech-codecs sample
|Class : Information
|Source : /home/A/Desktop/IPP_Samples/main-samples/speech-codecs
|Executable : build_ia32.sh
+----------------------------------------------------------------------------+
Found compiler gcc4 ( autodetect ) is /usr
Compiler environment is loaded
OpenMP support for this compiler: YES
ERROR:
ERROR: ***************************************************************************
ERROR: Intel IPP 7.0 is not detected in your system.
ERROR: Please install Intel IPP or set IPPROOT environment variable correctly
ERROR: ***************************************************************************

Here is what I see in the "/opt/intel/composer_xe_2011_sp1.10.319/ipp/bin/ippvars.sh" file:

======================================================
export IPPROOT=/opt/intel/composer_xe_2011_sp1.10.319/ipp

if [ -z "${INCLUDE}" ]
then
INCLUDE="$IPPROOT/include"; export INCLUDE
else
INCLUDE="$IPPROOT/include:${INCLUDE}"; export INCLUDE
fi

if [ "`uname`" = "Darwin" ]; then
# DYLD_LIBRARY_PATH is used on MAC OS*
if [ -z "${DYLD_LIBRARY_PATH}" ]
then
DYLD_LIBRARY_PATH="$IPPROOT/lib"; export DYLD_LIBRARY_PATH
else
DYLD_LIBRARY_PATH="$IPPROOT/lib:${DYLD_LIBRARY_PATH}"; export DYLD_LIBRARY_PATH
fi

DYLD_LIBRARY_PATH="$IPPROOT/../compiler/lib:${DYLD_LIBRARY_PATH}"; export DYLD_LIBRARY_PATH

if [ -z "${LIBRARY_PATH}" ]
then
LIBRARY_PATH="$IPPROOT/lib:"; export LIBRARY_PATH
else
LIBRARY_PATH="$IPPROOT/lib:${LIBRARY_PATH}"; export LIBRARY_PATH
fi

LIBRARY_PATH="$IPPROOT/../compiler/lib:${LIBRARY_PATH}"; export LIBRARY_PATH

if [ -z "${NLSPATH}" ]
then
NLSPATH="$IPPROOT/lib/locale/en_US/%N"; export NLSPATH
else
NLSPATH="$IPPROOT/lib/locale/en_US/%N:${NLSPATH}"; export NLSPATH
fi
else
if [[ "$1" != "ia32" && "$1" != "intel64" && "$1" != "mic" ]]; then
echo "ERROR: Unknown switch '$1'. Accepted values: ia32, intel64"
else
if [ -z "${LD_LIBRARY_PATH}" ]
then
LD_LIBRARY_PATH="$IPPROOT/lib/$1"; export LD_LIBRARY_PATH
else
LD_LIBRARY_PATH="$IPPROOT/lib/$1:${LD_LIBRARY_PATH}"; export LD_LIBRARY_PATH
fi

LD_LIBRARY_PATH="$IPPROOT/../compiler/lib/$1:${LD_LIBRARY_PATH}"; export LD_LIBRARY_PATH

if [ -z "${LIBRARY_PATH}" ]
then
LIBRARY_PATH="$IPPROOT/lib/$1"; export LIBRARY_PATH
else
LIBRARY_PATH="$IPPROOT/lib/$1:${LIBRARY_PATH}"; export LIBRARY_PATH
fi

LIBRARY_PATH="$IPPROOT/../compiler/lib/$1:${LIBRARY_PATH}"; export LIBRARY_PATH

if [ -z "${NLSPATH}" ]
then
NLSPATH="$IPPROOT/lib/$1/locale/%l_%t/%N"; export NLSPATH
else
NLSPATH="$IPPROOT/lib/$1/locale/%l_%t/%N:${NLSPATH}"; export NLSPATH
fi
fi
fi
======================================================


Is there someone can help me about this? I spent about two days for the installation, searched a lot, but still couldn't figure it out. Seems like the IPP environment is not correctly set, but I did all according to the instructions as mentioned above.

Many thanks in advance.
0 Kudos
1 Solution
Ying_H_Intel
Employee
566 Views
Hi ederman,

It looks no problem in your installation and run steps. Could you please check what the result if
>source /opt/intel/composer_xe_2011_sp1.10.319/ipp/bin/ippvars.sh ia32
>echo $IPPROOT

or manually set IPPROOT, then run the
>export IPPROOT=/opt/intel/composer_xe_2011_sp1.10.319/ipp
>./build_ia32.sh

Best Regards,
Ying

View solution in original post

0 Kudos
4 Replies
Ying_H_Intel
Employee
567 Views
Hi ederman,

It looks no problem in your installation and run steps. Could you please check what the result if
>source /opt/intel/composer_xe_2011_sp1.10.319/ipp/bin/ippvars.sh ia32
>echo $IPPROOT

or manually set IPPROOT, then run the
>export IPPROOT=/opt/intel/composer_xe_2011_sp1.10.319/ipp
>./build_ia32.sh

Best Regards,
Ying
0 Kudos
ederman
Beginner
566 Views
Hello Ying,

Thank you very much for your answer.
The output of "echo $IPPROOT" is "/opt/intel/composer_xe_2011_sp1.10.319/ipp", and then I run "./build_ia32.sh", it compiled correctly this time, without any error :)

Can I ask actually what is the reason for this?

Thanks again for your help :)
Regards,
Ederman
0 Kudos
Ying_H_Intel
Employee
566 Views
Hello Ederman,

The error should be ERROR: Intel IPP 7.0 is not detected in your system.It looksthecommand "./ippvars.sh ia32" don't work as expected. (The one ". ippvars.sh ia32" may work).

Best Regards,
Ying
0 Kudos
ederman
Beginner
566 Views
Hi Ying,

Thank you for your explanation :)

Best,
Ederman
0 Kudos
Reply