RUN_BATCH_Ec.sh 555 Bytes
#!/bin/bash



strain="3e-5 4e-5 5e-5 6e-5 7e-5 8e-5 9e-5 1e-4 2e-4 3e-4"
pc="0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55"

let "count=0"
for a in $strain
do
for b in $pc
do
  name_exp=pc_ec$count
     cat parameter.txt | sed \
       -e  "s/nmebatch/$name_exp/g" \
       -e  "s/probcritbatch/$b/g" \
       -e  "s/strainbatch/$a/g" \
       -e  "s/Hsbatch/1/g" \
       -e  "s/hbatch/3/g" \
       -e  "s/Tmbatch/8/g" \
     > parameter.nml

     mv parameter.nml ../nml/


     qsub ./lanceur.sh

     sleep 30s


     let "count=count+1"
done
done