#! /bin/sh

for i in 1 2 3 4 5 6 7 8 9 10 11 12
do 
echo ${i}th starting sics, `date`
/local/bin/sicstus << sics_ends_here 
compile( run ).
run( [$i,'runs/seeds_effect_lnai_3pu','/local/tara/lnai/scale_3pu/sics_3pu'] ).
halt.
sics_ends_here
echo ${i}th sics_finished, `date`

/bin/sleep 30

echo ${i}th starting yap, `date`
/local/cvs/bin/yap << yap_ends_here
compile( run ).
run( [$i,'runs/seeds_effect_lnai_3pu','/local/tara/lnai/scale_3pu/yap_3pu'] ).
halt.
yap_ends_here
echo ${i}th yap_finished, `date`

/bin/sleep 30
done

exit
