From 2a59334e323fe5e205651956edff44469dbe0219 Mon Sep 17 00:00:00 2001 From: Florent Pruvost <florent.pruvost@inria.fr> Date: Fri, 11 Dec 2015 09:22:11 +0000 Subject: [PATCH] does not build with starpu/simgrid if symbols starpu_mpi_cache_flush and starpu_mpi_cache_flush_all_data --- runtime/starpu/codelets/codelet_dataflush.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/starpu/codelets/codelet_dataflush.c b/runtime/starpu/codelets/codelet_dataflush.c index 1debb4b67..b86b95218 100644 --- a/runtime/starpu/codelets/codelet_dataflush.c +++ b/runtime/starpu/codelets/codelet_dataflush.c @@ -56,7 +56,7 @@ void MORSE_TASK_dataflush(MORSE_option_t *options, if (*ptrtile != NULL) { -#if defined(CHAMELEON_USE_MPI) +#if defined(CHAMELEON_USE_MPI) && !defined(CHAMELEON_SIMULATION) starpu_mpi_cache_flush(MPI_COMM_WORLD, *ptrtile); #endif @@ -77,7 +77,7 @@ void MORSE_TASK_dataflush(MORSE_option_t *options, void MORSE_TASK_dataflush_all() { -#if defined(CHAMELEON_USE_MPI) +#if defined(CHAMELEON_USE_MPI) && !defined(CHAMELEON_SIMULATION) starpu_mpi_cache_flush_all_data(MPI_COMM_WORLD); #endif } -- GitLab