Blob Blame History Raw
diff -up scalapack-2.0.2/scalapack-2.0.2/Makefile.blas scalapack-2.0.2/scalapack-2.0.2/Makefile
--- scalapack-2.0.2/scalapack-2.0.2/Makefile.blas	2016-11-29 11:41:05.255948495 +0100
+++ scalapack-2.0.2/scalapack-2.0.2/Makefile	2016-11-29 11:41:18.305948495 +0100
@@ -108,4 +108,4 @@ cleanexample:
 	( cd EXAMPLE; $(MAKE) clean )
 
 shared: scalapacklib
-	( mkdir tmp ; cp $(SCALAPACKLIB) tmp ; cd tmp ; ar x $(SCALAPACKLIB) ; $(CC) -shared -o ../libscalapack.so.2.0.0 *.o *.oo -Wl,-soname=libscalapack.so.2 -lopenblas -L.. -lm -lgfortran ; cd .. )
+	( mkdir tmp ; cp $(SCALAPACKLIB) tmp ; cd tmp ; ar x $(SCALAPACKLIB) ; $(CC) -shared -o ../libscalapack.so.2.0.0 *.o *.oo -Wl,-soname=libscalapack.so.2 -lblas -llapack -L.. -lm -lgfortran ; cd .. )
diff -up scalapack-2.0.2/scalapack-2.0.2/SLmake.inc.blas scalapack-2.0.2/scalapack-2.0.2/SLmake.inc
--- scalapack-2.0.2/scalapack-2.0.2/SLmake.inc.blas	2016-11-29 11:41:10.475948495 +0100
+++ scalapack-2.0.2/scalapack-2.0.2/SLmake.inc	2016-11-29 11:41:25.785948495 +0100
@@ -56,6 +56,6 @@ SCALAPACKLIB  = libscalapack.a
 #  BLAS, LAPACK (and possibly other) libraries needed for linking test programs
 #
 
-BLASLIB       = -lopenblas
+BLASLIB       = -lblas
 LAPACKLIB     = -llapack
 LIBS          = $(LAPACKLIB) $(BLASLIB)