$ ./configure --shared --use-cuda=yes --mkl-root=/opt/intel/mkl --threaded-math=yes$ ./configure --shared --use-cuda=yes --mkl-root=/opt/intel/mkl --threaded-math=yes
Configuring KALDI to use MKL.
Checking compiler g++ ...
Checking OpenFst library in /home/${user}/Projects/kaldi_mkl_test/tools/openfst-1.6.7 ...
Checking cub library in /home/${user}/Projects/kaldi_mkl_test/tools/cub-1.8.0 ...
Doing OS specific configurations ...
On Linux: Checking for linear algebra header files ...
Configuring MKL library directory: Found: /opt/intel/compilers_and_libraries_2017.4.196/linux/mkl/lib/intel64
MKL configured with threading: iomp, libs: -L/opt/intel/compilers_and_libraries_2017.4.196/linux/mkl/lib/intel64 -Wl,-rpath=/opt/intel/compilers_and_libraries_2017.4.196/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_intel_thread
MKL include directory configured as: /opt/intel/compilers_and_libraries_2017.4.196/linux/mkl/include
Configuring MKL threading as iomp
./configure: line 335: cd: lib/intel64: No such file or directory
./configure: line 337: cd: lib/em64t: No such file or directory
./configure: line 340: cd: lib/intel64: No such file or directory
./configure: line 342: cd: lib/em64t: No such file or directory
***configure failed: Could not find the iomp5 library, have your tried the --omp-libdir switch? ***$ ./configure --shared --use-cuda=yes --mkl-root=/opt/intel/mkl
Configuring KALDI to use MKL.
Checking compiler g++ ...
Checking OpenFst library in /home/${user}/Projects/kaldi_mkl_test/tools/openfst-1.6.7 ...
Checking cub library in /home/${user}/Projects/kaldi_mkl_test/tools/cub-1.8.0 ...
Doing OS specific configurations ...
On Linux: Checking for linear algebra header files ...
Configuring MKL library directory: Found: /opt/intel/compilers_and_libraries_2017.4.196/linux/mkl/lib/intel64
MKL configured with threading: sequential, libs: -L/opt/intel/compilers_and_libraries_2017.4.196/linux/mkl/lib/intel64 -Wl,-rpath=/opt/intel/compilers_and_libraries_2017.4.196/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_sequential
MKL include directory configured as: /opt/intel/compilers_and_libraries_2017.4.196/linux/mkl/include
Configuring MKL threading as sequential
MKL threading libraries configured as -ldl -lpthread -lm
Using Intel MKL as the linear algebra library.
Intel(R) Math Kernel Library Version 2017.0.3 Product Build 20170413 for Intel(R) 64 architecture applications
Successfully configured for Linux with MKL libs from /opt/intel/compilers_and_libraries_2017.4.196/linux/mkl
Using CUDA toolkit /usr/local/cuda (nvcc compiler and runtime libraries)
INFO: Configuring Kaldi not to link with Speex. Don't worry, it's only needed if
you intend to use 'compress-uncompress-speex', which is very unlikely.
WARNING: slow expf() detected. expf() is slower than exp() by the factor of 1.20813
*** WARNING: expf() seems to be slower than exp() on your machine. This is a known bug in old versions of glibc. Please consider updating glibc. ***
*** Kaldi will be configured to use exp() instead of expf() in base/kaldi-math.h Exp() routine for single-precision floats. ***
Kaldi has been successfully configured. To compile:
make -j clean depend; make -j <NCPU>
where <NCPU> is the number of parallel builds you can afford to do. If unsure,
use the smaller of the number of CPUs or the amount of RAM in GB divided by 2,
to stay within safe limits. 'make -j' without the numeric value may not limit
the number of parallel jobs at all, and overwhelm even a powerful workstation,
since Kaldi build is highly parallelized.
--
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/f0f0cfb8-53a2-44d8-bf18-316d4ae89139%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
# Threaded math
Timing stats: real-time factor for offline decoding was 0.043807 = 852.155 seconds / 19452.5 seconds.
real 14m23.431s
user 600m23.021s
sys 33m0.198s
# MKL - Sequential
Timing stats: real-time factor for offline decoding was 0.102773 = 1999.18 seconds / 19452.5 seconds.
real 33m32.943s
user 33m15.195s
sys 0m14.111s$ ./configure --threaded-math
Configuring KALDI to use MKL.
Backing up kaldi.mk to kaldi.mk.bak ...
Checking compiler g++ ...
Checking OpenFst library in /home/kkm/work/kaldi2/tools/openfst-1.6.9 ...
Checking cub library in /home/kkm/work/kaldi2/tools/cub-1.8.0 ...
Doing OS specific configurations ...
On Linux: Checking for linear algebra header files ...
Configuring MKL library directory: Found: /opt/intel/mkl/lib/intel64
MKL configured with threading: iomp, libs: -L/opt/intel/mkl/lib/intel64 -Wl,-rpath=/opt/intel/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_intel_thread
MKL include directory configured as: /opt/intel/mkl/include
Configuring MKL threading as iomp
MKL threading libraries configured as -L/opt/intel/compilers_and_libraries_2019.2.187/linux/compiler/lib/intel64_lin -Wl,-rpath=/opt/intel/compilers_and_libraries_2019.2.187/linux/compiler/lib/intel64_lin -liomp5 -ldl -lpthread -lm
Using Intel MKL as the linear algebra library.
Intel(R) Math Kernel Library Version 2019.0.2 Product Build 20190118 for Intel(R) 64 architecture applications
Successfully configured for Linux with MKL libs from /opt/intel/mkl