Skip to content

Commit 9bdb57d

Browse files
committed
fix bug: initialized max_num_recvers
1 parent 1b0bf0f commit 9bdb57d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

MPI/alltomany.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ int main(int argc, char **argv) {
7171
len = 48;
7272
ntimes = 1;
7373
ratio = 1;
74+
max_num_recvers = nprocs;
7475

7576
/* command-line arguments */
7677
while ((i = getopt (argc, argv, "hvasl:n:r:m:")) != EOF)

0 commit comments

Comments
 (0)