From 9deb7ef14d1180c3b3ae58540798fa3ac4184e09 Mon Sep 17 00:00:00 2001
From: d74ksy <aidan.chalk@durham.ac.uk>
Date: Thu, 5 Nov 2015 14:55:43 +0000
Subject: [PATCH] Minor change to defines!

---
 examples/Makefile.am   | 2 +-
 examples/test_qr_mpi.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/examples/Makefile.am b/examples/Makefile.am
index 64fc536..d05fbd7 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -70,6 +70,6 @@ test_qr_mpi_LDADD =  ../src/.libs/libquickschedMPI.a $(METIS_LIBS)
 test_qr_mpi_LDFLAGS = $(MPI_THREAD_LIBS)
 
 test_qr_mpi_cblas_SOURCES = test_qr_mpi.c
-test_qr_mpi_cblas_CFLAGS = $(AM_CFLAGS) -DWITH_MPI -DWITH_CBLAS
+test_qr_mpi_cblas_CFLAGS = $(AM_CFLAGS) -DWITH_MPI -DWITH_CBLAS_LIB
 test_qr_mpi_cblas_LDADD =  ../src/.libs/libquickschedMPI.a $(METIS_LIBS) -llapacke -llapacke -lblas -lcblas
 test_qr_mpi_cblas_LDFLAGS = $(MPI_THREAD_LIBS)
diff --git a/examples/test_qr_mpi.c b/examples/test_qr_mpi.c
index f5825ab..640bb45 100644
--- a/examples/test_qr_mpi.c
+++ b/examples/test_qr_mpi.c
@@ -43,7 +43,7 @@
 
 #define TASK_TIMERS
 
-#ifdef WITH_CBLAS
+#ifdef WITH_CBLAS_LIB
 /**
  * Takes a column major matrix, NOT tile major. size is length of a side of the
  * matrix. Only works for square matrices.
@@ -919,7 +919,7 @@ for(i = 0; i < n; i++)
 MPI_Allreduce(MPI_IN_PLACE, tau, m*n*K, MPI_DOUBLE, MPI_SUM, s.comm);
 
 
-#ifdef WITH_CBLAS
+#ifdef WITH_CBLAS_LIB
     //This should check correctness.
 double *tempMatrix = tileToColumn(A, m*n*K*K, m, n, K);
    double *Q = computeQ(tempMatrix, m*K, K, tau, m);
-- 
GitLab