Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
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 2 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 2 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 2 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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.