| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258 | # StarPU --- Runtime system for heterogeneous multicore architectures.## Copyright (C) 2009-2020  Université de Bordeaux, CNRS (LaBRI UMR 5800), Inria# Copyright (C) 2013       Thibaut Lambert## 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.#include $(top_srcdir)/starpu.mkCC=$(MPICC)CCLD=$(MPICC)noinst_PROGRAMS		=if STARPU_HAVE_WINDOWSLOADER_BIN		=elseloader_CPPFLAGS 	= 	$(AM_CFLAGS) $(AM_CPPFLAGS) -I$(top_builddir)/src/if !STARPU_SIMGRIDLOADER			=	loaderLOADER_BIN		=	$(abs_top_builddir)/mpi/tests/$(LOADER)noinst_PROGRAMS		+=	loaderendifloader_SOURCES		=	../../tests/loader.cendifif STARPU_SIMGRIDMPI			=	$(abs_top_builddir)/tools/starpu_smpirun -np 4 -platform $(abs_top_srcdir)/tools/perfmodels/cluster.xml -hostfile $(abs_top_srcdir)/tools/perfmodels/hostfileelse# we always test on 4 processes, the execution time is not that biggerif STARPU_QUICK_CHECKMPI			=	$(MPIEXEC) $(MPIEXEC_ARGS) -np 4elseMPI			=	$(MPIEXEC) $(MPIEXEC_ARGS) -np 4endifendifif STARPU_HAVE_AM111TESTS_ENVIRONMENT	=	STARPU_WORKERS_NOBIND=1 STARPU_NCPU=3 top_builddir="$(abs_top_builddir)" top_srcdir="$(abs_top_srcdir)"LOG_COMPILER	 	=	$(MPI) $(LOADER_BIN)elseTESTS_ENVIRONMENT 	=	STARPU_WORKERS_NOBIND=1 STARPU_NCPU=3 top_builddir="$(abs_top_builddir)" top_srcdir="$(abs_top_srcdir)" $(MPI) $(LOADER_BIN)endifif STARPU_MPI_CHECKTESTS			=	$(starpu_mpi_TESTS)endifcheck_PROGRAMS = $(LOADER) $(starpu_mpi_TESTS)BUILT_SOURCES =CLEANFILES = *.gcno *.gcda *.linkinfo starpu_idle_microsec.logEXTRA_DIST = 				\	helper.h			\	user_defined_datatype_value.hexamplebindir = $(libdir)/starpu/examples/mpiexamplebin_PROGRAMS =if STARPU_USE_CUDAif STARPU_COVERITYinclude $(top_srcdir)/starpu-mynvcc.mkelseNVCCFLAGS += --compiler-options -fno-strict-aliasing  -I$(top_srcdir)/include/ -I$(top_builddir)/include/ $(HWLOC_CFLAGS).cu.cubin:	$(V_nvcc) $(NVCC) -cubin $< -o $@ $(NVCCFLAGS).cu.o:	$(V_nvcc) $(NVCC) $< -c -o $@ $(NVCCFLAGS)endifendifAM_CFLAGS = -Wall $(STARPU_CUDA_CPPFLAGS) $(STARPU_OPENCL_CPPFLAGS) $(FXT_CFLAGS) $(MAGMA_CFLAGS) $(HWLOC_CFLAGS) $(GLOBAL_AM_CFLAGS) -Wno-unusedLIBS = $(top_builddir)/src/@LIBSTARPU_LINK@ ../src/libstarpumpi-@STARPU_EFFECTIVE_VERSION@.la @LIBS@ $(FXT_LIBS) $(MAGMA_LIBS)AM_CPPFLAGS = -I$(top_srcdir)/include/ -I$(top_builddir)/include -I$(top_srcdir)/mpi/include -I$(top_srcdir)/mpi/src -I$(top_srcdir)/src -I$(top_builddir)/src -I$(top_srcdir)/examples/AM_LDFLAGS = $(STARPU_OPENCL_LDFLAGS) $(STARPU_CUDA_LDFLAGS) $(FXT_LDFLAGS) $(STARPU_COI_LDFLAGS) $(STARPU_SCIF_LDFLAGS)######################### Unit testcases       #########################starpu_mpi_TESTS =starpu_mpi_TESTS +=				\	broadcast				\	callback				\	driver					\	early_request				\	gather					\	gather2					\	insert_task				\	insert_task_block			\	insert_task_count			\	insert_task_dyn_handles			\	insert_task_node_choice			\	insert_task_owner			\	insert_task_owner2			\	insert_task_owner_data			\	matrix					\	matrix2					\	mpi_barrier				\	mpi_detached_tag			\	mpi_earlyrecv				\	mpi_irecv				\	mpi_irecv_detached			\	mpi_isend				\	mpi_isend_detached			\	mpi_reduction				\	mpi_redux				\	mpi_scatter_gather			\	mpi_test				\	multiple_send				\	pingpong				\	policy_register				\	policy_register_many			\	policy_selection			\	policy_selection2			\	ring					\	ring_async				\	ring_async_implicit			\	ring_sync				\	ring_sync_detached			\	temporary				\	user_defined_datatype			\	early_stuffif !STARPU_SIMGRID# missing support in simgridstarpu_mpi_TESTS +=				\	attr					\	display_bindings			\	mpi_earlyrecv2				\	mpi_earlyrecv2_sync			\	block_interface				\	block_interface_pinned			\	insert_task_compute			\	insert_task_sent_cache			\	insert_task_recv_cache			\	insert_task_seq				\	tags_checking				\	syncif STARPU_USE_MPI_MPIstarpu_mpi_TESTS +=				\	load_balancerendif# Expected to failstarpu_mpi_TESTS +=				\	policy_register_toomany			\	policy_unregister			\	starpu_redefineendifnoinst_PROGRAMS +=				\	datatypes				\	pingpong				\	mpi_test				\	mpi_isend				\	mpi_earlyrecv				\	mpi_earlyrecv2				\	mpi_earlyrecv2_sync			\	mpi_irecv				\	mpi_barrier				\	mpi_isend_detached			\	mpi_irecv_detached			\	mpi_detached_tag			\	mpi_redux				\	ring					\	ring_sync				\	ring_sync_detached			\	ring_async				\	ring_async_implicit			\	temporary				\	early_stuff				\	block_interface				\	block_interface_pinned			\	attr					\	broadcast				\	callback				\	matrix					\	matrix2					\	insert_task				\	insert_task_compute			\	insert_task_sent_cache			\	insert_task_recv_cache			\	insert_task_block			\	insert_task_owner			\	insert_task_owner2			\	insert_task_owner_data			\	insert_task_node_choice			\	insert_task_count			\	insert_task_dyn_handles			\	insert_task_seq				\	multiple_send				\	mpi_scatter_gather			\	mpi_reduction				\	user_defined_datatype			\	tags_checking				\	sync					\	gather					\	gather2					\	policy_register				\	policy_register_many			\	policy_register_toomany			\	policy_unregister			\	policy_selection			\	policy_selection2			\	early_request				\	starpu_redefine				\	load_balancer				\	driver					\	nothing							\	display_bindingsXFAIL_TESTS=					\	policy_register_toomany			\	policy_unregister			\	starpu_redefine				\	nothingring_SOURCES = ring.cring_sync_SOURCES = ring_sync.cring_sync_detached_SOURCES = ring_sync_detached.cring_async_SOURCES = ring_async.cring_async_implicit_SOURCES = ring_async_implicit.cinsert_task_count_SOURCES = insert_task_count.cif STARPU_USE_CUDAring_SOURCES += ring_kernel.curing_sync_SOURCES += ring_kernel.curing_sync_detached_SOURCES += ring_kernel.curing_async_SOURCES += ring_kernel.curing_async_implicit_SOURCES += ring_kernel.cuinsert_task_count_SOURCES += ring_kernel.cuendifmpi_reduction_SOURCES = mpi_reduction.cmpi_reduction_SOURCES += mpi_reduction_kernels.cuser_defined_datatype_SOURCES = user_defined_datatype.cuser_defined_datatype_SOURCES += ../../examples/interface/complex_interface.cmpi_earlyrecv2_SOURCES = mpi_earlyrecv2.cmpi_earlyrecv2_SOURCES += ../../examples/interface/complex_interface.cmpi_earlyrecv2_sync_SOURCES = mpi_earlyrecv2_sync.cmpi_earlyrecv2_sync_SOURCES += ../../examples/interface/complex_interface.c
 |