tfix amplitudes, add continue script - 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 379813ad7fcb70b3647d4026d1764225873cc186
 (DIR) parent 4b24301021bdd3440e6e47897e728f27c0d00550
 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       Date:   Thu, 23 Apr 2015 18:54:50 +0200
       
       fix amplitudes, add continue script
       
       Diffstat:
         A python/wip-varA-cont.sh             |      49 +++++++++++++++++++++++++++++++
         M python/wip-varA.sh                  |       6 +++---
       
       2 files changed, 52 insertions(+), 3 deletions(-)
       ---
 (DIR) diff --git a/python/wip-varA-cont.sh b/python/wip-varA-cont.sh
       t@@ -0,0 +1,49 @@
       +#!/bin/sh
       +#PBS -N wip-varA
       +#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-darcy-sigma0=10000.0-k_c=2.0e-16-mu=2.08e-07-ss=2000.0-A=4125.0-f=0.2 1 0 &
       +python continue_sim.py halfshear-darcy-sigma0=10000.0-k_c=2.0e-16-mu=2.08e-07-ss=2000.0-A=4250.0-f=0.2 1 1 &
       +python continue_sim.py halfshear-darcy-sigma0=10000.0-k_c=2.0e-16-mu=2.08e-07-ss=2000.0-A=4375.0-f=0.2 1 2 &
       +wait
       +
       +#cp $WORKDIR/output/* $ORIGDIR/output/
       +
       +echo "End at `date`"
 (DIR) diff --git a/python/wip-varA.sh b/python/wip-varA.sh
       t@@ -40,9 +40,9 @@ rm CMakeCache.txt
        cmake . && make
        cd python
        # $ ipython halfshear-darcy-stress-starter.py <device> <fluid> <c_phi> <k_c> <sigma_0> <mu> <shear_stress>
       -python halfshear-darcy-stress-mod-starter.py 0 1 1.0 2.0e-16 10000.0 2.08e-7 2000.0 4250.0 0.2 1.0 &
       -python halfshear-darcy-stress-mod-starter.py 1 1 1.0 2.0e-16 10000.0 2.08e-7 2000.0 4125.0 0.2 1.0 &
       -python halfshear-darcy-stress-mod-starter.py 2 1 1.0 2.0e-16 10000.0 2.08e-7 2000.0 4625.0 0.2 1.0 &
       +python halfshear-darcy-stress-mod-starter.py 0 1 1.0 2.0e-16 10000.0 2.08e-7 2000.0 4125.0 0.2 1.0 &
       +python halfshear-darcy-stress-mod-starter.py 1 1 1.0 2.0e-16 10000.0 2.08e-7 2000.0 4250.0 0.2 1.0 &
       +python halfshear-darcy-stress-mod-starter.py 2 1 1.0 2.0e-16 10000.0 2.08e-7 2000.0 4375.0 0.2 1.0 &
        wait
        
        #cp $WORKDIR/output/* $ORIGDIR/output/