Changeset 6adeb5f for doc/theses/mike_brooks_MMath/benchmarks/list/Makefile
- Timestamp:
- Apr 10, 2023, 9:25:28 PM (3 years ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- a1b41e3
- Parents:
- 372b6d3 (diff), a085470 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/mike_brooks_MMath/benchmarks/list/Makefile
r372b6d3 r6adeb5f 1 1 # For correctness, see test-correctness.sh. 2 2 # For performance: 3 # 4 # 5 # 6 # 7 # make results-latest.csv -j4RUN_DURATION_SEC=5 RUN_NUM_REPS=5 RUN_DATA_SIZE_MODE=common58 # 9 # make results-latest.csv -j4OP_MOVEMENTS=stack OP_POLARITIES=insfirst OP_ACCESSORS=allhead RUN_DURATION_SEC=5 RUN_NUM_REPS=5 RUN_DATA_SIZE_MODE=thorough10 # 3 # pushd ~/cfax 4 # . ~/setcfa build-fast 5 # popd 6 # make perfprogs CFA=$cfa -j8 MODE=performance 7 # make results-latest.csv RUN_DURATION_SEC=5 RUN_NUM_REPS=5 RUN_DATA_SIZE_MODE=common5 8 # cp results-latest.csv results-baseline.csv 9 # make results-latest.csv OP_MOVEMENTS=stack OP_POLARITIES=insfirst OP_ACCESSORS=allhead RUN_DURATION_SEC=5 RUN_NUM_REPS=5 RUN_DATA_SIZE_MODE=thorough 10 # cp results-latest.csv results-sizing.csv 11 11 12 12 CFA = cfa … … 19 19 RUN_DATA_SIZE_MODE=none 20 20 RUN_DURATION_SEC=5 21 RUN_TASKSET_CPULIST=6 21 22 22 23 ifeq "$(MODE)" "performance" 23 PERFFLAGS_CFA = - nodebug -O324 PERFFLAGS_CFA = -DNDEBUG -O3 -nodebug 24 25 PERFFLAGS_CC = -DNDEBUG -O3 25 26 else ifeq "$(MODE)" "correctness" 26 PERFFLAGS_CFA = - debug -O0 -g27 PERFFLAGS_CC = -O0 -g27 PERFFLAGS_CFA = -O0 -g -debug 28 PERFFLAGS_CC = -O0 -g 28 29 else 29 30 $(error Bad MODE ($(MODE)); should be performance or correctness) … … 31 32 32 33 PERFFLAGS_CXX = $(PERFFLAGS_CC) 33 PERFFLAGS_UXX = $(PERFFLAGS_CC) 34 PERFFLAGS_UXX = $(PERFFLAGS_CFA) 35 36 CFLAGS=$(PERFFLAGS_CC) $(EXTRA_COMP_FLAGS) 34 37 35 38 SHELL = /usr/bin/bash … … 204 207 %.1csv : NUMNODES=$(call proj,-,$(SIZING),1) 205 208 %.1csv : CHECKDONE=$(call proj,-,$(SIZING),2) 206 %.1csv : RUN_ARGS=$(if $(filter none,$(SIZING)),,$(RUN_DURATION_SEC) $(CHECKDONE) $(NUMNODES))207 209 %.1csv : REP_ID=$(subst run,,$(call proj,--,$(LAUNCH),2)) 210 %.1csv : RUN_ARGS=$(if $(filter none,$(SIZING)),,$(RUN_DURATION_SEC) $(CHECKDONE) $(NUMNODES) -1 $(REP_ID)) # use REP_ID as seed 208 211 %.1csv : REP_TIME=$(shell date '+%F %H:%M:%S') 209 212 %.1csv : perfprogs FORCE 210 ./perfexp--$(CORE) $(RUN_ARGS) | xargs -n 1 printf '%s,%s,%s,%s\n' "$(REP_TIME)" "$(REP_ID)" "$(RUN_ARGS)" | tee $@213 taskset --cpu-list $(RUN_TASKSET_CPULIST) ./perfexp--$(CORE) $(RUN_ARGS) | xargs -n 1 printf '%s,%s,%s,%s\n' "$(REP_TIME)" "$(REP_ID)" "$(RUN_ARGS)" | tee $@ 211 214 212 215
Note:
See TracChangeset
for help on using the changeset viewer.