jcsilva / docker-kaldi-android

Dockerfile for compiling Kaldi for Android.
65 stars 25 forks source link

compile-kaldi.sh - Error: FAILED matrix-lib-test #11

Open lamnguyenx opened 5 years ago

lamnguyenx commented 5 years ago

Hi @jcsilva

I've pulled your docker image and ran it by the following command:

docker run --entrypoint='' -it -v /root/git/kaldi-android:/opt/kaldi jcsilva/docker-kaldi-android:latest /bin/bash

This helped me make cub in Kaldi's tools folder, since Kaldi had a weird issue with --use-cuda=no option passed to configure file (it still tried to include cude):

cd /opt/kaldi/src/tools && make cub

After that, I've run compile-kaldi.sh . It was working for a while until this issue pops up:

arm-linux-androideabi-clang++ -Wl,--no-warn-mismatch -pie matrix-lib-test.o kaldi-matrix.a ../base/kaldi-base.a /opt/kaldi/tools/openfst/lib/libfst.a /opt/OpenBLAS/install/lib/libopenblas.a /opt/OpenBLAS/install/lib/libclapack.a /opt/OpenBLAS/install/lib/liblapack.a /opt/OpenBLAS/install/lib/libblas.a /opt/OpenBLAS/install/lib/libf2c.a -lm -ldl -o matrix-lib-test Running matrix-lib-test ... 1s... FAIL matrix-lib-test Running sparse-matrix-test ... 0s... FAIL sparse-matrix-test make[1]: [test] Error 1 make[1]: Leaving directory /opt/kaldi/src/matrix make: [all] Error 2

I'm looking forward to a hint, @jcsilva :) Might it be a bug with arm-linux-androideabi-clang++?

Thank you!

lamnguyenx commented 5 years ago

Hi @jcsilva

Finally I've solved all these issues:

That's all :)

hariom95 commented 4 years ago

can u please tell the exact location of compile-kaldi.sh file, i am not able to find it.

lamnguyenx commented 4 years ago

can u please tell the exact location of compile-kaldi.sh file, i am not able to find it.

I've just check the Dockerfile: https://github.com/jcsilva/docker-kaldi-android/blob/master/Dockerfile. Seems that it resides at /opt/ ;)

Also, you could simply run docker exec -it <container_name> /bin/bash to open the container's interactive shell :+1: