On Monday, 13 January 2020 at 20:47:07 UTC, p.shkadzko wrote:
On Sunday, 12 January 2020 at 13:07:33 UTC, dnsmt wrote:
On Saturday, 11 January 2020 at 16:45:22 UTC, p.shkadzko wrote:
I am trying to run example code from https://tour.dlang.org/tour/en/dub/lubeck


This is Linux Manjaro with openblas package installed.

The Lubeck library depends on CBLAS, but the openblas package in the Arch repository is compiled without CBLAS. You can see that here (note the NO_CBLAS=1 parameter): https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/openblas

Try installing the cblas package: https://www.archlinux.org/packages/extra/x86_64/cblas/

yeah, so I thought too but I have CBLAS installed as a distro package. I also have OpenBLAS installed instead of BLAS because BLAS was removed since it conflicts with OpenBLAS ¯\_(ツ)_/¯

Figured it out by using mir-blas and linking it with openBlas on Linux.
You'll need openBlas and cblas installed.
dub.json needs "subConfigurations": {"mir-blas": "twolib"}
Then you can import blas functions like so import mir.blas : gemm;

Reply via email to