#!/bin/sh

set -x # echo on

Mopper=../isp-predictive-binary/bin/mopper

ulimit -S -v 12582912  # mem limit to 12GB 
ulimit -S -t 1200      # time limit to 30 minutes 

make 

$Mopper -p 8888 -n 3 -b ./dl1.pred > dl1.b.enc3.out
$Mopper -p 8888 -n 3 -b ./dl2.pred > dl2.b.enc3.out	
$Mopper -p 8888 -n 4 -b ./dl3.pred > dl3.b.enc3.out	
$Mopper -p 8888 -n 4 -b ./dl4.pred > dl4.b.enc3.out	
$Mopper -p 8888 -n 3 -b ./dl5.pred > dl5.b.enc3.out		
$Mopper -p 8888 -n 3 -b ./dl6.pred > dl6.b.enc3.out	
$Mopper -p 8888 -n 3 -b ./dl7.pred > dl7.b.enc3.out	
$Mopper -p 8888 -n 3 -b ./dl8.pred > dl8.b.enc3.out	
$Mopper -p 8888 -n 3 -b ./dl9.pred > dl9.b.enc3.out	
$Mopper -p 8888 -n 5 -b ./dtg.pred > dtg.b.enc3.out	
$Mopper -p 8888 -n 3  ./dl1.pred > dl1.enc3.out
$Mopper -p 8888 -n 3  ./dl2.pred > dl2.enc3.out	
$Mopper -p 8888 -n 4  ./dl3.pred > dl3.enc3.out	
$Mopper -p 8888 -n 4  ./dl4.pred > dl4.enc3.out	
$Mopper -p 8888 -n 3  ./dl5.pred > dl5.enc3.out		
$Mopper -p 8888 -n 3  ./dl6.pred > dl6.enc3.out	
$Mopper -p 8888 -n 3  ./dl7.pred > dl7.enc3.out	
$Mopper -p 8888 -n 3  ./dl8.pred > dl8.enc3.out	
$Mopper -p 8888 -n 3  ./dl9.pred > dl9.enc3.out	
$Mopper -p 8888 -n 5  ./dtg.pred > dtg.enc3.out	
$Mopper -p 8888 -n 2 -b ./zeroB-deadlocks.pred > zeroB-deadlocks.b.enc3.out	
$Mopper -p 8888 -n 2 ./zeroB-deadlocks.pred > zeroB-deadlocks.enc3.out	
$Mopper -p 8888 -n 3 -b ./zeroB-misses-dl.pred > zeroB-misses-dl.b.enc3.out	
$Mopper -p 8888 -n 3 ./zeroB-misses-dl.pred > zeroB-misses-dl.enc3.out	

$Mopper -p 8888 -n 4 -b ./heat-errors.pred > heat-errors.b4.enc3.out	
$Mopper -p 8888 -n 8 -b ./heat-errors.pred > heat-errors.b8.enc3.out	
$Mopper -p 8888 -n 16 -b ./heat-errors.pred > heat-errors.b16.enc3.out	
$Mopper -p 8888 -n 32 -b ./heat-errors.pred > heat-errors.b32.enc3.out	
$Mopper -p 8888 -n 4   ./heat-errors.pred > heat-errors.4.enc3.out	
$Mopper -p 8888 -n 8  ./heat-errors.pred > heat-errors.8.enc3.out	
$Mopper -p 8888 -n 16 ./heat-errors.pred > heat-errors.16.enc3.out	
$Mopper -p 8888 -n 32  ./heat-errors.pred > heat-errors.32.enc3.out	
$Mopper -p 8888 -n 4 -b ./GE.pred > GE.b4.enc3.out		
$Mopper -p 8888 -n 8 -b ./GE.pred > GE.b8.enc3.out		
$Mopper -p 8888 -n 16 -b ./GE.pred > GE.b16.enc3.out		
$Mopper -p 8888 -n 32 -b ./GE.pred > GE.b32.enc3.out
$Mopper -p 8888 -n 4  ./GE.pred > GE.4.enc3.out		
$Mopper -p 8888 -n 8  ./GE.pred > GE.8.enc3.out		
$Mopper -p 8888 -n 16  ./GE.pred > GE.16.enc3.out		
$Mopper -p 8888 -n 32  ./GE.pred > GE.32.enc3.out
$Mopper -p 8888 -n 4 -b ./floyd.pred 8 > floyd.b4.enc3.out		
$Mopper -p 8888 -n 8 -b ./floyd.pred 8 > floyd.b8.enc3.out		
$Mopper -p 8888 -n 16 -b ./floyd.pred 8 > floyd.b16.enc3.out		
$Mopper -p 8888 -n 32 -b ./floyd.pred 8 > floyd.b32.enc3.out		
$Mopper -p 8888 -n 4  ./floyd.pred 8 > floyd.4.enc3.out		
$Mopper -p 8888 -n 8  ./floyd.pred 8 > floyd.8.enc3.out		
$Mopper -p 8888 -n 16  ./floyd.pred 8 > floyd.16.enc3.out		
$Mopper -p 8888 -n 32  ./floyd.pred 8 > floyd.32.enc3.out		
$Mopper -p 8888 -n 2 ./IMB-MPI1 -iter 1,1,1  -time 0.001  pingping > pingping.2.enc3.out
$Mopper -p 8888 -n 4  ./monte.pred 0.5 > monte.b4.enc3.out		
$Mopper -p 8888 -n 8  ./monte.pred 0.5 > monte.b8.enc3.out		
$Mopper -p 8888 -n 4 -b ./diffusion2_nd.pred  > diffusion2_nd.b.4.enc3.out		
$Mopper -p 8888 -n 4  ./diffusion2_nd.pred  > diffusion2_nd.4.enc3.out	
$Mopper -p 8888 -n 8 -b  ./diffusion2_nd_8.pred  > diffusion2_nd.b.8.enc3.out		
$Mopper -p 8888 -n 8  ./diffusion2_nd_8.pred  > diffusion2_nd.8.enc3.out		
$Mopper -p 8888 -n 8  ./integrate_mw.pred  > integrate_mw.8.enc3.out	
$Mopper -p 8888 -n 10  ./integrate_mw.pred  > integrate_mw.10.enc3.out	


# # $Mopper -p 8888 -n 16 ./monte.pred 0.5 > monte.b16.enc3.out		
# # $Mopper -p 8888 -n 32 ./monte.pred 0.5 > monte.b16.enc3.out		

# $Mopper -p 8888 -n 64 -b ./floyd.pred 8 > floyd.b64.enc3.out		
