Fork me on GitHub
#core-matrix
<
2020-11-29
>
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! https://brianchevalier.github.io/matrix-compare/ I want to add more languages and examples in the future (ie R, Julia), pull requests are welcome! See https://github.com/BrianChevalier/matrix-compare

aw_yeah 3
💯 3
Schmoho16:11:16

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
	libopenblas.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/libopenblas.so.0
	libopenblas.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libopenblas.so
	libblas.so.3 (libc6,x86-64) => /lib/x86_64-linux-gnu/libblas.so.3
	libblas.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libblas.so
and I've got liblapack installed:
❯ sudo ldconfig -p | grep lapack
	liblapack.so.3 (libc6,x86-64) => /lib/x86_64-linux-gnu/liblapack.so.3
	liblapack.so (libc6,x86-64) => /lib/x86_64-linux-gnu/liblapack.so
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