fix bugs to run without pool allocation like the ppopp paper experiments
[IRC.git] / Robust / src / Benchmarks / oooJava / sor / makefile
1 PROGRAM=JGFSORBenchSizeD
2
3 SOURCE_FILES=JGFSORBenchSizeD.java
4
5 BUILDSCRIPT=../../../buildscript
6
7
8 COREPROFOVERFLOW= #-coreprof-checkoverflow
9 USECOREPROF= -coreprof $(COREPROFOVERFLOW) \
10         -coreprof-eventwords 1024*1024*128 \
11         -coreprof-enable cpe_main \
12         -coreprof-enable cpe_taskdispatch
13 #       -coreprof-enable cpe_runmalloc \
14 #       -coreprof-enable cpe_runfree \
15 #       -coreprof-enable cpe_count_poolalloc \
16 #       -coreprof-enable cpe_count_poolreuse \
17 #       -coreprof-enable cpe_workschedgrab \
18 #       -coreprof-enable cpe_taskexecute \
19 #       -coreprof-enable cpe_taskretire \
20 #       -coreprof-enable cpe_taskstallvar \
21 #       -coreprof-enable cpe_taskstallmem
22
23
24 USEOOO= -ooojava 24 2  -ooodebug -ooodebug-disable-task-mem-pool 
25 BSFLAGS= -64bit -mainclass $(PROGRAM)  -heapsize-mb 1024 -garbagestats -debug -joptimize -noloop -optimize 
26
27 DRELEASEMODE=-disjoint-release-mode -disjoint-alias-file aliases.txt tabbed
28 DISJOINT= -disjoint -disjoint-k 1 -enable-assertions $(DRELEASEMODE) #-disjoint-desire-determinism
29
30 default:
31         $(BUILDSCRIPT) -nojava $(BSFLAGS) $(USECOREPROF) $(USEOOO) $(DISJOINT) -o $(PROGRAM)p -builddir par  $(SOURCE_FILES)
32
33 single:
34         $(BUILDSCRIPT) -thread $(BSFLAGS) $(USECOREPROF)                       -o $(PROGRAM)s -builddir sing $(SOURCE_FILES) 
35
36 ooo:
37         $(BUILDSCRIPT)         $(BSFLAGS) $(USECOREPROF) $(USEOOO) $(DISJOINT) -o $(PROGRAM)p -builddir par  $(SOURCE_FILES) 
38
39 clean:
40         rm -f  $(PROGRAM)p.bin $(PROGRAM)s.bin
41         rm -fr par sing
42         rm -f  *~
43         rm -f  *.dot
44         rm -f  *.png
45         rm -f  *.txt
46         rm -f  aliases.txt
47         rm -f  mlpReport*txt
48         rm -f  results*txt
49         rm -f coreprof.dat
50         rm -f trace.out