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

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

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 ; 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.

5 帖子 / 0 全新
最新文章
如需更全面地了解编译器优化,请参阅优化注意事项
Best Reply

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

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

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

Hi Ying,

Thank you for your explanation :)

Best,
Ederman

登陆并发表评论。