tadded script to continue simulation where it left off - sphere - GPU-based 3D … | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit fb695a993a6c303491446407b7fcc5ff997c3cbe | |
parent 594c5951fb983bab5e97048f5cdf1150ebdef7c4 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Fri, 5 Sep 2014 10:16:12 +0200 | |
added script to continue simulation where it left off | |
Diffstat: | |
A python/consolidation-curves-contin… | 49 +++++++++++++++++++++++++++… | |
1 file changed, 49 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/python/consolidation-curves-continue.sh b/python/consolidation-cur… | |
t@@ -0,0 +1,49 @@ | |
+#!/bin/sh | |
+#PBS -N cons-curves-tall | |
+#PBS -l nodes=1:ppn=3 | |
+#PBS -l walltime=48:00:00 | |
+#PBS -q qfermi | |
+#PBS -M [email protected] | |
+#PBS -m abe | |
+ | |
+# Grendel CUDA | |
+source /com/gcc/4.6.4/load.sh | |
+CUDAPATH=/com/cuda/5.5.22 | |
+export PATH=$HOME/bin:$PATH | |
+export PATH=$CUDAPATH/bin:$PATH | |
+export LD_LIBRARY_PATH=$CUDAPATH/lib64:$CUDAPATH/lib:$LD_LIBRARY_PATH | |
+ | |
+# Manually installed Python modules | |
+export PYTHONPATH=$HOME/.local/lib/python:$PYTHONPATH | |
+export PYTHONPATH=$HOME/.local/lib64/python:$PYTHONPATH | |
+ | |
+# Manually installed Python | |
+#export PATH=/home/adc/.local/bin:$PATH | |
+ | |
+# Shared Python2.7 | |
+PYTHON=/com/python/2.7.6 | |
+export PYTHONPATH=$PYTHON/lib:$PYTHONPATH | |
+export PATH=$PYTHON/bin:$PATH | |
+ | |
+echo "`whoami`@`hostname`" | |
+echo "Start at `date`" | |
+ | |
+ORIGDIR=/home/adc/code/sphere | |
+#WORKDIR=/scratch/$PBS_JOBID | |
+WORKDIR=$ORIGDIR | |
+ | |
+#cp -r $ORIGDIR/* $WORKDIR | |
+ | |
+cd $WORKDIR | |
+nvidia-smi | |
+rm CMakeCache.txt | |
+cmake . && make | |
+cd python | |
+python continue_sim.py cons-sigma0=10000.0-c_phi=1.0-c_grad_p=1.0 1 0 & | |
+python continue_sim.py cons-sigma0=10000.0-c_phi=1.0-c_grad_p=0.1-tall 1 1 & | |
+python continue_sim.py cons-sigma0=10000.0-c_phi=1.0-c_grad_p=0.01-tall 1 2 & | |
+wait | |
+ | |
+#cp $WORKDIR/output/* $ORIGDIR/output/ | |
+ | |
+echo "End at `date`" |