PMunch / nim-playground-frontend

The front-end for https://play.nim-lang.org
45 stars 16 forks source link

some modules need dll #9

Closed ringabout closed 4 years ago

ringabout commented 4 years ago

for example, arraymancer or neo module, it needs blas.dll and lapack.dll to perform matrix calculation. https://play.nim-lang.org/#ix=1YQa

import arraymancer

let j = [0.0, 10.0, 20.0, 30.0].toTensor.reshape(2, 2)
let k = [0.0, 1.0, 2.0, 3.0].toTensor.reshape(2, 2)

echo j * k

could not load: libblas.so(||.3|.2|.1|.0)

In my ubuntu, I will do the following:


sudo apt update
sudo apt install libopenblas-dev
sudo apt install liblapack-dev