diff --git a/examples/Makefile.am b/examples/Makefile.am index 64fc536e9367666b67ecdb28f127961121870ffb..d05fbd7c6714be89285f5715bfa407b477204e77 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 f5825ab10c67fb784c9525e0c22cccba4f4ef099..640bb4594dcc9381a725d39ac436f098bad0ce84 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);