kNeighbor changes which can be used to test metabalancer
[charm.git] / examples / charm++ / load_balancing / kNeighbor / Makefile
1 OPTS    = -g
2 CHARMC  = ../../../../bin/charmc $(OPTS)
3 #CHARMC = $(HOME)/charm/bin/charmc $(OPTS)
4
5 OBJS    = kNeighbor.o
6
7 all: kNeighbor 
8
9 kNeighbor: $(OBJS)
10         $(CHARMC) -language charm++ -module CommonLBs -o kNeighbor $(OBJS)
11
12 projections: $(COMPOBJS)
13         $(CHARMC) -language charm++ -tracemode projections -lz -o kNeighbor.prj $(OBJS)
14
15 kNeighbor.decl.h: kNeighbor.ci
16         $(CHARMC) kNeighbor.ci
17
18 kNeighbor.o: kNeighbor.C kNeighbor.decl.h
19         $(CHARMC) -c kNeighbor.C
20
21 clean:
22         rm -f *.decl.h *.def.h conv-host *.o charmrun *~ kNeighbor kNeighbor.prj
23
24 test: all
25         ./charmrun +p4 ./kNeighbor 4 50 128 10 +balancer GreedyLB +LBDebug 1 $(TESTOPTS)
26
27 bgtest: all
28         ./charmrun +p4 ./kNeighbor 4 50 128 10 +balancer GreedyLB +x2 +y2 +z1 +cth1 +wth1 +LBDebug 1 $(TESTOPTS)
29