SciNim / nimblas

BLAS for Nim
http://scinim.github.io/nimblas
Apache License 2.0
42 stars 5 forks source link

Compilation broken after latest commit #1

Closed ghost closed 7 years ago

ghost commented 7 years ago

Hello! This used to work but now fails: nim c -d:atlas -r test_mat.nim Error: could not load: libcblas.so.(|3|2|1|0) However editing nimblas/private/common.nim line 20, fixes the problem

Thank you.

andreaferretti commented 7 years ago

Uhm... I had edited this because other users were not able to locate libcblas.so (without trailing numbers).

Can you tell me what OS you are using and what is the name of libcblas on your system (possibly more than one due to symlinks)?

andreaferretti commented 7 years ago

For instance on my system locate libcblas prints

/usr/lib/libcblas.a
/usr/lib/libcblas.so
/usr/lib/libcblas.so.3
/usr/lib/atlas-base/libcblas.a
/usr/lib/atlas-base/libcblas.so
/usr/lib/atlas-base/libcblas.so.3
/usr/lib/atlas-base/libcblas.so.3.0
ghost commented 7 years ago

I am using Manjaro and I have packages blas and cblas installed. When I give locate libcblas I just get: /usr/lib/libcblas.so