Attention une mise à jour du serveur va être effectuée le vendredi 16 avril entre 12h et 12h30. Cette mise à jour va générer une interruption du service de quelques minutes.

Commit 37f43c07 authored by THIBAULT Samuel's avatar THIBAULT Samuel

Avoid final MPI calls in simulation mode, as the starpu MPI thread will be over at that time

parent 528753e0
......@@ -98,8 +98,8 @@ int MORSE_InitPar(int ncpus, int ncudas, int nthreads_per_worker)
#if defined(CHAMELEON_USE_MPI)
/* Assuming that there was no outer init (which SMPI doesn't support anyway) */
morse->mpi_outer_init = 0;
/* Assuming that we don't initialize MPI ourself (which SMPI doesn't support anyway) */
morse->mpi_outer_init = 1;
# else
int flag = 0, provided = 0;
......@@ -143,7 +143,9 @@ int MORSE_Finalize(void)
# endif
#if defined(CHAMELEON_USE_MPI)
if (!morse->mpi_outer_init)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment