Skip to content
brunetto edited this page Jun 17, 2014 · 12 revisions

Index

Workflow

  • 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

ICs

../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

Only in dev branch

Save part of a bad simulation

restartFromHere <STDOUT> <number of snapshot> 
cutStderr <STDERR> <number of snapshot>

Run in safe mode

kiraWrap <icsFileName> <integration time> <random seed if present>

Wiki clone

Go ahead and try:

$ git clone https://[email protected]/brunetto/sltools.git/wiki

Wiki pages are normal files, with the .md extension. You can edit them locally, as well as creating new ones.

Clone this wiki locally