#!/s/std/bin/tcsh

set filename = "trainSpec2k6ToCompletion.out"
#if ( -f $filename ) then
#    rm -f $filename
#endif

#set workloads = ( perlbench-diffmail perlbench-perfect perlbench-scrabbl perlbench-suns bzip2-input-program bzip2-byoudoin bzip2-input-combined gcc mcf gobmk-arb gobmk-arend gobmk-arion gobmk-atari_atari gobmk-blunder gobmk-buzco gobmk-nicklas2 gobmk-nicklas4 hmmer sjeng libquantum h264ref omnetpp astar-BigLakes1024 astar-rivers1 xalancbmk bwaves gamess milc zeusmp gromacs cactusADM leslie3d namd dealII soplex-pds-20 soplex-train povray calculix GemsFDTD tonto lbm wrf sphinx3 xalancbmk )
set workloads = ( gobmk-arb bwaves gamess gromacs wrf sphinx3 xalancbmk )

foreach workload ( $workloads )
    ./runTrainToCompletion.py $workload >>& $filename
end
