Having installation problem.
system: Ubuntu 16.04.6 LTS
cd tools; extras/check_dependencies.sh: Intel MKL is not installed. Run extras/install_mkl.sh to install it.
... You can also use other matrix algebra libraries. For information, see:
... http://kaldi-asr.org/doc/matrixwrap.html
Then I run:
sudo extras/install_mkl.sh and get the following message:
```
Get:38 http://security.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [173 kB]
Get:39 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [5,604 B]
Get:40 http://security.ubuntu.com/ubuntu xenial-security/multiverse i386 Packages [5,764 B]
Ign:41 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 DEP-11 Metadata
Ign:32 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata
Ign:33 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons
Ign:37 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata
Ign:41 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 DEP-11 Metadata
Ign:32 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata
Err:33 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons
Could not open file /var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_xenial-security_main_dep11_icons-64x64.tar.gz - open (13: Permission denied) [IP: 91.189.91.23 80]
Ign:37 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata
Ign:41 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 DEP-11 Metadata
Ign:32 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata
Fetched 220 kB in 2s (86.8 kB/s)
Reading package lists... Done
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/main/dep11/icons-64x64.tar Could not open file /var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_xenial-security_main_dep11_icons-64x64.tar.gz - open (13: Permission denied) [IP: 91.189.91.23 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
extras/install_mkl.sh: MKL package intel-mkl-64bit-2019.2-057 installation FAILED.
```
I haven't faced this issue before on the same system. Has something changed?
--
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/d0a4e985-a59d-47c3-821a-f3b0390e224d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Configuring KALDI to use MKL
Configuring ...
Checking compiler g++ ...
Checking OpenFst library in /data/sls/temp/sameerk/tools/kaldi/tools/openfst ...
Checking cub library in /data/sls/temp/sameerk/tools/kaldi/tools/cub ...
Doing OS specific configurations ...
On Linux: Checking for linear algebra header files ...
Configuring MKL library directory: ***configure failed: MKL libraries could not be found. Please use the switch --mkl-libdir ***
To unsubscribe from this group and stop receiving emails from it, send an email to kaldi...@googlegroups.com.
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/51d45fbe-6e72-4453-82d3-096e1d373e17%40googlegroups.com.
sudo rm /var/lib/apt/lists/partial/*
Then your next 'sudo apt-get update' should update cleanly.
This broken cache state occurs sometimes when apt crashes.
You should be able to install MKL after that, or wait for the ATLAS fix. MKL is significantly faster.
--
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/6bbac8ec-744d-40d2-b6cf-ca77deab2d3a%40googlegroups.com.
Do you know for sure that that is still true?
To unsubscribe from this group and stop receiving emails from it, send an email to kaldi...@googlegroups.com.
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/00f2889f-82e3-4f38-9f12-7bb4dd5f6178%40googlegroups.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/bf77bbcd-659d-4122-a4fd-09d57dc58e99%40googlegroups.com.
We could probably settle this by having someone test MKL and BLAS with Kaldi on some AMD architecture.
We could probably settle this by having someone test MKL and BLAS with Kaldi on some AMD architecture.
To unsubscribe from this group and stop receiving emails from it, send an email to kaldi...@googlegroups.com.
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/90d86f21-4161-408f-a16d-9092f6203fa0%40googlegroups.com.
AMD used to have acml lib that included blas but that seems long dead. Seems like they provide optimized core for blis but not sure how the API looks like. Probably openblas would be safest bet in cases of AMD?Y.
Making MKL default is a lot akin to making CUDA default which kaldi currently does not do.
As a software engineer, I have had a quick look at the .so files that are part of the MKL. The files I have mentioned in my earlier reply specifically have checks for "GenuineIntel". Why would this be if MKL does not have separate code paths for Intel Vs non-Intel. Intel is trying to be nice here. It cannot keep checking for what is/isn't supported on non-Intel platforms and takes a safe bet with supporting at most SSE2. MKL crashing on non-Intel x86_64 platforms is a bigger PR nightmare than it performing poorly on them.