Hello , I met some problems on the installation of imtaphy.
I have set the MKL environment variables in .bashrc like this:
"/opt/intel/mkl/bin/mklvars.sh intel64"
And I modified the /openwns-sdk/modules/phy/imtaphy/SConscript as follows:
mklroot= "/opt/intel/composer_xe_2015.3.187/mkl/"
includepath="/opt/intel/composer_xe_2015.3.187/mkl/include"
librarypath="/opt/intel/composer_xe_2015.3.187/compiler/lib/intel64;/opt/intel/composer_xe_2015.3.187/mkl/lib/intel64"
after I have done this, in the terminal, if I input "openwns-sdk$ echo $INCLUDE" , the terminal can't give a path about INCLUDE like this-------"/opt/intel/composer_xe_2015.3.187/mkl/include"
but other commands (echo $LIBRARY_PATH echo $MKLROOT) can give a right return as I write before.
I'm very puzzled about this.
When I tried to compile openwns-sdk using "./playground.py install && ./playground.py install --flavour=opt" , I got these mistakes:(these are part of them)
.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/SingleSlope.cpp:32:
.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
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
scons: *** [.build/dbg/imtaphy/src/StationPhy.os] Error 1
scons: *** [.build/dbg/imtaphy/src/pathloss/SingleSlope.os] Error 1
scons: *** [.build/dbg/imtaphy/src/pathloss/M2135Pathloss.os] Error 1
scons: *** [.build/dbg/imtaphy/src/Channel.os] Error 1
scons: building terminated because of errors.
I extremely want to solve the problem , because it knocked me very long time.
thank you!