#! /usr/local/bin/tcsh -f
foreach G (4 5 6 7 8 9)
  if (! -e prob.30.$G) mkdir prob.30.$G
  foreach F (0 1 2 3 4)
    echo "running trial " $F " for problem " $G
#    ../wait_for_input
    ../pack_agents /afs/cs.cmu.edu/user/sachdev/Codes/ateams/Human/Test_problems.2/test_prob.30.$G 30 300 1 22 | & tee prob.30.$G/trace.Computer.prob$G.$F
  end
end
