tadd scripts with different velocity scaling values - sphere - GPU-based 3D dis… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit dc8922c13f27e50695a1c11b7852008165d3a6c2 | |
parent b0a3fac06279120fa500d5123948c5db6a003565 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Fri, 24 Oct 2014 13:51:54 +0200 | |
add scripts with different velocity scaling values | |
Diffstat: | |
A python/halfshear-c_v=0.01-c_a=0.0-… | 50 +++++++++++++++++++++++++++… | |
A python/halfshear-c_v=0.1-c_a=0.0-v… | 50 +++++++++++++++++++++++++++… | |
2 files changed, 100 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/python/halfshear-c_v=0.01-c_a=0.0-velfac.sh b/python/halfshear-c_v… | |
t@@ -0,0 +1,50 @@ | |
+#!/bin/sh | |
+#PBS -N halfshear-c_v=0.01-c_a=0.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 halfshear-starter-rate.py <DEVICE> <FLUID> <C_PHI> <C_V> <SIGMA_0> … | |
+python halfshear-starter-rate.py 0 1 1.0 0.01 20000.0 2.0 0.0 & | |
+python halfshear-starter-rate.py 1 1 1.0 0.01 20000.0 1.0 0.0 & | |
+python halfshear-starter-rate.py 2 1 1.0 0.01 20000.0 0.5 0.0 & | |
+wait | |
+ | |
+#cp $WORKDIR/output/* $ORIGDIR/output/ | |
+ | |
+echo "End at `date`" | |
diff --git a/python/halfshear-c_v=0.1-c_a=0.0-velfac.sh b/python/halfshear-c_v=… | |
t@@ -0,0 +1,50 @@ | |
+#!/bin/sh | |
+#PBS -N halfshear-c_v=0.1-c_a=0.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 halfshear-starter-rate.py <DEVICE> <FLUID> <C_PHI> <C_V> <SIGMA_0> … | |
+python halfshear-starter-rate.py 0 1 1.0 0.1 20000.0 2.0 0.0 & | |
+python halfshear-starter-rate.py 1 1 1.0 0.1 20000.0 1.0 0.0 & | |
+python halfshear-starter-rate.py 2 1 1.0 0.1 20000.0 0.5 0.0 & | |
+wait | |
+ | |
+#cp $WORKDIR/output/* $ORIGDIR/output/ | |
+ | |
+echo "End at `date`" |