Skip to content

Commit f78496d

Browse files
kmrozjsquyres
authored andcommitted
README: fix compilation example
Signed-off-by: Karol Mroz <[email protected]> Signed-off-by: Jeff Squyres <[email protected]> (cherry picked from commit open-mpi/ompi@18e57f9)
1 parent e7f909e commit f78496d

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
@@ -478,8 +478,9 @@ MPI Functionality and Features
478478
your appliation via (e.g., via -lompitrace) will automatically
479479
output to stderr when some MPI functions are invoked:
480480

481-
shell$ mpicc hello_world.c -o hello_world -lompitrace
482-
shell$ mpirun -np 1 hello_world.c
481+
shell$ cd examples/
482+
shell$ mpicc hello_c.c -o hello_c -lompitrace
483+
shell$ mpirun -np 1 hello_c
483484
MPI_INIT: argc 1
484485
Hello, world, I am 0 of 1
485486
MPI_BARRIER[0]: comm MPI_COMM_WORLD

0 commit comments

Comments
 (0)