Blog: HPC examples with Python
AstroPython reader Moritz writes:
While looking for good way to define a banded matrix in Python I stumbled on the following tutorial:
HPC Techreport: A brief introduction to Python
After the standard introduction to basic Python concepts, I quite like the way different HPC solutions are built up in the end (numpy, scipy, weave, Cython) to lead to one example implemented with very different approaches.
In the end ...
Blog: High Performance Python tutorial v0.2 (from EuroPython 2011)
Ian Ozsvald has released an excellent High Performance Python tutorial (55 page PDF) which walks through different ways of making Python code run much faster. Read more in the original blog post, look at the source on github, or watch the slides.
Topics covered:
- Python profiling (cProfile, RunSnake, line_profiler) – find bottlenecks
- PyPy – Python’s new Just In Time compiler, a note on the new numpy module
- Cython ...
Resource: yt
Description: Analyze and visualize astrophysical simulations
Homepage URL: http://yt.enzotools.org/
yt is an analysis and visualization toolkit for Adaptive Mesh Refinement data. yt provides full support for Enzo, Orion, and FLASH codes, with preliminary support for RAMSES, ART, Chombo, CASTRO and MAESTRO codes. It can be used to create many common types of data products such as:
- Slices
- Projections
- Profiles
- Arbitrary Data Selection
- Cosmological Analysis
- Halo ...
Blog: Python in HPC
HPCWire's interview with Argonne National Lab's William Scullin, on the adoption of Python in high performance computing.