tadded scripts to continue velocity factor 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 099a12bc8d1dbbdebff7e24a174c82db6055f79b
(DIR) parent 8f47b87a1ca00a20d8b9d41b5853367a58bf0695
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Fri, 17 Oct 2014 10:09:01 +0200
added scripts to continue velocity factor simulations
Diffstat:
A python/halfshear-c=0.1-velfac-cont… | 49 +++++++++++++++++++++++++++++++
A python/halfshear-c=1.0-velfac-cont… | 49 +++++++++++++++++++++++++++++++
A python/halfshear-dry-velfac-cont.sh | 49 +++++++++++++++++++++++++++++++
3 files changed, 147 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/python/halfshear-c=0.1-velfac-cont.sh b/python/halfshear-c=0.1-velfac-cont.sh
t@@ -0,0 +1,49 @@
+#!/bin/sh
+#PBS -N halfshear-c=0.1-velfac
+#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-sigma0=20000.0-c=0.1-velfac=0.5-shear 1 0 &
+python continue_sim.py halfshear-sigma0=20000.0-c=0.1-velfac=1.0-shear 1 1 &
+python continue_sim.py halfshear-sigma0=20000.0-c=0.1-velfac=2.0-shear 1 2 &
+wait
+
+#cp $WORKDIR/output/* $ORIGDIR/output/
+
+echo "End at `date`"
(DIR) diff --git a/python/halfshear-c=1.0-velfac-cont.sh b/python/halfshear-c=1.0-velfac-cont.sh
t@@ -0,0 +1,49 @@
+#!/bin/sh
+#PBS -N halfshear-c=1.0-velfac
+#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-sigma0=20000.0-c=1.0-velfac=0.5-shear 1 0 &
+python continue_sim.py halfshear-sigma0=20000.0-c=1.0-velfac=1.0-shear 1 1 &
+python continue_sim.py halfshear-sigma0=20000.0-c=1.0-velfac=2.0-shear 1 2 &
+wait
+
+#cp $WORKDIR/output/* $ORIGDIR/output/
+
+echo "End at `date`"
(DIR) diff --git a/python/halfshear-dry-velfac-cont.sh b/python/halfshear-dry-velfac-cont.sh
t@@ -0,0 +1,49 @@
+#!/bin/sh
+#PBS -N halfshear-dry-velfac
+#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-sigma0=20000.0-velfac=0.5-shear 0 0 &
+python continue_sim.py halfshear-sigma0=20000.0-velfac=1.0-shear 0 1 &
+python continue_sim.py halfshear-sigma0=20000.0-velfac=2.0-shear 0 2 &
+wait
+
+#cp $WORKDIR/output/* $ORIGDIR/output/
+
+echo "End at `date`"