Introduction
Introduction Statistics Contact Development Disclaimer Help
tadded wet velocity factor experiments - sphere - GPU-based 3D discrete element…
git clone git://src.adamsgaard.dk/sphere
Log
Files
Refs
LICENSE
---
commit 8f47b87a1ca00a20d8b9d41b5853367a58bf0695
parent 42f96e7a9cb71cf5a36ed9f8f2bb4bf2f7d2c76d
Author: Anders Damsgaard <[email protected]>
Date: Tue, 14 Oct 2014 14:28:25 +0200
added wet velocity factor experiments
Diffstat:
A python/halfshear-c=0.1-velfac.sh | 50 +++++++++++++++++++++++++++++…
A python/halfshear-c=1.0-velfac.sh | 50 +++++++++++++++++++++++++++++…
2 files changed, 100 insertions(+), 0 deletions(-)
---
diff --git a/python/halfshear-c=0.1-velfac.sh b/python/halfshear-c=0.1-velfac.sh
t@@ -0,0 +1,50 @@
+#!/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 [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 shear-starter.py <DEVICE> <FLUID> <C_PHI> <C_GRAD_P> <SIGMA_0>
+python halfshear-starter-rate.py 0 1 1.0 0.1 20000.0 2.0 &
+python halfshear-starter-rate.py 1 1 1.0 0.1 20000.0 1.0 &
+python halfshear-starter-rate.py 2 1 1.0 0.1 20000.0 0.5 &
+wait
+
+#cp $WORKDIR/output/* $ORIGDIR/output/
+
+echo "End at `date`"
diff --git a/python/halfshear-c=1.0-velfac.sh b/python/halfshear-c=1.0-velfac.sh
t@@ -0,0 +1,50 @@
+#!/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 [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 shear-starter.py <DEVICE> <FLUID> <C_PHI> <C_GRAD_P> <SIGMA_0>
+python halfshear-starter-rate.py 0 1 1.0 1.0 20000.0 2.0 &
+python halfshear-starter-rate.py 1 1 1.0 1.0 20000.0 1.0 &
+python halfshear-starter-rate.py 2 1 1.0 1.0 20000.0 0.5 &
+wait
+
+#cp $WORKDIR/output/* $ORIGDIR/output/
+
+echo "End at `date`"
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.