]> AND Public Git Repository - simgrid.git/blobdiff - examples/smpi/Makefile.am
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Compile the sendrecv example
[simgrid.git] / examples / smpi / Makefile.am
index 63415a39d33fe1e04021d7cfabd054f321089f66..0e55db25e9e5ab9adb1f494ebab57240219b5db9 100644 (file)
@@ -14,9 +14,9 @@
 #    <simgrid>/tools/tesh/README.tesh
 #  - List the tesh file in the TESTS variable so that it gets tested on make check
 
-noinst_PROGRAMS = bcast bcbench compute compute2 compute3 first second mvmul ring_c split
-#reduce Not working yet (FIXME)
-
+noinst_PROGRAMS = allreduce bcast bcbench compute compute2 compute3 first second mvmul ring_c split scatter reduce  sendrecv 
+allreduce: allreduce.c
+       $(top_builddir)/src/smpi/smpicc $^ -o $@
 bcast: bcast.c
        $(top_builddir)/src/smpi/smpicc $^ -o $@
 bcbench: bcbench.c
@@ -31,6 +31,8 @@ first: mvmul.c
        $(top_builddir)/src/smpi/smpicc $^ -o $@
 second: second.c
        $(top_builddir)/src/smpi/smpicc $^ -o $@
+scatter: scatter.c
+       $(top_builddir)/src/smpi/smpicc $^ -o $@
 reduce: reduce.c
        $(top_builddir)/src/smpi/smpicc $^ -o $@
 ring_c: ring_c.c
@@ -39,9 +41,11 @@ split: split.c
        $(top_builddir)/src/smpi/smpicc $^ -o $@
 mvmul: mvmul.c
        $(top_builddir)/src/smpi/smpicc $^ -o $@
+sendrecv: sendrecv.c
+       $(top_builddir)/src/smpi/smpicc $^ -o $@
 
 # List the tesh files below
-TESTS = bcast.tesh
+TESTS = bcast.tesh reduce.tesh
 
 # No need to change anything after that line
 TESTS_ENVIRONMENT = $(top_builddir)/tools/tesh/tesh