Skip to content

Instantly share code, notes, and snippets.

@izmailoff
Created April 18, 2016 09:27
Show Gist options
  • Save izmailoff/eb9e3413f9a438df5795aee1ed5c00a3 to your computer and use it in GitHub Desktop.
Save izmailoff/eb9e3413f9a438df5795aee1ed5c00a3 to your computer and use it in GitHub Desktop.
Set these JVM args with -D flag to avoid using native BLAS library and use Java impl instead for deeplearning4j.
-Dcom.github.fommil.netlib.BLAS=com.github.fommil.netlib.F2jBLAS
-Dcom.github.fommil.netlib.LAPACK=com.github.fommil.netlib.F2jLAPACK
-Dcom.github.fommil.netlib.ARPACK=com.github.fommil.netlib.F2jARPACK
@izmailoff
Copy link
Author

This is if Java crashes with something like this:
/usr/java/default/bin/java: symbol lookup error: /tmp/jniloader1086299163910686828netlib-native_system-linux-x86_64.so: undefined symbol: cblas_sgemm

@izmailoff
Copy link
Author

It will be slow but it will work - just a quick workaround

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment