tREADME - pism - [fork] customized build of PISM, the parallel ice sheet model (tillflux branch)
(HTM) git clone git://src.adamsgaard.dk/pism
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
tREADME (1150B)
---
1 To use these examples you must build the PISM python bindings. You will need to
2 have both SWIG and petsc4py installed.
3
4 To build the bindings, you will need to first set the cmake flag
5 Pism_BUILD_PYTHON_BINDINGS:
6 $ cd 'your PISM root directory'
7 $ cd build
8 $ ccmake .. # then set Pism_BUILD_PYTHON_BINDINGS
9 $ make install
10 Now identify where the PISM python libraries were put something like
11 'some install prefix'/lib/python2.6/site-packages/PISM/...
12 In that case you will need to add this location to your PYTHONPATH, e.g.
13 $ export PYTHONPATH=${PYTHONPATH}:/usr/local/lib/python2.6/site-packages
14
15 See 'your PISM root directory'/src/pythonbindings/README.txt for additional info
16 on installation.
17
18 If the above install is correct then coming back to this directory and trying an
19 example should work:
20 $ cd examples/python/ssa_tests/
21 $ ./ssa_testj.py
22
23 Of course you can run these inside python:
24 $ python # or ipython or 'ipython -pylab'
25 $ run pross -i ross.nc -bootstrap -Mx 147 -My 147 -riggs riggs.nc # FIXME: not sure these options are handled correctly ... try changing them ... or do you have a different usage mode?
26
27
28