RUN_BATCH_Tp.sh
519 Bytes
#!/bin/bash
name_exp=('tp1' 'tp2' 'tp3' 'tp4' 'tp5'
'tp6' 'tp7' 'tp8' 'tp9' 'tp10')
tp="6 7 8 9 10 11 12 13 14 15"
let "count=0"
for a in $tp
do
cat parameter.txt | sed \
-e "s/nmebatch/${name_exp[$count]}/g" \
-e "s/probcritbatch/0.15/g" \
-e "s/strainbatch/3e-5/g" \
-e "s/Hsbatch/1/g" \
-e "s/hbatch/4/g" \
-e "s/Tmbatch/$a/g" \
> parameter.nml
mv parameter.nml ../nml/
qsub ./lanceur.sh
sleep 5s
let "count=count+1"
done