--- setup.py.orig	2017-07-17 03:12:24.000000000 +0200
+++ setup.py	2017-07-17 07:29:02.304617708 +0200
@@ -138,7 +138,10 @@
     # For conda: Try dynamic
     # link library of openblas % conda install numpy scipy h5py pyyaml
     # matplotlib openblas
-    extra_link_args_lapacke += ['-lopenblas']
+  
+    # This is when lapacke is installed on system
+    include_dirs += ['/apps/all/LAPACKE/3.5.0-LAPACK-3.5.0/include']
+    extra_link_args_lapacke = ['/apps/all/LAPACKE/3.5.0-LAPACK-3.5.0/lib/liblapacke.a', '/apps/all/LAPACKE/3.5.0-LAPACK-3.5.0/lib/liblapack.so.3', '/apps/all/PGI/15.7/linux86-64/15.7/lib/libblas.a']
     include_dirs_lapacke += []
     library_dirs_lapacke += []
     if use_setuptools:
