install problem on IMTAphy

Asked by roy

I tried to install the IMTAphy in ubuntu 12.04, 64bit , intel core i5.
I installed the intel Parallel Studio XE 2015 Professional Editon to use the MKL library.
When I was nstalling the MKL, I had no idea on how to set the environment variables $MKLROOT, $INCLUDE, $LIBRARY_PATH. After search this on the Internet, I modified the "/etc/profile" as following:
export INCLUDE=$INCLUDE:/opt/intel/mkl/include
export PATH=$PATH:/opt/intel/bin
export LIBRARY_PATH=$LIBRARY_PATH:/opt/intel/mkl/lib/ia32
export LD_LIBRARY_PATH=$LD_LIBRARY_LIB:/opt/intel/lib/ia32:/opt/intel/mkl/lib/ia32
In these paths, I can't find the "intel64", only "ia32" that I can choose. So I am very puzzled about this. Should I use an older version?
After set the environment variables like this, I try to build the imtaphy and openwns using the"./playground.py install && ./playground.py insall --flavour=opt", the results are as following:
ERROR:
Unable to remove path for wnsbase Python module in sandbox

ERROR:
Unable to install wnsbase files to sandbox
Executing: scons dbg --warn=no-missing-sconscript -j 4 default
scons: Reading SConscript files ...
-I/usr/include/python2.7 -I/usr/include/python2.7
-lpthread -ldl -lutil -lm -lpython2.7

scons: warning: The env.SourceSignatures() method is deprecated;
 convert your build to use the env.Decider() method instead.
File "/home/lte/openwns-sdk/SConstruct", line 74, in <module>

scons: warning: The env.TargetSignatures() method is deprecated;
 convert your build to use the env.Decider() method instead.
File "/home/lte/openwns-sdk/SConstruct", line 75, in <module>

scons: warning: The Options class is deprecated; use the Variables class instead.
File "/home/lte/openwns-sdk/SConstruct", line 127, in <module>

scons: warning: The BoolOption() function is deprecated; use the BoolVariable() function instead.
File "/home/lte/openwns-sdk/SConstruct", line 128, in <module>

scons: warning: The PathOption() function is deprecated; use the PathVariable() function instead.
File "/home/lte/openwns-sdk/SConstruct", line 129, in <module>

scons: warning: The PackageOption() function is deprecated; use the PackageVariable() function instead.
File "/home/lte/openwns-sdk/SConstruct", line 135, in <module>
Checking for icecc compiler...(cached) no
Checking for C library cppunit... (cached) yes
Checking for C library boost_program_options-mt... (cached) yes
Checking for C library boost_signals-mt... (cached) yes
Checking for C library boost_date_time-mt... (cached) yes
Checking for C library boost_filesystem-mt... (cached) yes

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>
MKL path not found, exiting. Please make sure the Intel Math Kernel library is installed and the MKLROOT environment variable is set
How can I solve the problem? Thank you.

Question information

Language:
English Edit question
Status:
Answered
For:
IMTAphy Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Maciej Muehleisen (mue-comnets) said :
#1

You have to type "source /opt/intel/mkl/bin/mklvars.sh intel64" the word "source" is important. You can but this in ~/.bashrc. Please remove everything you put in /etc/profile to avoid side effects and reboot.

Revision history for this message
roy (1462745685-n) said :
#2

I remove the following paths to the ~/.bashrc and type "source /opt/intel/mkl/bin/mklvars.sh intel 64" in the terminal.
export INCLUDE=$INCLUDE:/opt/intel/mkl/include
export PATH=$PATH:/opt/intel/bin
export LIBRARY_PATH=$LIBRARY_PATH:/opt/intel/mkl/lib/ia32
export LD_LIBRARY_PATH=$LD_LIBRARY_LIB:/opt/intel/lib/ia32:/opt/intel/mkl/lib/ia32

after execute the "./playground.py install && ./playground.py install --flavour=opt" , there are also some errors.

ERROR:
Unable to remove path for wnsbase Python module in sandbox

ERROR:
Unable to install wnsbase files to sandbox
Executing: scons dbg --warn=no-missing-sconscript -j 4 default
scons: Reading SConscript files ...
-I/usr/include/python2.7 -I/usr/include/python2.7
-lpthread -ldl -lutil -lm -lpython2.7

scons: warning: The env.SourceSignatures() method is deprecated;
 convert your build to use the env.Decider() method instead.
File "/home/lte/openwns-sdk/SConstruct", line 74, in <module>

scons: warning: The env.TargetSignatures() method is deprecated;
 convert your build to use the env.Decider() method instead.
File "/home/lte/openwns-sdk/SConstruct", line 75, in <module>

scons: warning: The Options class is deprecated; use the Variables class instead.
File "/home/lte/openwns-sdk/SConstruct", line 127, in <module>

scons: warning: The BoolOption() function is deprecated; use the BoolVariable() function instead.
File "/home/lte/openwns-sdk/SConstruct", line 128, in <module>

scons: warning: The PathOption() function is deprecated; use the PathVariable() function instead.
File "/home/lte/openwns-sdk/SConstruct", line 129, in <module>

scons: warning: The PackageOption() function is deprecated; use the PackageVariable() function instead.
File "/home/lte/openwns-sdk/SConstruct", line 135, in <module>
Checking for icecc compiler...(cached) no
Checking for C library cppunit... (cached) yes
Checking for C library boost_program_options-mt... (cached) yes
Checking for C library boost_signals-mt... (cached) yes
Checking for C library boost_date_time-mt... (cached) yes
Checking for C library boost_filesystem-mt... (cached) yes

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>
Checking for C library iomp5... (cached) no
Checking for C library pthread... (cached) yes
Intel openMP lib iomp5 found

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>
Checking for C library iomp5... (cached) no
Checking for C library pthread... (cached) yes
Intel openMP lib iomp5 found

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>
Checking for C library iomp5... (cached) no
Checking for C library pthread... (cached) yes
Intel openMP lib iomp5 found

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>
scons: done reading SConscript files.
scons: Building targets ...
g++ -o .build/dbg/imtaphy/src/StationPhy.os -c -g -O0 -fno-inline -fno-ipa-cp-clone -fopenmp -fPIC -DMKL=1 -I.include -I/usr/include/python2.7 modules/phy/imtaphy/src/StationPhy.cpp
g++ -o .build/dbg/imtaphy/src/Channel.os -c -g -O0 -fno-inline -fno-ipa-cp-clone -fopenmp -fPIC -DMKL=1 -I.include -I/usr/include/python2.7 modules/phy/imtaphy/src/Channel.cpp
g++ -o .build/dbg/imtaphy/src/pathloss/M2135Pathloss.os -c -g -O0 -fno-inline -fno-ipa-cp-clone -fopenmp -fPIC -DMKL=1 -I.include -I/usr/include/python2.7 modules/phy/imtaphy/src/pathloss/M2135Pathloss.cpp
g++ -o .build/dbg/imtaphy/src/pathloss/No.os -c -g -O0 -fno-inline -fno-ipa-cp-clone -fopenmp -fPIC -DMKL=1 -I.include -I/usr/include/python2.7 modules/phy/imtaphy/src/pathloss/No.cpp
In file included from .include/IMTAPHY/interface/DataTransmission.hpp:37:0,
                 from .include/IMTAPHY/StationPhy.hpp:35,
                 from .include/IMTAPHY/Channel.hpp:43,
                 from modules/phy/imtaphy/src/Channel.cpp:30:
.include/IMTAPHY/detail/LinearAlgebra.hpp:49:31: fatal error: mkl_vml_functions.h: No such file or directory
compilation terminated.
In file included from .include/IMTAPHY/interface/DataTransmission.hpp:37:0,
                 from .include/IMTAPHY/StationPhy.hpp:35,
                 from modules/phy/imtaphy/src/StationPhy.cpp:30:
.include/IMTAPHY/detail/LinearAlgebra.hpp:49:31: fatal error: mkl_vml_functions.h: No such file or directory
compilation terminated.
In file included from .include/IMTAPHY/interface/DataTransmission.hpp:37:0,
                 from .include/IMTAPHY/StationPhy.hpp:35,
                 from .include/IMTAPHY/Link.hpp:35,
                 from .include/IMTAPHY/pathloss/M2135Pathloss.hpp:34,
                 from modules/phy/imtaphy/src/pathloss/M2135Pathloss.cpp:61:
.include/IMTAPHY/detail/LinearAlgebra.hpp:49:31: fatal error: mkl_vml_functions.h: No such file or directory
compilation terminated.
In file included from .include/IMTAPHY/interface/DataTransmission.hpp:37:0,
                 from .include/IMTAPHY/StationPhy.hpp:35,
                 from .include/IMTAPHY/Link.hpp:35,
                 from .include/IMTAPHY/pathloss/No.hpp:34,
                 from modules/phy/imtaphy/src/pathloss/No.cpp:31:
.include/IMTAPHY/detail/LinearAlgebra.hpp:49:31: fatal error: mkl_vml_functions.h: No such file or directory
compilation terminated.
scons: *** [.build/dbg/imtaphy/src/StationPhy.os] Error 1
scons: *** [.build/dbg/imtaphy/src/Channel.os] Error 1
scons: *** [.build/dbg/imtaphy/src/pathloss/M2135Pathloss.os] Error 1
scons: *** [.build/dbg/imtaphy/src/pathloss/No.os] Error 1
scons: building terminated because of errors.
lte@lte-ThinkPad-T430:~/openwns-sdk$ sudo naulitus
[sudo] password for lte:
sudo: naulitus:找不到命令
lte@lte-ThinkPad-T430:~/openwns-sdk$ sudo nautilus
Initializing nautilus-gdu extension
Nautilus-Share-Message: Called "net usershare info" but it failed: “net usershare”返回错误 255:net usershare: cannot open usershare directory /var/lib/samba/usershares. Error 没有那个文件或目录
Please ask your system administrator to enable user sharing.

Nautilus-Share-Message: Called "net usershare info" but it failed: “net usershare”返回错误 255:net usershare: cannot open usershare directory /var/lib/samba/usershares. Error 没有那个文件或目录
Please ask your system administrator to enable user sharing.

Shutting down nautilus-gdu extension
lte@lte-ThinkPad-T430:~/openwns-sdk$ source /home/lte/.bashrc
lte@lte-ThinkPad-T430:~/openwns-sdk$ ./playground.py install && ./playground.py install --flavour=opt

ERROR:
Unable to remove path for wnsbase Python module in sandbox

ERROR:
Unable to install wnsbase files to sandbox
Executing: scons dbg --warn=no-missing-sconscript -j 4 default
scons: Reading SConscript files ...
-I/usr/include/python2.7 -I/usr/include/python2.7
-lpthread -ldl -lutil -lm -lpython2.7

scons: warning: The env.SourceSignatures() method is deprecated;
 convert your build to use the env.Decider() method instead.
File "/home/lte/openwns-sdk/SConstruct", line 74, in <module>

scons: warning: The env.TargetSignatures() method is deprecated;
 convert your build to use the env.Decider() method instead.
File "/home/lte/openwns-sdk/SConstruct", line 75, in <module>

scons: warning: The Options class is deprecated; use the Variables class instead.
File "/home/lte/openwns-sdk/SConstruct", line 127, in <module>

scons: warning: The BoolOption() function is deprecated; use the BoolVariable() function instead.
File "/home/lte/openwns-sdk/SConstruct", line 128, in <module>

scons: warning: The PathOption() function is deprecated; use the PathVariable() function instead.
File "/home/lte/openwns-sdk/SConstruct", line 129, in <module>

