tadd another c_grad_p value simulation - sphere - GPU-based 3D discrete element… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 5e040c9c2c949242cb1a4709a773e054e912801d | |
parent 0478a79e3b10b082a0a42a019f1beb7295d9bd11 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Wed, 30 Jul 2014 12:33:31 +0200 | |
add another c_grad_p value simulation | |
Diffstat: | |
A python/permeability-c_grad_p=0.01.… | 49 +++++++++++++++++++++++++++… | |
1 file changed, 49 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/python/permeability-c_grad_p=0.01.sh b/python/permeability-c_grad_… | |
t@@ -0,0 +1,49 @@ | |
+#!/bin/sh | |
+#PBS -N permeability-c_grad_p=0.01 | |
+#PBS -l nodes=1:ppn=3 | |
+#PBS -l walltime=1920: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 permeability-starter.py 0 1.0 0.01 1.0e3 2.0e3 & | |
+python permeability-starter.py 1 1.0 0.01 4.0e3 1.0e4 & | |
+python permeability-starter.py 2 1.0 0.01 2.0e4 4.0e4 & | |
+wait | |
+ | |
+#cp $WORKDIR/output/* $ORIGDIR/output/ | |
+ | |
+echo "End at `date`" |