Fork me on GitHub
Brian Chevalier03:11:44

I made a little website for my own reference on how to translate equivalent MATLAB and NumPy expressions into core.matrix and Clojure! I want to add more languages and examples in the future (ie R, Julia), pull requests are welcome! See

aw_yeah 3
💯 3

I'm having a problem with clatrix / jblas, and I figured maybe someone here could help me with it, although it's not strictly a core.matrix topic. The LU-Decomposition of clatrix calls into jblas.Decompose/lu which uses jblas.NativeBlas/dgetrf - and that throws UnsatisfiedLinkError. So I guess there must be something insufficient with my native blas libs, but I'm having the hardest time coming up with something useful via google. I'm using version 0.5.0 of clatrix and that seems to use 1.2.3 of jblas. Also I've got a libblas installed that apparently came with my system (Ubuntu 20.04) and installed libopenblas to no avail so far:

❯ sudo ldconfig -p | grep blas (libc6,x86-64) => /lib/x86_64-linux-gnu/ (libc6,x86-64) => /lib/x86_64-linux-gnu/ (libc6,x86-64) => /lib/x86_64-linux-gnu/ (libc6,x86-64) => /lib/x86_64-linux-gnu/
and I've got liblapack installed:
❯ sudo ldconfig -p | grep lapack (libc6,x86-64) => /lib/x86_64-linux-gnu/ (libc6,x86-64) => /lib/x86_64-linux-gnu/
So some questions here already: will libopenblas and libblas collide in this manner? How can I help jblas to find an implementation for dgetrf? Sorry about the nooby questions, rather new to the entire LA computing party