Commit 6724184d authored by aumgn's avatar aumgn
Browse files

Add boilerplate to run fluidanimate

Add exp/run.d/fluidanimate.sh to run fluidanimate benchmark.

Also disable vips and dedup in Makefile because they do not compile.
parent 555249a7
......@@ -9,9 +9,9 @@ PARSEC_PROGRAMS=\
splash2x.lu_cb \
splash2x.lu_ncb \
splash2x.barnes \
parsec.vips \
parsec.fluidanimate \
parsec.dedup
parsec.fluidanimate #\
# parsec.vips \
# parsec.dedup
WORD_COUNT_INPUTS_URL=http://csl.stanford.edu/~christos/data/word_count.tar.gz
WORD_COUNT_INPUTS_ARCHIVE=tmp/word_count_input.tar.gz
......
export FLUIDANIMATE_DIR=$PARSEC_DIR/pkgs/apps/fluidanimate
export FLUIDANIMATE_BIN=$FLUIDANIMATE_DIR/inst/amd64-linux.gcc-pthreads/bin/fluidanimate
export FLUIDANIMATE_INPUTS_ARCHIVE=$BENCH_PATH/tmp/parsec-inputs/pkgs/apps/fluidanimate/inputs/input_native.tar
export FLUIDANIMATE_INPUTS_DIR=$TMP_INPUTS_DIR/fluidanimate
export FLUIDANIMATE_INPUT=$FLUIDANIMATE_INPUTS_DIR/in_500K.fluid
prepare_fluidanimate() {
if [[ ! -f $FLUIDANIMATE_INPUT ]]; then
mkdir -p $FLUIDANIMATE_INPUTS_DIR
tar -xf $FLUIDANIMATE_INPUTS_ARCHIVE -C $FLUIDANIMATE_INPUTS_DIR
fi
}
dump_fluidanimate() {
sha1sum $FLUIDANIMATE_BIN $FLUIDANIMATE_INPUT >>$dump_program_dir/fluidanimate
}
command_fluidanimate() {
echo $cmd_prefix $FLUIDANIMATE_BIN $threads 500 $FLUIDANIMATE_INPUT $FLUIDANIMATE_INPUTS_DIR/out.fluid
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment