-
Notifications
You must be signed in to change notification settings - Fork 0
Home
brunetto@spritz edited this page Oct 21, 2014
·
12 revisions
- check for errors
cat r*e*
- clean
mv r* Trash
mv *.sh Scripts
- check simulations status
printf "\n"; pwd; printf "\n"; for (( c=0; c<=9; c++ )); do printf "$c "; ls -lah out-*-run0$c-rnd0* | awk '{print $5"\t"$9}' | tail -n 1; printf " "; ls -lah err-*-run0$c-rnd0* | awk '{print $5"\t"$9}' | tail -n 1; printf " "; cat $(ls err-*-run0$c-rnd0* | tail -n 1) | grep "Time = " | tail -n 1; done
(soon in go!:P)
- prepare to restart
for ((c=0; c<=9; c++)); do ../sltools continue -c conf*.json -o $(ls out-*-run0$c-rnd*.txt | tail -n 1); done
- start again
for (( c=0; c<=9; c++ )); do qsub $(ls PBS*-run0$c-rnd*.sh | tail -n 1); done
- in case you need start scripts
for (( c=0; c<=9; c++ )); do ../css $(ls ics-*-run0$c-rnd*.txt | tail -n 1) eurora <nn>-0$c-00 500 0; done
../sltools -v createICs -c config<nn>.json
If it does not work
bash create_IC-cineca-comb<nn>-run<nn>-NCM<nnnnn>-fPB<nnn>-W<n>-Z<nnn>.sh
../sltools -v createStartScripts -c config<nn>.json -i ics-cineca-comb<nn>-run<nn>-NCM<nnnnn>-fPB<nnn>-W<n>-Z<nnn>.txt
restartFromHere <STDOUT> <number of snapshot>
cutStderr <STDERR> <number of snapshot>
kiraWrap <icsFileName> <integration time> <random seed if present>
If you need to restart any STDOUT file:
out2ics out-cineca-comb00-TF2-NCM5000-fPB010-W5-Z010-run36-rnd02.txt
../css ics-cineca-comb29-NCM10000-fPB010-W5-Z100-run03-rnd00.txt eurora 33-03-00 500 0
<<<<<<< HEAD
=======
>>>>>>> b6eda2ca03342460e08b9eca6cbf37b6830a4b45