18840937dc829fa1a823ca1a10933114ff531796
[charm.git] / examples / charm++ / load_balancing / stencil3d / Makefile
1 OPTS    = -O3
2 CHARMC  = ../../../../bin/charmc $(OPTS)
3
4 OBJS = stencil3d.o
5
6 all: stencil3d
7
8 stencil3d: $(OBJS)
9         $(CHARMC) -language charm++ -module CommonLBs -o stencil3d $(OBJS)
10
11 projections: $(OBJS)
12         $(CHARMC) -language charm++ -tracemode projections -lz -o stencil3d.prj $(OBJS)
13
14 summary: $(OBJS)
15         $(CHARMC) -language charm++ -tracemode summary -lz -o stencil3d.sum $(OBJS)
16
17 stencil3d.decl.h: stencil3d.ci
18         $(CHARMC)  stencil3d.ci
19
20 clean:
21         rm -f *.decl.h *.def.h conv-host *.o stencil3d stencil3d.prj charmrun *~
22
23 stencil3d.o: stencil3d.C stencil3d.decl.h
24         $(CHARMC) -c stencil3d.C
25
26 run: stencil3d
27         ./charmrun +p2 ./stencil3d 20 10 +balancer Refine