Hi Sébastien, On Sun, Feb 03, 2019 at 12:07:20PM +0000, Mo Zhou wrote: > It turns out that the incorrect matrix product is a result of > gomp + iomp library clash: octave is linked against the GNU OMP, > while libmkl-rt.so invokes Intel(LLVM) OMP by default.
I got in touch with MKL team and they confirmed that the iomp+gomp mixture is actually a very common error among users. They plan to change the loading mechanism of libmkl-rt for the 2020 production line, to avoid iomp+gomp clash (sounds like yet another magic). So let's keep this bug open for both MKL and Octave for a while, in case any other user came across similar errors. Maybe this bug will be fixed in the late 2019 (they released MKL 2019 in late 2018).