Skip to content

Commit 9efd7f1

Browse files
committed
Merge pull request #1513 from kmroz/wip-documentation
README: fix compilation example
2 parents f2e33c7 + 18e57f9 commit 9efd7f1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -483,8 +483,9 @@ MPI Functionality and Features
483483
your appliation via (e.g., via -lompitrace) will automatically
484484
output to stderr when some MPI functions are invoked:
485485

486-
shell$ mpicc hello_world.c -o hello_world -lompitrace
487-
shell$ mpirun -np 1 hello_world.c
486+
shell$ cd examples/
487+
shell$ mpicc hello_c.c -o hello_c -lompitrace
488+
shell$ mpirun -np 1 hello_c
488489
MPI_INIT: argc 1
489490
Hello, world, I am 0 of 1
490491
MPI_BARRIER[0]: comm MPI_COMM_WORLD

0 commit comments

Comments
 (0)