Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tutorials/mpi-reduce-and-allreduce/code/reduce_avg.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ float *create_rand_nums(int num_elements) {

int main(int argc, char** argv) {
if (argc != 2) {
fprintf(stderr, "Usage: avg num_elements_per_proc\n");
fprintf(stderr, "Usage: reduce_avg num_elements_per_proc\n");
exit(1);
}

Expand Down
2 changes: 1 addition & 1 deletion tutorials/mpi-reduce-and-allreduce/code/reduce_stddev.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ float *create_rand_nums(int num_elements) {

int main(int argc, char** argv) {
if (argc != 2) {
fprintf(stderr, "Usage: avg num_elements_per_proc\n");
fprintf(stderr, "Usage: reduce_stddev num_elements_per_proc\n");
exit(1);
}

Expand Down
2 changes: 1 addition & 1 deletion tutorials/mpi-scatter-gather-and-allgather/code/all_avg.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ float compute_avg(float *array, int num_elements) {

int main(int argc, char** argv) {
if (argc != 2) {
fprintf(stderr, "Usage: avg num_elements_per_proc\n");
fprintf(stderr, "Usage: all_avg num_elements_per_proc\n");
exit(1);
}

Expand Down