Add scripts for parsing and archive link

This commit is contained in:
Alix ZHENG 2021-09-07 00:27:44 +02:00
commit 807be1b3c2
30 changed files with 1570 additions and 18 deletions

View file

@ -0,0 +1,23 @@
#!/bin/bash
date -Iseconds
echo "STARTS"
myhome=$1
scratchpath=$2
mexp=$3
mevals=$4
name="dataO_maxExp=${mexp}_maxEv=${mevals}_$(date --iso-8601=seconds)"
dir=${scratchpath}/dataFAR/dataO/${name}
mkdir -p ${dir}
for r in $(seq 2); do
echo "Run $r/15";
cmd="qsub -N iraceO_maxExp=${exp}_maxEv=${evals}_${r} -q beta -l select=1:ncpus=1 -l walltime=00:10:00 -- ${scratchpath}/planO/r_iO.sh ${dir} ${r} ${mexp} ${mevals} ${myhome}"
echo $cmd
$cmd
#time (p=2; while [[ ${p} > 1 ]] ; do p=$(qqueue -u $USER | wc -l); echo "$r: $p"; sleep 300; done)
done
#echo "DONE"
#date -Iseconds