Skip to content

ucb-sejits/pygmg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

717d2e3 · Jan 29, 2016
Feb 13, 2015
Jan 29, 2016
Jan 29, 2016
Sep 23, 2015
Oct 20, 2015
Sep 22, 2015
Apr 30, 2015
May 11, 2015
Jun 9, 2015
Oct 21, 2015
Oct 7, 2015
Jun 9, 2015
Oct 21, 2015

Repository files navigation

PYGMG -- HPGMG in Python

This is a simple python reference implementation of the HPGMG project

Build Status Coverage Status

Quick Start

How to get things up and running from the command line. This assumes you have a working version python running and accessible from the shell and that you have installed pip and it works too. Given all that, from the shell:

git clone https://github.com/ucb-sejits/pygmg.git
cd pygmg
pip install -e .

You are now ready to run, first use the run script with --help to see the options. And then do a simple run to see what happens.

./run_finite_volume --help
./run_finite_volume 4 -d 2 -nv 20

Using iPython

Once you have it running as above, a good way to visualize what is happening is to us ipython. From the command line.

ipython notebook

This creates a local web service running on localhost:8888 (on a laptop or desktop this command will usually take you to the browser. Select the notebooks folder and then try the SimpleSolver-HeatMap-2D notebook. It is set up to show intermediate files to provide visual clues as to whether things are working properly.