diff --git a/run-all.sh b/run-all.sh new file mode 100755 index 0000000..9f8e5d9 --- /dev/null +++ b/run-all.sh @@ -0,0 +1,16 @@ +#! /bin/bash +# ./run-all.sh | grep 'PASS\|FAIL' + + +run_test() { + mpirun -n 4 $1 && echo PASS: mpirun -n 4 $1 || echo FAIL: mpirun -n 4 $1 +} + +# test that we can run something +run_test hostname + +# rotate an integer around ranks +run_test ./main + +# rotate with mpi-put +run_test ./one-sided \ No newline at end of file