2 echo "specify a directory for logging and save files"
6 if [ ! -f ./config ]; then
7 echo "no config file found"
11 [ ! -d $1 ] && mkdir -p $1
15 cp -v config $1/config
18 time ./mdrun -c ./config -s $1 | tee logs/run_`basename $1`.log
20 if [ "$?" == "0" ]; then
23 # whole simulation cell
24 #./visualize -w 640 -h 480 -d $1
27 ./visualize -w 640 -h 480 -d $1 \
28 -nll -0.56 -0.56 -0.76 -fur 0.56 0.56 0.56 \
29 -b -0.5 -0.5 -0.5 0.5 0.5 0.5 \
30 -c -0.2 -2.0 0.6 -L 0 0 -0.1 \
34 #rasmol -32 -nodisplay < $1/visualize.scr > /dev/null 2>&1