Attention une mise à jour du serveur va être effectuée le lundi 17 mai entre 13h et 13h30. Cette mise à jour va générer une interruption du service de quelques minutes.

Commit d5ac5e81 authored by THIBAULT Samuel's avatar THIBAULT Samuel

Also make StarPU-MPI initialization assume that in the simgrid-mpi case we do...

Also make StarPU-MPI initialization assume that in the simgrid-mpi case we do not have any outer mpi initialization
parent ef564d0c
......@@ -105,7 +105,9 @@ int RUNTIME_init_scheduler( MORSE_context_t *morse, int ncpus, int ncudas, int n
#if defined(CHAMELEON_USE_MPI)
{
int flag = 0;
#if !defined(CHAMELEON_SIMULATION)
MPI_Initialized( &flag );
#endif
starpu_mpi_init(NULL, NULL, !flag);
starpu_mpi_comm_rank(MPI_COMM_WORLD, &(morse->my_mpi_rank));
starpu_mpi_comm_size(MPI_COMM_WORLD, &(morse->mpi_comm_size));
......
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