Introduction
Introduction Statistics Contact Development Disclaimer Help
tadd Torque job scripts for two examples - sphere - GPU-based 3D discrete eleme…
git clone git://src.adamsgaard.dk/sphere
Log
Files
Refs
LICENSE
---
commit 611042bd2970fd5ea7684e222c94c73b52174b07
parent 076d803cd410527527159eb2ca7baffd906e4cba
Author: Anders Damsgaard <[email protected]>
Date: Fri, 4 Jul 2014 15:08:46 +0200
add Torque job scripts for two examples
Diffstat:
A python/cube-init.sh | 49 +++++++++++++++++++++++++++++…
A python/permeability.sh | 49 +++++++++++++++++++++++++++++…
2 files changed, 98 insertions(+), 0 deletions(-)
---
diff --git a/python/cube-init.sh b/python/cube-init.sh
t@@ -0,0 +1,49 @@
+#!/bin/sh
+#PBS -N cube-init
+#PBS -l nodes=1:ppn=1
+#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 && make test
+cd python
+python cube-init.py &
+#python varN.py 0.2 &
+#python varN.py 0.5 &
+wait
+
+#cp $WORKDIR/output/* $ORIGDIR/output/
+
+echo "End at `date`"
diff --git a/python/permeability.sh b/python/permeability.sh
t@@ -0,0 +1,49 @@
+#!/bin/sh
+#PBS -N permeability
+#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 && make test
+cd python
+python permeability1.py &
+python permeability2.py &
+python permeability3.py &
+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.