-
Aidan Chalk authored
Fixed test_matadd and the errors it found to do with send/recv tasks becoming visible to user code (rather than being solely contained in the library. It finds severe issues with load balancing (I believe) slash movement of data when the initial layout would be load balanced. Need a python script to generate task plots from this.
Aidan Chalk authoredFixed test_matadd and the errors it found to do with send/recv tasks becoming visible to user code (rather than being solely contained in the library. It finds severe issues with load balancing (I believe) slash movement of data when the initial layout would be load balanced. Need a python script to generate task plots from this.
Makefile.am 2.89 KiB
# This file is part of SWIFT.
# Coypright (c) 2012 Pedro Gonnet (pedro.gonnet@durham.ac.uk),
# Matthieu Schaller (matthieu.schaller@durham.ac.uk).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# Add the source directory and debug to CFLAGS
AM_CFLAGS = -I../src -g -O3 -Wall -Werror -ffast-math -fstrict-aliasing -ftree-vectorize \
-funroll-loops $(SIMD_FLAGS) $(OPENMP_CFLAGS) -DTIMERS -std=gnu99 \
-fsanitize=address -fno-omit-frame-pointer
AM_LDFLAGS =
METIS_LIBS = @METIS_LIBS@
MPI_THREAD_LIBS = @MPI_THREAD_LIBS@
MPI_LIBS = $(METIS_LIBS) $(MPI_THREAD_LIBS)
# Set-up the library
bin_PROGRAMS = test test_bh test_bh_sorted test_fmm_sorted test_bh_mpi test_qr_mpi test_qr test_matadd_mpi
if HAVECBLAS
bin_PROGRAMS += test_qr_mpi_cblas
endif
# Sources for test
test_SOURCES = test.c
test_CFLAGS = $(AM_CFLAGS)
test_LDADD = ../src/.libs/libquicksched.a
# Sources for test_qr
test_qr_SOURCES = test_qr.c
test_qr_CFLAGS = $(AM_CFLAGS)
test_qr_LDADD = ../src/.libs/libquicksched.a
#-llapacke -llapacke -lblas -lcblas
# Sources for test_bh
test_bh_SOURCES = test_bh.c
test_bh_CFLAGS = $(AM_CFLAGS)
test_bh_LDADD = ../src/.libs/libquicksched.a
# Sources for test_bh_sorted
test_bh_sorted_SOURCES = test_bh_sorted.c
test_bh_sorted_CFLAGS = $(AM_CFLAGS)
test_bh_sorted_LDADD = ../src/.libs/libquicksched.a
# Sources for test_fmm_sorted
test_fmm_sorted_SOURCES = test_fmm_sorted.c
test_fmm_sorted_CFLAGS = $(AM_CFLAGS)
test_fmm_sorted_LDADD = ../src/.libs/libquicksched.a
test_bh_mpi_SOURCES = test_bh_mpi.c
test_bh_mpi_CFLAGS = $(AM_CFLAGS) -DWITH_MPI
test_bh_mpi_LDADD = ../src/.libs/libquickschedMPI.a $(METIS_LIBS)
test_bh_mpi_LDFLAGS = $(MPI_THREAD_LIBS)
test_qr_mpi_SOURCES = test_qr_mpi.c
test_qr_mpi_CFLAGS = $(AM_CFLAGS) -DWITH_MPI
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_LIB
test_qr_mpi_cblas_LDADD = ../src/.libs/libquickschedMPI.a -llapacke -llapacke -lblas -lcblas $(METIS_LIBS)
test_qr_mpi_cblas_LDFLAGS = $(MPI_THREAD_LIBS)
test_matadd_mpi_SOURCES = test_matadd_mpi.c
test_matadd_mpi_CFLAGS = $(AM_CFLAGS) -DWITH_MPI
test_matadd_mpi_LDADD = ../src/.libs/libquickschedMPI.a $(METIS_LIBS)
test_matadd_mpi_LDFLAGS = $(MPI_THREAD_LIBS)