added TESTOPTS
[charm.git] / tests / ampi / chkpt / Makefile
1 CHARMC=../../../bin/charmc
2
3 all: hello
4
5 ampi: hello
6
7 hello: hello.c
8         $(CHARMC) -o hello hello.c -language ampi $(OPTS)
9
10 test: hello
11         rm -rf log
12         ./charmrun +p3 ./hello +vp8 $(TESTOPTS)
13         ./charmrun +p3 ./hello +vp8 +restart log $(TESTOPTS)
14         ./charmrun +p2 ./hello +vp8 +restart log $(TESTOPTS)
15
16 bgtest: clean ampi
17         ./charmrun +p3 ./hello +vp8 +x3 +y1 +z1
18         ./charmrun +p3 ./hello +vp8 +restart log +x3 +y1 +z1
19         ./charmrun +p2 ./hello +vp8 +restart log +x2 +y1 +z1
20
21 clean:
22         rm -f *.o *.mod moduleinit.C hello *~ conv-host charmrun
23         rm -rf log