Une MAJ de sécurité est nécessaire sur notre version actuelle. Elle sera effectuée lundi 02/08 entre 12h30 et 13h. L'interruption de service devrait durer quelques minutes (probablement moins de 5 minutes).

Commit 14e7c9e9 authored by THIBAULT Samuel's avatar THIBAULT Samuel
Browse files

Fix build with starpu1.1 which doesn't have starpu_mpi_comm_{rank,size}: let's...

Fix build with starpu1.1 which doesn't have starpu_mpi_comm_{rank,size}: let's just call RUNTIME_comm_{rank,size} which already do things properly
parent ff85d223
......@@ -109,8 +109,8 @@ int RUNTIME_init_scheduler( MORSE_context_t *morse, int ncpus, int ncudas, int n
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));
RUNTIME_comm_rank(&(morse->my_mpi_rank));
RUNTIME_comm_size(&(morse->mpi_comm_size));
}
#endif
......
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