msgQ test: Adjust test parameters (num priorities, numiters)
[charm.git] / tests / charm++ / pmetest / Makefile
1 FFTW_HOME=/bgl/local/fftw-2.1.5/
2 OPTS=-g -O3 
3
4 CHARMC=../../../bin/charmc $(OPTS)
5 INCLUDES=-I$(FFTW_HOME)/include -I$(CHARMBASE)/include/fftlib \
6          -DFFTW_ENABLE_FLOAT=1
7
8 LIBS=-module PencilFFT -L$(FFTW_HOME)/lib -language charm++ -lsfftw -lsrfftw
9
10 OBJS = testpme.o patch.o
11
12 all:    cifiles testpme
13
14 testpme: $(OBJS)
15         $(CHARMC) -language charm++ -o testpme $(OBJS) ${LIBS}
16
17 cifiles: testpme.ci
18         $(CHARMC)  testpme.ci
19
20 clean:
21         rm -f *~ *.decl.h *.def.h conv-host *.o testpme charmrun
22
23 testpme.o: testpme.C
24         $(CHARMC) -c testpme.C ${INCLUDES}
25
26 patch.o: patch.C
27         $(CHARMC) -c patch.C ${INCLUDES}
28
29 test: all
30         @echo "Intra-processor TestPME.."
31         ./charmrun ./testpme +p1
32         @echo "Inter-processor TestPME.."
33         ./charmrun ./testpme +p2
34
35 bgtest: all
36         @echo "Intra-processor TestPME.."
37         ./charmrun ./testpme +p1 +x1 +y1 +z1
38         @echo "Inter-processor TestPME.."
39         ./charmrun ./testpme +p2 +x2 +y1 +z1
40