Merge pull request #1513 from kmroz/wip-documentation
README: fix compilation example
Этот коммит содержится в:
Коммит
9efd7f19f1
5
README
5
README
@ -483,8 +483,9 @@ MPI Functionality and Features
|
|||||||
your appliation via (e.g., via -lompitrace) will automatically
|
your appliation via (e.g., via -lompitrace) will automatically
|
||||||
output to stderr when some MPI functions are invoked:
|
output to stderr when some MPI functions are invoked:
|
||||||
|
|
||||||
shell$ mpicc hello_world.c -o hello_world -lompitrace
|
shell$ cd examples/
|
||||||
shell$ mpirun -np 1 hello_world.c
|
shell$ mpicc hello_c.c -o hello_c -lompitrace
|
||||||
|
shell$ mpirun -np 1 hello_c
|
||||||
MPI_INIT: argc 1
|
MPI_INIT: argc 1
|
||||||
Hello, world, I am 0 of 1
|
Hello, world, I am 0 of 1
|
||||||
MPI_BARRIER[0]: comm MPI_COMM_WORLD
|
MPI_BARRIER[0]: comm MPI_COMM_WORLD
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user