tadd script to continue simulations - sphere - GPU-based 3D discrete element me… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit bbf545eccfc51de525609d42980be2293aa17601 | |
parent 8f29910a02f788f84cd8c28fe0d9024ec81d1203 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Thu, 12 Mar 2015 15:49:46 +0100 | |
add script to continue simulations | |
Diffstat: | |
A python/halfshear-per-cyclic-cont.sh | 49 +++++++++++++++++++++++++++++… | |
1 file changed, 49 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/python/halfshear-per-cyclic-cont.sh b/python/halfshear-per-cyclic-… | |
t@@ -0,0 +1,49 @@ | |
+#!/bin/sh | |
+#PBS -N hs-per-cyc | |
+#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=80000.0-k_c=3.5e-13-mu=1.04e-07-… | |
+python continue_sim.py halfshear-darcy-sigma0=80000.0-k_c=3.5e-13-mu=1.04e-07-… | |
+python continue_sim.py halfshear-darcy-sigma0=80000.0-k_c=3.5e-13-mu=1.04e-07-… | |
+wait | |
+ | |
+#cp $WORKDIR/output/* $ORIGDIR/output/ | |
+ | |
+echo "End at `date`" |