Skip to content

Installing and running on Shaheen

David Ketcheson edited this page Jan 14, 2014 · 7 revisions

These are instructions for getting started with PyClaw on the Shaheen supercomputer.

Copy install.sh to somewhere in your home directory on Shaheen. Edit line 6 to set the environment variable projdir to point to where you want to install pyclaw. Then issue the commands

source install.sh
module load ibm
pyclaw_build_all

The installation of the Riemann package will fail. You should comment out the following three lines in sandbox/clawpack/riemann/src/python/riemann/setup.py:

if len(lapack_args.keys()) == 0:
    # Provide a default value
    lapack_args['libraries'] = ['lapack','blas']

You can use this script to submit a test job.

You may want to change the branches of PyClaw or Riemann that are checked out on your system. You can do this just as you would on another machine.

To recompile after changing branches or updating:

cd sandbox/clawpack
git pull
cd ~
source install.sh
module load ibm
pyclaw_rebuild_clawpack
Clone this wiki locally