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

SCM Repository

[diderot] View of /branches/lamont/test/reduction/run.sh
ViewVC logotype

View of /branches/lamont/test/reduction/run.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2538 - (download) (as text) (annotate)
Fri Jan 31 02:39:45 2014 UTC (5 years, 5 months ago) by lamonts
File size: 552 byte(s)
Fixed parallel global reduction issue
#!/bin/bash

if [ "$1" == "p" ]; then 
echo "Running Pthread of Sum Reduction"
../../bin/diderotc --log --double --target=pthread --exec sum-reduction.diderot
./sum-reduction -nNumbers $2
gcc -Wall -std=c99 -I/usr/local/teem/include  -L/usr/local/teem/lib -lteem readNrrd.c 
./a.out 
rm sum.nrrd
else 
echo "Running Sequential of Sum Reduction"
../../bin/diderotc --log --double --target=c --exec sum-reduction.diderot	
./sum-reduction -nNumbers $2
fi 
#gcc -Wall -std=c99 -I/usr/local/teem/include  -L/usr/local/teem/lib -lteem readNrrd.c -o readNrrd

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