CNTK
CNTK copied to clipboard
Undefined LAPACKE_dgesvd, LAPACKE_sgesvd
I tried to build cpu only c++ version in ubuntu.
I use 2.7 version of CNTK and I install lapacke-dev, lapacke-dev also. I gave configuration, openblas 0.3.7, boost 1.60.0, protobuf-3.1.0 and mpi.
However, while compiling it shows blow undefinition error.
/home/aiware/CNTK/build/release/lib/libCntk.Math-2.7.so: undefined reference to `LAPACKE_dgesvd'
/home/aiware/CNTK/build/release/lib/libCntk.Math-2.7.so: undefined reference to `LAPACKE_sgesvd'
Is there someone help me?
You need install liblapacke-dev and search "LIBS_LIST += openblas m pthread" to your Makefile and use "LIBS_LIST += openblas m pthread lapacke" replace it you can run sed -i s/ "LIBS_LIST += openblas m pthread"/"LIBS_LIST += openblas m pthread lapacke"/g finished it fast
@GitSoftwareNow I didn't know I've got the answer. I really appreciate that. Although I do not try to build at this moment, one day I will try your suggestion. Thanks.
@GitSoftwareNow I didn't know I've got the answer. I really appreciate that. Although I do not try to build at this moment, one day I will try your suggestion. Thanks.
How did you solve this problem, thank you