tadded script to continue dry shear experiment - sphere - GPU-based 3D discrete… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 43352f360dae0f38f38095525c609737abf22076 | |
parent fb695a993a6c303491446407b7fcc5ff997c3cbe | |
Author: Anders Damsgaard <[email protected]> | |
Date: Fri, 5 Sep 2014 10:52:30 +0200 | |
added script to continue dry shear experiment | |
Diffstat: | |
A python/shear-dry-continue.sh | 49 +++++++++++++++++++++++++++++… | |
1 file changed, 49 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/python/shear-dry-continue.sh b/python/shear-dry-continue.sh | |
t@@ -0,0 +1,49 @@ | |
+#!/bin/sh | |
+#PBS -N shear-dry-hi_mu | |
+#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 0 0 & | |
+python continue_sim.py cons-sigma0=10000.0-c_phi=1.0-c_grad_p=0.1-tall 0 1 & | |
+python continue_sim.py cons-sigma0=10000.0-c_phi=1.0-c_grad_p=0.01-tall 0 2 & | |
+wait | |
+ | |
+#cp $WORKDIR/output/* $ORIGDIR/output/ | |
+ | |
+echo "End at `date`" |