Commit a0278e24 authored by Plaszczynski Stephane's avatar Plaszczynski Stephane
Browse files

No commit message

No commit message
parent 573f3819
#!/bin/bash
#var=Alens
#N=50
#xmin=0.8
#xmax=1.5
var=Alens
N=20
xmin=0.9
xmax=1.5
#val array
#for ((i=0;i<N;i++)) ; do
#val[$i]=$(echo | awk -v xmin=$xmin -v xmax=$xmax -v N=$N -v i=$i 'BEGIN{step=(xmax-xmin)/(N-1)} {printf("%f",xmin+(i)*step)}')
#done
for ((i=0;i<N;i++)) ; do
val[$i]=$(echo | awk -v xmin=$xmin -v xmax=$xmax -v N=$N -v i=$i 'BEGIN{step=(xmax-xmin)/(N-1)} {printf("%f",xmin+(i)*step)}')
done
var=tau_reio
#var=tau_reio
#val=(0.025 0.035 0.045 0.055 0.065 0.075 0.085 0.095)
#val=(0.01 0.02 0.025 0.03 0.035 0.04 0.045 0.05 0.055 0.06 0.065 0.07 0.075 0.08 0.085 0.09 0.095 0.10 0.12)
N=30
xmin=0.05
xmax=0.25
for ((i=0;i<N;i++)) ; do
val[$i]=$(echo | awk -v xmin=$xmin -v xmax=$xmax -v N=$N -v i=$i 'BEGIN{step=(xmax-xmin)/(N-1)} {printf("%f",xmin+(i)*step)}')
done
#N=30
#xmin=0.05
#xmax=0.25
#for ((i=0;i<N;i++)) ; do
#val[$i]=$(echo | awk -v xmin=$xmin -v xmax=$xmax -v N=$N -v i=$i 'BEGIN{step=(xmax-xmin)/(N-1)} {printf("%f",xmin+(i)*step)}')
#done
file=$(readlink -e $1)
......@@ -133,7 +133,7 @@ cp -f bestfit_class "$OUTDIR"/best_fitClass\${SGE_TASK_ID}
EOBATCH
#####################################################################################################################################
#qsub -P P_planck_prod -t 1-10 -pe openmpi_8 8 -q pa_long camelrun
qsub -P P_planck_prod -t 1-10 -pe multicores 8 -q mc_long camelrun
qsub -P P_planck_prod -t 1-5 -pe openmpi_8 8 -q pa_long camelrun
qsub -P P_planck_prod -t 6-10 -pe multicores 8 -q mc_long camelrun
#####################################################################################################################################
done
#!/bin/bash
var=Alens
val=(0.9 0.92 0.95 0.98 1 1.03 1.05 1.07 1.10 1.13 1.15 1.18 1.20)
#N=50
#xmin=0.8
#xmax=1.5
#val=(0.85 0.9 0.92 0.95 0.98 1 1.03 1.05 1.07 1.10 1.13 1.15 1.18 1.20)
N=20
xmin=0.8
xmax=1.3
#val array
#for ((i=0;i<N;i++)) ; do
#val[$i]=$(echo | awk -v xmin=$xmin -v xmax=$xmax -v N=$N -v i=$i 'BEGIN{step=(xmax-xmin)/(N-1)} {printf("%f",xmin+(i)*step)}')
#done
for ((i=0;i<N;i++)) ; do
val[$i]=$(echo | awk -v xmin=$xmin -v xmax=$xmax -v N=$N -v i=$i 'BEGIN{step=(xmax-xmin)/(N-1)} {printf("%f",xmin+(i)*step)}')
done
#var=tau_reio
......@@ -195,7 +195,11 @@ classjob="class_${dirout}_$zeval"
qsub -P P_planck_prod -q mc_long -pe multicores 8 -N "$picojob" bfrun
#array job
#qsub -P P_planck_prod -t 1-5 -q pa_long -pe openmpi_8 8 -hold_jid "$picojob" -N "$classjob" camelrun
#qsub -P P_planck_prod -t 1-10 -q pa_long -pe openmpi_8 8 -hold_jid "$picojob" -N "$classjob" camelrun
qsub -P P_planck_prod -t 1-5 -q mc_long -pe multicores 8 -hold_jid "$picojob" -N "$classjob" camelrun
#sans bfrun
#qsub -P P_planck_prod -t 1-5 -q pa_long -pe openmpi_8 8 -hold_jid "$picojob" -N "$classjob" camelrun
#qsub -P P_planck_prod -t 6-10 -q mc_long -pe multicores 8 -N "$classjob" camelrun
#####################################################################################################################################
done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment