alumae / kaldi-gstreamer-server

Real-time full-duplex speech recognition server, based on the Kaldi toolkit and the GStreamer framwork.
BSD 2-Clause "Simplified" License
1.07k stars 341 forks source link

INTEL MKL ERROR: /opt/intel/mkl/lib/intel64/libmkl_avx2.so: undefined symbol: mkl_sparse_optimize_bsr_trsm_i8. Intel MKL FATAL ERROR: Cannot load libmkl_avx2.so or libmkl_def.so. #251

Open jichaoqun opened 3 years ago

jichaoqun commented 3 years ago

when i do this "python kaldigstserver/worker.py -u ws://localhost:8888/worker/ws/speech -c sample_worker.yaml",I have get this problems: INTEL MKL ERROR: /opt/intel/mkl/lib/intel64/libmkl_avx2.so: undefined symbol: mkl_sparse_optimize_bsr_trsm_i8. Intel MKL FATAL ERROR: Cannot load libmkl_avx2.so or libmkl_def.so. and then i have try many ways,but the are still not work.such as conda install numpy

itzsimpl commented 3 years ago

Try with

export LD_PRELOAD=/opt/intel/mkl/lib/intel64/libmkl_core.so:/opt/intel/mkl/lib/intel64/libmkl_intel_thread.so:/opt/intel/mkl/lib/intel64/libmkl_intel_lp64.so:/opt/intel/lib/intel64/libiomp5.so
jichaoqun commented 3 years ago

Try with

export LD_PRELOAD=/opt/intel/mkl/lib/intel64/libmkl_core.so:/opt/intel/mkl/lib/intel64/libmkl_intel_thread.so:/opt/intel/mkl/lib/intel64/libmkl_intel_lp64.so:/opt/intel/lib/intel64/libiomp5.so

when i do this it can be ok , but if i have a new work it also have this quession. and i have a new : Audio sent, now sending EOS Received error from server (status 1) can you help me?think you very much!