This is a simple python reference implementation of the HPGMG project
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
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.