#!/bin/sh
# run fftw multi-threaded

cd /tmp

test -f fftw-threaded || echo "copying and compiling"
test -f fftw-threaded || cp -a ~/repeat-tests/fftw/fftw-threaded.c .
test -f fftw-threaded || gcc fftw-threaded.c -Wall -lfftw3_threads -lfftw3 -lm -o fftw-threaded

echo "running"
# use a LOT of points (and therefore memory) to make it take some time
time ./fftw-threaded 234567

