Mentions légales du service

Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment