#!/bin/sh
#
# Usage: run_all
# Compiles and runs the programs described in Section 4
# Sends output of each program by e-mail

prun . initial &
after initial.done - prun . checkgap &
after initial.done - prun . matrices &
after initial.done - prun . bounds &
after initial.done - prun . mmfirst &
after matrices.done - prun . dmmnorm &
after matrices.done bounds.done mmfirst.done - prun . mmrest &
after mmrest.done - prun . contract &
after contract.done - prun . zcheck &
after zcheck.done - prun . divide &

prun . mkpoly &
prun . mkcoeff &
after initial.done mkpoly.done mkcoeff.done - prun . kkiter &
after kkiter.done - prun . kkmore &
after kkmore.done - prun . dkkmake &
after zcheck.done dkkmake.done - prun . dkkcheck &

after checkgap.done dkkcheck.done divide.done dmmnorm.done \
      - eval "echo QED | mail $USER" &

