Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] View of /tests/bc1d/run_sh.in
ViewVC logotype

View of /tests/bc1d/run_sh.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4720 - (download) (annotate)
Tue Oct 11 19:23:56 2016 UTC (2 years, 5 months ago) by glk
File size: 531 byte(s)
now configuring bc1d/run.sh and bc2d/run.sh
#!/bin/bash
set -o errexit
set -o nounset
shopt -s expand_aliases
JUNK=""
function junk { JUNK="$JUNK $@"; }
function cleanup { rm -rf $JUNK; }
trap cleanup err exit int term


alias diderotc=@DIDEROTC@
alias unu=@TEEM_BIN@/unu

PROG=plot1d-bc

diderotc --debug --exec --check-all $PROG.diderot

# try prefixing this with "valgrind"
./$PROG

# for GLK the right side of the image is garbled,
# likely the visual manifestation of the memory bug
unu quantize -b 8 -i rgb.nrrd -b 8 -o out.ppm

# cleanup
junk $PROG{,.cxx,.o} rgb.nrrd

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0