synesthesiam / voice2json

Command-line tools for speech and intent recognition on Linux
MIT License
1.08k stars 63 forks source link

Cannot compile voice2json anymore because of ATLAS, can MKL be used for Kaldi instead? #70

Open marcello-pietrobon opened 2 years ago

marcello-pietrobon commented 2 years ago

Hi, I switched from ubuntu to archlinux and I can't compile atlas and therefore voice2json neither.

$ ./configure
configure: error: ATLAS is required for Kaldi (libatlas-base-dev package)

The compilation of atlas is getting me into many many problems (because of some incompatible changes in the gcc compiler) which I'm trying to resolve with the help in appropriate forums, for example here, [Package Details: atlas-lapack 3.10.3-6 - Marcello commented on 2022-03-28 12:08 (UTC)

but I'm close to give up. In Kaldi_ External matrix libraries they say that in order to have kaldi working I may use the Intel Math Kernel Library (MKL)

but from the code in configure it seems that only HAVE_ATLAS was allowed.

Is there a particular reason for that? Is there a way to use MKL and use HAVE_MKL ?

Many thanks in advance for your answer

Marcello

marcello-pietrobon commented 2 years ago

I've been able to compile ATLAS separately (but only after applying the fix described in https://sourceforge.net/p/math-atlas/support-requests/1089/)

Still I couldn't have configure in voice2json to be able to see ATLAS

At the end I used OpenBLAS and finally made all working as described in https://github.com/synesthesiam/voice2json/issues/40