RUN_BATCH_Ec.sh 484 Bytes
#!/bin/bash



strain="3e-5 4e-5 5e-5 6e-5 7e-5 8e-5 9e-5 1e-4 2e-4 3e-4"

let "count=0"
for a in $strain
do
  name_exp=ec$count
     cat parameter.txt | sed \
       -e  "s/nmebatch/$name_exp/g" \
       -e  "s/probcritbatch/0.37/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