We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b05524e commit 295a54dCopy full SHA for 295a54d
1 file changed
src/network/node.c
@@ -77,7 +77,8 @@ void node_cycle(struct node *n) {
77
debug("Read OP", n->id);
78
char *data = malloc(m->size * sizeof(char));
79
read_on_node(n, m->address, data, m->size);
80
- MPI_Send(data, m->size * sizeof(char), MPI_BYTE, m->id_s, 4, MPI_COMM_WORLD);
+ debug("Send Read: Data", n->id);
81
+ MPI_Send(data, m->size, MPI_BYTE, m->id_s, 4, MPI_COMM_WORLD);
82
free(data);
83
break;
84
default:
0 commit comments