aron/peanoclaw

Installing PeanoClaw

brew/downloaded git install paths

export PATH=/usr/local/share/python:/usr/local/bin:/usr/local/git/bin:$PATH

Prerequisites (all available from brew)

brew install python
brew install scons
# using brew Python
pip install numpy 

peanoclaw

mkdir -p ~/sandbox/peanoclaw
cd ~/sandbox/peanoclaw

from SVN – substitute your username

svn co svn+ssh://<username>@atsccs30.informatik.tu-muenchen.de/home_local/repositories/svn/peano/trunk/src
# or with git
# git svn clone svn+ssh://<username>@atsccs30.informatik.tu-muenchen.de/home_local/repositories/svn/peano/trunk/src

Set up environment variables for PeanoClaw build

export PEANOCLAW_SRC=$PWD/src
# standard Linux System Python location
#pythondir=`which python`
#export PEANOCLAW_PYTHONHOME=${pythondir%/*/*}
# OS X using homebrew Framework install
export PEANOCLAW_PYTHONHOME=/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/

Install Clawpack (peanoclaw branch)

git clone git@github.com:clawpack/clawpack.git
cd clawpack
git checkout peanoclaw
# local install
export PYTHONPATH='$HOME/.local/lib/python2.7/site-packages'
pip install --install-option="--prefix=$HOME/.local" -e .
# standard install
# pip install -e .

# can test here if you want to verify pyclaw is working

Visit peanoclaw directory and call build

cd pyclaw/src/peanoclaw
make

Test install

cd ../../apps/peano_shallow_2d
nosetests -v
# or call python on the different .py files in this directory

Extra notes

cd $PEANOCLAW_SRC
KW11581s-Mac-Pro:src ahmadia$ svn info
Path: .
URL: svn+ssh://ahmadia@atsccs30.informatik.tu-muenchen.de/home_local/repositories/svn/peano/trunk/src
Repository Root: svn+ssh://ahmadia@atsccs30.informatik.tu-muenchen.de/home_local/repositories/svn/peano
Repository UUID: 420de69d-2857-0410-accf-eacef7437ca7
Revision: 17215
Node Kind: directory
Schedule: normal
Last Changed Author: unterweg
Last Changed Rev: 17215
Last Changed Date: 2013-01-10 16:33:36 +0300 (Thu, 10 Jan 2013)