Permalink
This commit does not belong to any branch on this respository, and may belong to a fork outside of the repository.
Browse files
Merge branch 'master' of github.uconn.edu:cudahpcproj/parallel_mcmc
- Loading branch information
@@ -0,0 +1,18 @@ | ||
#!/bin/sh | ||
|
||
echo "trial,block,thread,our_time,their_time" > out.csv | ||
for trials in {1000 10000} | ||
#trials=$(($trials*1000)) | ||
do | ||
for i in $(seq 1 1000) | ||
do | ||
for j in $(seq 1 1000) | ||
do | ||
|
||
a=$({ time ./mygibbs data.txt $trials $i $j >/dev/null; } 2>&1 | grep real) | ||
b=$({ time ./gibbs data.txt $trials $i $j >/dev/null; } 2>&1 | grep real) | ||
echo "$trials,$i,$j,$a,$b" >> out.csv | ||
|
||
done | ||
done | ||
done |