Hi all,

I tried to use in GroovyLab ?(https://github.com/sterglee/GroovyLab) the ND4j Java scientific library (https://github.com/deeplearning4j/deeplearning4j) , by placing the corresponding .jar file at the classpath of GroovyShell.


Unfortunately, it has problem to initialize the backends (i.e. native code, e.g. OpenBLAS, Intell MKL, NVIDIA CUDA etc),

and code such as


x= org.nd4j.linalg.factory.Nd4j.rand(9,9)

fails.


With Java9's JShell such code works and it is possible to work with the ND4j in a scripting MATLAB like style.

But also by using the JShell's API from GroovyLab,

I have the same problem as with GroovyShell, i.e. backend initialization failure.

Also with GroovyConsole the backend isn't properly initialized.


Any opinion about the problem?


Best Regards


Stergios


Reply via email to