I'm doing what I thought should be a standard install of Kaldi.
What's changed is that this is first time I've done this on Ubuntu
18.4 and g++-6 (latest GPU stuff installed with lambda-stack-cuda
which is great)
I'm getting:
code7 tonyr: /home/tonyr/kaldi/src/bin/est-lda
--write-full-matrix=exp/tri2/full.mat --dim=40 exp/tri2/0.mat
exp/tri2/lda.*acc
/home/tonyr/kaldi/src/bin/est-lda
--write-full-matrix=exp/tri2/full.mat --dim=40 exp/tri2/0.mat
exp/tri2/lda.10.acc exp/tri2/lda.11.acc exp/tri2/lda.12.acc
exp/tri2/lda.13.acc exp/tri2/lda.14.acc exp/tri2/lda.15.acc
exp/tri2/lda.16.acc exp/tri2/lda.17.acc exp/tri2/lda.18.acc
exp/tri2/lda.19.acc exp/tri2/lda.1.acc exp/tri2/lda.20.acc
exp/tri2/lda.21.acc exp/tri2/lda.22.acc exp/tri2/lda.23.acc
exp/tri2/lda.24.acc exp/tri2/lda.25.acc exp/tri2/lda.26.acc
exp/tri2/lda.27.acc exp/tri2/lda.28.acc exp/tri2/lda.29.acc
exp/tri2/lda.2.acc exp/tri2/lda.30.acc exp/tri2/lda.31.acc
exp/tri2/lda.32.acc exp/tri2/lda.33.acc exp/tri2/lda.34.acc
exp/tri2/lda.35.acc exp/tri2/lda.3.acc exp/tri2/lda.4.acc
exp/tri2/lda.5.acc exp/tri2/lda.6.acc exp/tri2/lda.7.acc
exp/tri2/lda.8.acc exp/tri2/lda.9.acc
/home/tonyr/kaldi/src/bin/est-lda: symbol lookup error:
/home/tonyr/kaldi/src/lib/libkaldi-matrix.so: undefined symbol:
clapack_dgetrf
From where I Read The Fine Documentation at http://kaldi-asr.org/doc/matrixwrap.html under "Missing the ATLAS implementation of (parts of) CLAPACK"
I have atlas:
root@code7# apt install libatlas-base-dev libatlas3-base
Reading package lists... Done
Building dependency tree
Reading state information... Done
libatlas-base-dev is already the newest version (3.10.3-5).
libatlas3-base is already the newest version (3.10.3-5).
I can see the dependencies:
code7 tonyr: make
g++-6 -Wl,-rpath=/home/tonyr/kaldi/tools/openfst/lib
-Wl,-rpath,/usr/lib/x86_64-linux-gnu -rdynamic
-Wl,-rpath=/home/tonyr/kaldi/src/lib est-lda.o
../decoder/libkaldi-decoder.so ../lat/libkaldi-lat.so
../lm/libkaldi-lm.so ../fstext/libkaldi-fstext.so
../hmm/libkaldi-hmm.so ../transform/libkaldi-transform.so
../gmm/libkaldi-gmm.so ../tree/libkaldi-tree.so
../util/libkaldi-util.so ../matrix/libkaldi-matrix.so
../base/libkaldi-base.so
/home/tonyr/kaldi/tools/openfst/lib/libfst.so
/usr/lib/x86_64-linux-gnu/liblapack.so
/usr/lib/x86_64-linux-gnu/libcblas.so
/usr/lib/x86_64-linux-gnu/libatlas.so
/usr/lib/x86_64-linux-gnu/libf77blas.so -lm -lpthread -ldl -o
est-lda
The dynamic libraries seems to be installed fine:
code7 tonyr: ls -lta /usr/lib/x86_64-linux-gnu/liblapack.so
/usr/lib/x86_64-linux-gnu/libcblas.so
/usr/lib/x86_64-linux-gnu/libatlas.so
/usr/lib/x86_64-linux-gnu/libf77blas.so
lrwxrwxrwx 1 root root 47 Sep 18 15:41
/usr/lib/x86_64-linux-gnu/liblapack.so ->
/etc/alternatives/liblapack.so-x86_64-linux-gnu
lrwxrwxrwx 1 root root 18 Sep 13 2017
/usr/lib/x86_64-linux-gnu/libatlas.so -> libatlas.so.3.10.3
lrwxrwxrwx 1 root root 18 Sep 13 2017
/usr/lib/x86_64-linux-gnu/libcblas.so -> libcblas.so.3.10.3
lrwxrwxrwx 1 root root 20 Sep 13 2017
/usr/lib/x86_64-linux-gnu/libf77blas.so -> libf77blas.so.3.10.3
and the debug in http://kaldi-asr.org/doc/matrixwrap.html also seems to be fine:
root@code7# strings /usr/lib/x86_64-linux-gnu/liblapack.so |
egrep ATL_[cd]getrf$
ATL_cgetrf
ATL_dgetrf
root@code7:# strings /usr/lib/x86_64-linux-gnu/liblapack.so |
egrep clapack_dgetrf
clapack_dgetrf
That's as far as I've got. All of this would seem to be the latest Ubuntu and CUDA and so perhaps someone else has had this problem and fixed it. I see nothing in the googlegroup archives except problems with manually compiling ATLAS.
Anyone else seen this? No doubt I'll fix it as soon as I post....
Tony
P.S. full install instructions:
git clone https://github.com/kaldi-asr/kaldi.git kaldi --origin
upstream
cd kaldi
( cd tools ; make -j 12 CXX=g++-6 ; extras/install_pocolm.sh )
( cd src; CXX=g++-6 ./configure --shared ; make depend -j 12 ;
make -j 12 )
--
Tony Robinson
CTO, Speechmatics
Mobile: +44 (0)7808 165099 | LinkedIn | Twitter
www.speechmatics.com![]()
--
Go to http://kaldi-asr.org/forums.html find out how to join
---
You received this message because you are subscribed to the Google Groups "kaldi-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kaldi-help+...@googlegroups.com.
To post to this group, send email to kaldi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kaldi-help/db341fc0-1e93-9766-1a34-9db5bb538158%40speechmatics.com.
For more options, visit https://groups.google.com/d/optout.
--
Tony Robinson
CTO, Speechmatics
Mobile: +44 (0)7808 165099 | LinkedIn | Twitter
www.speechmatics.com![]()
To view this discussion on the web visit https://groups.google.com/d/msgid/kaldi-help/CAEWAuyTKsNfVUiY16BK%3Dzehej5QLvsPSvLm2RwV6NY%3DZ9daALg%40mail.gmail.com.
--
Tony Robinson
CTO, Speechmatics
Mobile: +44 (0)7808 165099 | LinkedIn | Twitter
www.speechmatics.com![]()
To view this discussion on the web visit https://groups.google.com/d/msgid/kaldi-help/48886be7-da4f-35dd-395c-dbd7adeaa894%40speechmatics.com.
--
Tony Robinson
CTO, Speechmatics
Mobile: +44 (0)7808 165099 | LinkedIn | Twitter
www.speechmatics.com![]()
To view this discussion on the web visit https://groups.google.com/d/msgid/kaldi-help/CAEWAuyTF7TL7D-6uNGHxuFz%3DtcvJ%3DP4%2BaJkmM8YG%2ByRY_WfduQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/kaldi-help/f2737d7a-d14b-314e-8de2-4c255fbc6995%40speechmatics.com.
--
Tony Robinson
CTO, Speechmatics
Mobile: +44 (0)7808 165099 | LinkedIn | Twitter
www.speechmatics.com![]()
To view this discussion on the web visit https://groups.google.com/d/msgid/kaldi-help/CAEWAuyS64iAc-51aSuYEZcpbcutpvd%3DDjqz0NpwD1Af6Zf-kug%40mail.gmail.com.
I've not faced any issues with Kaldi and Cuda on Ubuntu 18.04 both desktop and server editions. I haven't used lamda-stack-cuda and instead used the debian package from Nvidia's website.
Regards,
Anand
To view this discussion on the web visit https://groups.google.com/d/msgid/kaldi-help/57e21f1e-a0bf-47dc-a6e1-c02ac336e9e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/kaldi-help/ef20d5cd-b6ec-026b-2da1-55648c0b436a%40speechmatics.com.
--
Tony Robinson
CTO, Speechmatics
Mobile: +44 (0)7808 165099 | LinkedIn | Twitter
www.speechmatics.com![]()
To view this discussion on the web visit https://groups.google.com/d/msgid/kaldi-help/CAEWAuyTv62iZn%3DTmwZWpU5_Moz9JWUd3%2BE_yTkbUg8wnyai_XA%40mail.gmail.com.