RUN_BATCH_Pc.sh 470 Bytes
#!/bin/bash


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 b in $pc
do
  name_exp=Pc$count
     cat parameter.txt | sed \
       -e  "s/nmebatch/$name_exp/g" \
       -e  "s/probcritbatch/$b/g" \
       -e  "s/strainbatch/3e-5/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