tfix amplitudes, add continue script - sphere - GPU-based 3D discrete element m… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 379813ad7fcb70b3647d4026d1764225873cc186 | |
parent 4b24301021bdd3440e6e47897e728f27c0d00550 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Thu, 23 Apr 2015 18:54:50 +0200 | |
fix amplitudes, add continue script | |
Diffstat: | |
A python/wip-varA-cont.sh | 49 +++++++++++++++++++++++++++++… | |
M python/wip-varA.sh | 6 +++--- | |
2 files changed, 52 insertions(+), 3 deletions(-) | |
--- | |
diff --git a/python/wip-varA-cont.sh b/python/wip-varA-cont.sh | |
t@@ -0,0 +1,49 @@ | |
+#!/bin/sh | |
+#PBS -N wip-varA | |
+#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 halfshear-darcy-sigma0=10000.0-k_c=2.0e-16-mu=2.08e-07-… | |
+python continue_sim.py halfshear-darcy-sigma0=10000.0-k_c=2.0e-16-mu=2.08e-07-… | |
+python continue_sim.py halfshear-darcy-sigma0=10000.0-k_c=2.0e-16-mu=2.08e-07-… | |
+wait | |
+ | |
+#cp $WORKDIR/output/* $ORIGDIR/output/ | |
+ | |
+echo "End at `date`" | |
diff --git a/python/wip-varA.sh b/python/wip-varA.sh | |
t@@ -40,9 +40,9 @@ rm CMakeCache.txt | |
cmake . && make | |
cd python | |
# $ ipython halfshear-darcy-stress-starter.py <device> <fluid> <c_phi> <k_c> <… | |
-python halfshear-darcy-stress-mod-starter.py 0 1 1.0 2.0e-16 10000.0 2.08e-7 2… | |
-python halfshear-darcy-stress-mod-starter.py 1 1 1.0 2.0e-16 10000.0 2.08e-7 2… | |
-python halfshear-darcy-stress-mod-starter.py 2 1 1.0 2.0e-16 10000.0 2.08e-7 2… | |
+python halfshear-darcy-stress-mod-starter.py 0 1 1.0 2.0e-16 10000.0 2.08e-7 2… | |
+python halfshear-darcy-stress-mod-starter.py 1 1 1.0 2.0e-16 10000.0 2.08e-7 2… | |
+python halfshear-darcy-stress-mod-starter.py 2 1 1.0 2.0e-16 10000.0 2.08e-7 2… | |
wait | |
#cp $WORKDIR/output/* $ORIGDIR/output/ |