| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272 | # StarPU --- Runtime system for heterogeneous multicore architectures.## Copyright (C) 2009-2011  Université de Bordeaux 1# Copyright (C) 2010, 2011  Centre National de la Recherche Scientifique## StarPU is free software; you can redistribute it and/or modify# it under the terms of the GNU Lesser General Public License as published by# the Free Software Foundation; either version 2.1 of the License, or (at# your option) any later version.## StarPU 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 Lesser General Public License in COPYING.LGPL for more details.CC=$(MPICC)if STARPU_MPI_CHECKTESTS_ENVIRONMENT	=	$(MPIEXEC) -np 2TESTS			=	$(check_PROGRAMS)endifcheck_PROGRAMS =BUILT_SOURCES =CLEANFILES = *.gcno *.gcda *.linkinfoEXTRA_DIST = 					\	examples/mpi_lu/float.h			\	examples/mpi_lu/double.h		\	examples/mpi_lu/plu_example.c		\	examples/mpi_lu/plu_solve.c		\	examples/mpi_lu/pxlu.h			\	examples/mpi_lu/pxlu.c			\	examples/mpi_lu/pxlu_kernels.h		\	examples/mpi_lu/pxlu_kernels.c		\	examples/cholesky/mpi_cholesky.h	\	examples/cholesky/mpi_cholesky_models.hexamplebindir = $(libdir)/starpu/examples/mpiexamplebin_PROGRAMS =if STARPU_USE_CUDA# TODO define NVCCFLAGSNVCC ?= nvccNVCCFLAGS += -I$(top_srcdir)/include/ -I$(top_builddir)/include.cu.cubin:	$(MKDIR_P) `dirname $@`	$(NVCC) -cubin $< -o $@ --compiler-options -fno-strict-aliasing  $(NVCCFLAGS).cu.o:	$(NVCC) $< -c -o $@ --compiler-options -fno-strict-aliasing  $(NVCCFLAGS) -I$(top_srcdir)/include/  -I$(top_builddir)/include/endifAM_CFLAGS = -Wall $(STARPU_CUDA_CPPFLAGS) $(STARPU_OPENCL_CPPFLAGS) $(FXT_CFLAGS) $(MAGMA_CFLAGS)LIBS = $(top_builddir)/src/libstarpu.la @LIBS@ $(FXT_LIBS) $(MAGMA_LIBS)AM_CPPFLAGS = -I$(top_srcdir)/include/ -I$(top_srcdir)/mpi/ -I$(top_srcdir)/src/  -I$(top_srcdir)/examples/ -I$(top_builddir)/src -I$(top_builddir)/includeAM_LDFLAGS = $(STARPU_CUDA_LDFLAGS) $(STARPU_OPENCL_LDFLAGS)lib_LTLIBRARIES = libstarpumpi.lalibstarpumpi_la_LIBADD = $(top_builddir)/src/libstarpu.lanoinst_HEADERS =					\	starpu_mpi_private.h				\	starpu_mpi_fxt.hinclude_HEADERS =					\	starpu_mpi.h					\	starpu_mpi_datatype.hlibstarpumpi_la_SOURCES =				\	starpu_mpi.c					\	starpu_mpi_helper.c				\	starpu_mpi_datatype.c				\	starpu_mpi_insert_task.c			\	starpu_mpi_collective.c#################### Stencil example ####################examplebin_PROGRAMS +=				\	examples/stencil/stencil5examples_stencil_stencil5_LDADD =		\	libstarpumpi.lacheck_PROGRAMS	+=	\	examples/stencil/stencil5################### MPI LU example ###################if !NO_BLAS_LIBexamplebin_PROGRAMS += 				\	examples/mpi_lu/plu_example_float	\	examples/mpi_lu/plu_example_doubleexamples_mpi_lu_plu_example_float_LDADD =	\	libstarpumpi.la				\	$(STARPU_LIBNUMA_LDFLAGS)		\	$(STARPU_BLAS_LDFLAGS)examples_mpi_lu_plu_example_float_SOURCES =	\	examples/mpi_lu/plu_example_float.c	\	examples/mpi_lu/plu_solve_float.c	\	examples/mpi_lu/pslu_kernels.c		\	examples/mpi_lu/pslu.c			\	$(top_srcdir)/examples/common/blas.cexamples_mpi_lu_plu_example_double_LDADD =	\	libstarpumpi.la				\	$(STARPU_LIBNUMA_LDFLAGS)		\	$(STARPU_BLAS_LDFLAGS)examples_mpi_lu_plu_example_double_SOURCES =	\	examples/mpi_lu/plu_example_double.c	\	examples/mpi_lu/plu_solve_double.c  	\	examples/mpi_lu/pdlu_kernels.c	    	\	examples/mpi_lu/pdlu.c		    	\	$(top_srcdir)/examples/common/blas.cendif######################### MPI Cholesky example #########################if !NO_BLAS_LIBexamplebin_PROGRAMS +=		\	examples/cholesky/mpi_cholesky			\	examples/cholesky/mpi_cholesky_distributedexamples_cholesky_mpi_cholesky_SOURCES	=		\	examples/cholesky/mpi_cholesky.c		\	examples/cholesky/mpi_cholesky_models.c		\	examples/cholesky/mpi_cholesky_kernels.c	\	$(top_srcdir)/examples/common/blas.cexamples_cholesky_mpi_cholesky_LDADD =			\	libstarpumpi.la					\	$(STARPU_BLAS_LDFLAGS)examples_cholesky_mpi_cholesky_distributed_SOURCES =	\	examples/cholesky/mpi_cholesky_distributed.c	\	examples/cholesky/mpi_cholesky_models.c		\	examples/cholesky/mpi_cholesky_kernels.c	\	$(top_srcdir)/examples/common/blas.cexamples_cholesky_mpi_cholesky_distributed_LDADD =	\	libstarpumpi.la					\	$(STARPU_BLAS_LDFLAGS)check_PROGRAMS +=					\	examples/cholesky/mpi_cholesky			\	examples/cholesky/mpi_cholesky_distributedendif######################### Scatter Gather       #########################examplebin_PROGRAMS +=		\	examples/scatter_gather/mpi_scatter_gatherexamples_scatter_gather_mpi_scatter_gather_LDADD =	\	libstarpumpi.lacheck_PROGRAMS +=		\	examples/scatter_gather/mpi_scatter_gather######################### Unit testcases       #########################check_PROGRAMS +=					\	tests/pingpong					\	tests/mpi_test					\	tests/mpi_isend					\	tests/mpi_irecv					\	tests/mpi_isend_detached			\	tests/mpi_irecv_detached			\	tests/mpi_detached_tag				\	tests/ring					\	tests/ring_async				\	tests/ring_async_implicit			\	tests/block_interface				\	tests/block_interface_pinned			\	tests/insert_task				\	tests/insert_task_cache				\	tests/insert_task_block				\	tests/insert_task_owner				\	tests/insert_task_owner2			\	tests/insert_task_owner_data			\	tests/multiple_sendnoinst_PROGRAMS =					\	tests/pingpong					\	tests/mpi_test					\	tests/mpi_isend					\	tests/mpi_irecv					\	tests/mpi_isend_detached			\	tests/mpi_irecv_detached			\	tests/mpi_detached_tag				\	tests/ring					\	tests/ring_async				\	tests/ring_async_implicit			\	tests/block_interface				\	tests/block_interface_pinned			\	tests/insert_task				\	tests/insert_task_cache				\	tests/insert_task_block				\	tests/insert_task_owner				\	tests/insert_task_owner2			\	tests/insert_task_owner_data			\	tests/multiple_sendtests_mpi_isend_LDADD =					\	libstarpumpi.latests_mpi_irecv_LDADD =					\	libstarpumpi.latests_mpi_isend_detached_LDADD =			\	libstarpumpi.latests_mpi_irecv_detached_LDADD =			\	libstarpumpi.latests_mpi_detached_tag_LDADD =				\	libstarpumpi.latests_pingpong_LDADD =					\	libstarpumpi.latests_mpi_test_LDADD =					\	libstarpumpi.latests_ring_LDADD =					\	libstarpumpi.latests_ring_async_LDADD =				\	libstarpumpi.latests_ring_async_implicit_LDADD =			\	libstarpumpi.latests_block_interface_LDADD =				\	libstarpumpi.latests_block_interface_pinned_LDADD =			\	libstarpumpi.latests_insert_task_LDADD =				\	libstarpumpi.latests_insert_task_cache_LDADD =				\	libstarpumpi.latests_insert_task_block_LDADD =				\	libstarpumpi.latests_insert_task_owner_LDADD =				\	libstarpumpi.latests_insert_task_owner2_LDADD =			\	libstarpumpi.latests_insert_task_owner_data_LDADD =			\	libstarpumpi.latests_multiple_send_LDADD =				\	libstarpumpi.latests_ring_SOURCES = tests/ring.ctests_ring_async_SOURCES = tests/ring_async.ctests_ring_async_implicit_SOURCES = tests/ring_async_implicit.cif STARPU_USE_CUDAtests_ring_SOURCES += tests/ring_kernel.cutests_ring_async_SOURCES += tests/ring_kernel.cutests_ring_async_implicit_SOURCES += tests/ring_kernel.cuendif
 |