Install h5py on Ubuntu 12.04

I used the following commands:

$ wget
$ tar -xzf h5py-2.2.0.tar.gz
$ cd h5py-2.2.0
$ export C_INCLUDE_PATH=/usr/lib/openmpi/include

If you don’t issue the last command, you will see errors like “mpi.h” cannot be found

$ python build
$ python test
$ sudo python install

By now, you have h5py installed. Try this example:, and observe a beautiful picture generated using all processors on your computer.