scons: warning: The PackageOption() function is deprecated; use the PackageVariable() function instead.
File "/home/lte/openwns-sdk/SConstruct", line 135, in <module>
Checking for icecc compiler...(cached) no
Checking for C library cppunit... (cached) yes
Checking for C library boost_program_options-mt... (cached) yes
Checking for C library boost_signals-mt... (cached) yes
Checking for C library boost_date_time-mt... (cached) yes
Checking for C library boost_filesystem-mt... (cached) yes

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>
Checking for C library iomp5... (cached) no
Checking for C library pthread... (cached) yes
Intel openMP lib iomp5 found

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>
Checking for C library iomp5... (cached) no
Checking for C library pthread... (cached) yes
Intel openMP lib iomp5 found

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>
Checking for C library iomp5... (cached) no
Checking for C library pthread... (cached) yes
Intel openMP lib iomp5 found

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>
scons: done reading SConscript files.
scons: Building targets ...
g++ -o .build/dbg/imtaphy/src/StationPhy.os -c -g -O0 -fno-inline -fno-ipa-cp-clone -fopenmp -fPIC -DMKL=1 -I.include -I/usr/include/python2.7 -I/opt/intel/mkl/include modules/phy/imtaphy/src/StationPhy.cpp
g++ -o .build/dbg/imtaphy/src/Channel.os -c -g -O0 -fno-inline -fno-ipa-cp-clone -fopenmp -fPIC -DMKL=1 -I.include -I/usr/include/python2.7 -I/opt/intel/mkl/include modules/phy/imtaphy/src/Channel.cpp
g++ -o .build/dbg/imtaphy/src/pathloss/M2135Pathloss.os -c -g -O0 -fno-inline -fno-ipa-cp-clone -fopenmp -fPIC -DMKL=1 -I.include -I/usr/include/python2.7 -I/opt/intel/mkl/include modules/phy/imtaphy/src/pathloss/M2135Pathloss.cpp
g++ -o .build/dbg/imtaphy/src/pathloss/No.os -c -g -O0 -fno-inline -fno-ipa-cp-clone -fopenmp -fPIC -DMKL=1 -I.include -I/usr/include/python2.7 -I/opt/intel/mkl/include modules/phy/imtaphy/src/pathloss/No.cpp
In file included from .include/IMTAPHY/lsParams/LSCorrelation.hpp:36:0,
                 from .include/IMTAPHY/Channel.hpp:49,
                 from modules/phy/imtaphy/src/Channel.cpp:30:
.include/IMTAPHY/lsParams/RngMock.hpp: In member function 'virtual void imtaphy::lsparams::RandomMatrix::fillNormalDistributionWithMKL(float*, int, int)':
.include/IMTAPHY/lsParams/RngMock.hpp:78:39: error: 'VSL_METHOD_SGAUSSIAN_ICDF' was not declared in this scope
In file included from .include/IMTAPHY/lsParams/LSCorrelation.hpp:36:0,
                 from .include/IMTAPHY/Channel.hpp:49,
                 from modules/phy/imtaphy/src/StationPhy.cpp:33:
.include/IMTAPHY/lsParams/RngMock.hpp: In member function 'virtual void imtaphy::lsparams::RandomMatrix::fillNormalDistributionWithMKL(float*, int, int)':
.include/IMTAPHY/lsParams/RngMock.hpp:78:39: error: 'VSL_METHOD_SGAUSSIAN_ICDF' was not declared in this scope
In file included from .include/IMTAPHY/lsParams/LSCorrelation.hpp:36:0,
                 from .include/IMTAPHY/Channel.hpp:49,
                 from modules/phy/imtaphy/src/pathloss/M2135Pathloss.cpp:66:
.include/IMTAPHY/lsParams/RngMock.hpp: In member function 'virtual void imtaphy::lsparams::RandomMatrix::fillNormalDistributionWithMKL(float*, int, int)':
.include/IMTAPHY/lsParams/RngMock.hpp:78:39: error: 'VSL_METHOD_SGAUSSIAN_ICDF' was not declared in this scope
scons: *** [.build/dbg/imtaphy/src/StationPhy.os] Error 1
scons: *** [.build/dbg/imtaphy/src/Channel.os] Error 1
scons: *** [.build/dbg/imtaphy/src/pathloss/M2135Pathloss.os] Error 1
scons: building terminated because of errors.

Revision history for this message
Maciej Muehleisen (mue-comnets) said :
#3

Could be something went wrong regarding user rights. Let's start over again:

if you like, remove your openWNS directory or at least move (mv) it.

Be sure you are logged in as normal user

