Skip to content
Snippets Groups Projects
Commit 20508524 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Stupid mistake in the scheduler

parent b18f8cd0
Branches
Tags
2 merge requests!136Master,!731GB messages
...@@ -1066,9 +1066,9 @@ void scheduler_enqueue(struct scheduler *s, struct task *t) { ...@@ -1066,9 +1066,9 @@ void scheduler_enqueue(struct scheduler *s, struct task *t) {
break; break;
case task_type_send: case task_type_send:
#ifdef WITH_MPI #ifdef WITH_MPI
if ((err = MPI_Isend(t->ci->parts, sizeof(struct part) * t->ci->count, if ((err = MPI_Isend(t->ci->parts, t->ci->count, s->part_mpi_type,
s->part_mpi_type, t->cj->nodeID, t->flags, t->cj->nodeID, t->flags, MPI_COMM_WORLD,
MPI_COMM_WORLD, &t->req)) != MPI_SUCCESS) { &t->req)) != MPI_SUCCESS) {
char buff[MPI_MAX_ERROR_STRING]; char buff[MPI_MAX_ERROR_STRING];
int len; int len;
MPI_Error_string(err, buff, &len); MPI_Error_string(err, buff, &len);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment