nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
examples: add a basic usage of mpi
[nit.git]
/
examples
/
mpi
/
Makefile
diff --git a/examples/mpi/Makefile
b/examples/mpi/Makefile
new file mode 100644
(file)
index 0000000..
09212ae
--- /dev/null
+++ b/
examples/mpi/Makefile
@@ -0,0
+1,8
@@
+bin/mpi_simple:
+ mkdir -p bin/
+ ../../bin/nitg src/mpi_simple.nit -o bin/mpi_simple
+
+run:
+ mpiexec.openmpi --hostfile hosts bin/mpi_simple
+
+.PHONY: bin/mpi_simple