Bug#920730: libmkl-rt: Octave crashes when using MKL as default BLAS/LAPACK implementation

Ido Halperin idohlp at neto.net.il
Mon Jan 28 15:29:40 GMT 2019


Package: libmkl-rt
Version: 2019.1.144-3
Severity: important

Dear Maintainer,

After installing intel-mkl, and setting MKL as the default BLAS/LAPACK
implementation, a severe problem appeared in octave. It crashes on
large array product. Here is the output of a MWE which was written 
in octave's command line:


octave:1> x1=0:100; x1*x1'
ans =  338350
octave:2> x1=0:1000; x1*x1'
ans =  333833500
octave:3> x1=0:10000; x1*x1'
octave-cli: symbol lookup error: /usr/lib/x86_64-linux-
gnu/libmkl_intel_thread.so: undefined symbol: __kmpc_global_thread_num
ido at ihlaptop:~
**$ 

You can see that octave crashed after the 3rd command. This behavior is
consistent. 

It disappears whenever I run:

dpkg-reconfigure libmkl-rt

and select 'No' when I am asked whether MKL should be the default
BLAS/LAPACK implementation.

Regards

*** Reporter, please consider answering these questions, where
appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libmkl-rt depends on:
ii  debconf [debconf-2.0]              1.5.70
ii  libatlas3-base [liblapack.so.3]    3.10.3-7+b1
ii  libblas3 [libblas.so.3]            3.8.0-2
ii  libc6                              2.28-5
ii  libgomp1                           8.2.0-14
ii  liblapack3 [liblapack.so.3]        3.8.0-2
ii  libmkl-locale                      2019.1.144-3
ii  libmkl-meta-computational          2019.1.144-3
ii  libmkl-meta-interface              2019.1.144-3
ii  libmkl-meta-threading              2019.1.144-3
ii  libomp5                            1:7.0-47
ii  libomp5-7                          1:7.0.1-4
ii  libopenblas-base [liblapack.so.3]  0.3.5+ds-1
ii  libtbb2                            2018~U6-4

libmkl-rt recommends no packages.

libmkl-rt suggests no packages.

-- debconf information:
* libmkl-rt/exact-so-3-selections: libblas.so.3, liblapack.so.3,
libblas64.so.3, liblapack64.so.3,
  libmkl-rt/title:
* libmkl-rt/use-as-default-blas-lapack: true



More information about the debian-science-maintainers mailing list