Blame view

batch/RUN_BATCH_Ec.sh 484 Bytes
68586e03   Jérémy Baudry   new release
1
2
3
4
5
#!/bin/bash



strain="3e-5 4e-5 5e-5 6e-5 7e-5 8e-5 9e-5 1e-4 2e-4 3e-4"
68586e03   Jérémy Baudry   new release
6
7
8
9

let "count=0"
for a in $strain
do
c5b6a1a5   Jérémy Baudry   makefile and disp...
10
  name_exp=ec$count
68586e03   Jérémy Baudry   new release
11
12
     cat parameter.txt | sed \
       -e  "s/nmebatch/$name_exp/g" \
c5b6a1a5   Jérémy Baudry   makefile and disp...
13
       -e  "s/probcritbatch/0.37/g" \
68586e03   Jérémy Baudry   new release
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
       -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
c5b6a1a5   Jérémy Baudry   makefile and disp...

68586e03   Jérémy Baudry   new release