In your home dir type: "bzr co lp:openwns-sdk"
Enter directory config and type "wget http://www.lkn.ei.tum.de/personen/jan/imtaphy/projects.py"
Go back to main directory and try "./playground.py install", answer yes to question.

Regards

Maciej

Revision history for this message
roy (1462745685-n) said :
#4

Hello, I have removed the openWNS , and set the MKL environment variables in .bashrc as following:
export INCLUDE=$INCLUDE:/opt/intel/mkl/include
export PATH=$PATH:/opt/intel/bin
export LIBRARY_PATH=$LIBRARY_PATH:/opt/intel/mkl/lib/ia32
export LD_LIBRARY_PATH=$LD_LIBRARY_LIB:/opt/intel/lib/ia32:/opt/intel/mkl/lib/ia32

I think this is the main point that lead to the error soon after, and the error log after also tell me this.

I compile the openWNS again and the error are as these:

Executing: scons dbg --warn=no-missing-sconscript -j 4 default
scons: Reading SConscript files ...
-I/usr/include/python2.7 -I/usr/include/python2.7
-lpthread -ldl -lutil -lm -lpython2.7

scons: warning: The env.SourceSignatures() method is deprecated;
 convert your build to use the env.Decider() method instead.
File "/home/lte/openwns-sdk/SConstruct", line 74, in <module>

scons: warning: The env.TargetSignatures() method is deprecated;
 convert your build to use the env.Decider() method instead.
File "/home/lte/openwns-sdk/SConstruct", line 75, in <module>

scons: warning: The Options class is deprecated; use the Variables class instead.
File "/home/lte/openwns-sdk/SConstruct", line 127, in <module>

scons: warning: The BoolOption() function is deprecated; use the BoolVariable() function instead.
File "/home/lte/openwns-sdk/SConstruct", line 128, in <module>

scons: warning: The PathOption() function is deprecated; use the PathVariable() function instead.
File "/home/lte/openwns-sdk/SConstruct", line 129, in <module>

scons: warning: The PackageOption() function is deprecated; use the PackageVariable() function instead.
File "/home/lte/openwns-sdk/SConstruct", line 135, in <module>
Checking for icecc compiler...no
Checking for C library cppunit... yes
Checking for C library boost_program_options-mt... yes
Checking for C library boost_signals-mt... yes
Checking for C library boost_date_time-mt... yes
Checking for C library boost_filesystem-mt... yes

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>

scons: warning: BuildDir() and the build_dir keyword have been deprecated;
 use VariantDir() and the variant_dir keyword instead.
File "/home/lte/openwns-sdk/SConstruct", line 297, in <module>
MKL path not found, exiting. Please make sure the Intel Math Kernel library is installed and the MKLROOT environment variable is set

Please tell me how to set the MKL environment variables , thank you.

Revision history for this message
Maciej Muehleisen (mue-comnets) said :
#5

Just put this line in .bashrc and remove all the other stuff:

source /opt/intel/mkl/bin/mklvars.sh intel64

Revision history for this message
Maciej Muehleisen (mue-comnets) said :
#6

Just put this line in .bashrc and remova all the other stuff:

source /opt/intel/mkl/bin/mklvars.sh intel64

Revision history for this message
roy (1462745685-n) said :
#7

I am sorry to bother , but there are also some errors , even if I put the "source /opt/intel/mkl/bin/mklvars.sh intel64" into .bashrc and remove others.
The errors are these:
In file included from .include/IMTAPHY/interface/DataTransmission.hpp:37:0,
                 from .include/IMTAPHY/StationPhy.hpp:35,
                 from .include/IMTAPHY/Link.hpp:35,
                 from .include/IMTAPHY/pathloss/No.hpp:34,
                 from modules/phy/imtaphy/src/pathloss/No.cpp:31:
.include/IMTAPHY/detail/LinearAlgebra.hpp:49:31: fatal error: mkl_vml_functions.h: No such file or directory
compilation terminated.

All the errors told me that there is no mkl_vml_functions.h.
How can I do.

Revision history for this message
Maciej Muehleisen (mue-comnets) said :
#8

Can you help with this problem?

Provide an answer of your own, or ask roy for more information if necessary.

To post a message you must log in.