tadd script to continue slow simulations - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
(HTM) git clone git://src.adamsgaard.dk/sphere
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 608275bbb121f4bf1bab473bb28ba00e80464a77
(DIR) parent ce2e6a70b5dfc9d7dcde99723a4449759389a68a
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Mon, 25 May 2015 15:03:38 +0200
add script to continue slow simulations
Diffstat:
A python/halfshear-darcy-slow-cont.sh | 49 +++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/python/halfshear-darcy-slow-cont.sh b/python/halfshear-darcy-slow-cont.sh
t@@ -0,0 +1,49 @@
+#!/bin/sh
+#PBS -N hs-slow
+#PBS -l nodes=1:ppn=3
+#PBS -l walltime=48:00:00
+#PBS -q qfermi
+#PBS -M adc@geo.au.dk
+#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=20000.0-k_c=3.5e-15-mu=1.797e-09-velfac=1.0-shear 1 0 &
+python continue_sim.py halfshear-darcy-sigma0=20000.0-k_c=3.5e-12-mu=1.797e-06-velfac=1.0-shear 1 1 &
+python continue_sim.py halfshear-darcy-sigma0=20000.0-k_c=7.0e-12-mu=1.797e-06-velfac=1.0-shear 1 2 &
+wait
+
+#cp $WORKDIR/output/* $ORIGDIR/output/
+
+echo "End at `date`"