obtain the open source intel binary of the gnu compiler g77 here
at the prompt type: gunzip g77-intel.bin.tar.gz
at the prompt type: sudo tar -xvf g77-intel-bin.tar -C /.
start a new shell, or quit out of x11 and restart it
in the cmbfast directory, run the following configure command at the prompt: ./configure --f77=g77 --f77-flags=-I.
type make at the prompt
The secret here is that g77 cannot find the include files without the flag
-I.
Some Python Tricks:
Want a legend on a plot with multiple histograms? The pylab hist
module returns more than you expect: the y values, the x values,
and the list of rectangles it drew on the screen. It's these latter
that you want to access for the legend. But you can't feed it the
the whole list of them, only one element of the list, say the 0th.
Here is an example code and picture.