Blame view

batch/RUN_BATCH_tpHs.sh 512 Bytes
68586e03   Jérémy Baudry   new release
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash


tp="6 7 8 9 10 11 12 13 14 15"
hs="0.2 0.4 0.8 1 1.5 2 2.5 3 3.5 4"

let "count=0"
for a in $tp
do
for b in $hs
do
	name_exp=exp$count
     cat parameter.txt | sed \
       -e  "s/nmebatch/$name_exp/g" \
       -e  "s/probcritbatch/0.15/g" \
       -e  "s/strainbatch/3e-5/g" \
       -e  "s/Hsbatch/$b/g" \
       -e  "s/hbatch/4/g" \
       -e  "s/Tmbatch/$a/g" \
     > parameter.nml

     mv parameter.nml ../nml/


     qsub ./lanceur.sh

     sleep 30s


     let "count=count+1"
done
done