# shell can only handle integers in conditional statements ([ -le ]). # Thus, passing integers to genesis. # batch_run.g should multiply and/or divide to get back appropriate values of parameters iter=1 recall_exc_wt_mult=5 # in batch_run.g mult. by 1 while [ $recall_exc_wt_mult -le 50 ] do EC2pyr_maxweight=0 # in batch_run.g mult. by 1e-1 while [ $EC2pyr_maxweight -le 328 ] do expand_recall_time=105 # in batch_run.g mult. by 1e-3 while [ $expand_recall_time -le 185 ] do genesis batch_run $recall_exc_wt_mult $EC2pyr_maxweight $expand_recall_time $iter expand_recall_time=`expr $expand_recall_time + 10` iter=`expr $iter + 1` done EC2pyr_maxweight=`expr $EC2pyr_maxweight + 328` done recall_exc_wt_mult=`expr $recall_exc_wt_mult + 5` done