Numpy and Scipy


Install Numpy to your home folder

I had to specify the fortran-compiler explicitly:

python build --fcompiler=gnu95
python install --prefix=/home/theo/myname

To ensure that python finds the library (or finds it first there) we have to set (in python)

path = [“/home/theo/smeuren/lib64/python2.6/site-packages/”]

import sys

path += sys.path

sys.path = path

Alternatively we can use PYTHONPATH:


One meight need ATLAS: (Did not work on the cluster, It appears you have cpu throttling enabled, which makes timings unreliable and an ATLAS install nonsensical.  Aborting.)



Convert float array to integer

y = x.astype(int)

Universial Functions

Output precission


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: