stencil3d ldb example: add test target to Makefile
authorAbhinav S Bhatele <bhatele@illinois.edu>
Wed, 29 Dec 2010 17:50:42 +0000 (11:50 -0600)
committerAbhinav S Bhatele <bhatele@illinois.edu>
Wed, 29 Dec 2010 17:50:42 +0000 (11:50 -0600)
examples/charm++/load_balancing/stencil3d/Makefile

index 18840937dc829fa1a823ca1a10933114ff531796..899cbbe40159e60dfb588a0b1c407e765bbab8b6 100644 (file)
@@ -17,11 +17,12 @@ summary: $(OBJS)
 stencil3d.decl.h: stencil3d.ci
        $(CHARMC)  stencil3d.ci
 
 stencil3d.decl.h: stencil3d.ci
        $(CHARMC)  stencil3d.ci
 
-clean:
-       rm -f *.decl.h *.def.h conv-host *.o stencil3d stencil3d.prj charmrun *~
-
 stencil3d.o: stencil3d.C stencil3d.decl.h
        $(CHARMC) -c stencil3d.C
 
 stencil3d.o: stencil3d.C stencil3d.decl.h
        $(CHARMC) -c stencil3d.C
 
-run: stencil3d
-       ./charmrun +p2 ./stencil3d 20 10 +balancer Refine
+clean:
+       rm -f *.decl.h *.def.h conv-host *.o stencil3d stencil3d.prj charmrun *~
+
+test: stencil3d
+       ./charmrun +p4 ./stencil3d 32 16 +balancer GreedyLB
+       ./charmrun +p4 ./stencil3d 32 16 +balancer RefineLB