Modifications for TAU tracing in the Charm++ framework.
[charm.git] / tests / charm++ / pingpong / Makefile
1 include $(HOME)/tau2-new/x86_64/lib/Makefile.tau-icpc-mpi-pthread
2
3 SRC=../../../src
4 CHARMC=../../../bin/charmc $(OPTS)
5
6 OBJS = pingpong.o
7
8 all:    cifiles pgm
9
10 pgm: $(OBJS)
11         $(CHARMC) -language charm++ -o pgm $(OBJS) $(TAU_LIBS)
12
13 cifiles: pingpong.ci
14         $(CHARMC)  pingpong.ci
15
16 clean:
17         rm -f *.decl.h *.def.h conv-host *.o pgm charmrun
18
19 pingpong.o: pingpong.C
20         $(CHARMC) -I$(SRC)/conv-core pingpong.C
21
22 test: all
23         @echo "Intra-processor Pingpong.."
24         ./charmrun ./pgm +p1 $(TESTOPTS)
25         @echo "Inter-processor Pingpong.."
26         ./charmrun ./pgm +p2 $(TESTOPTS)
27
28 bgtest: all
29         @echo "Intra-processor Pingpong.."
30         ./charmrun ./pgm +p1 +x1 +y1 +z1
31         @echo "Inter-processor Pingpong.."
32         ./charmrun ./pgm +p2 +x2 +y1 +z1
33