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

cd /tmp

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

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

