Tutorial slides (PDF) - Clemson University
Tutorial slides (PDF) - Clemson University
Tutorial slides (PDF) - Clemson University
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
NumPy - Memory<br />
Q: Where is all my memory going?<br />
A: It disappears a little bit at a time.<br />
BlueGene/P has 512 MB per core.<br />
Compute note kernel is another 34 MB.<br />
NumPy library is ~ 38 MB.<br />
Python Interpreter 12 MB.<br />
Can't always get the last 50 MB, NumPy to blame?<br />
Try this simple test:<br />
import numpy as np<br />
A = np.zero((N,N),dtype=float)<br />
Beware of temporary matrices, they are sometimes not<br />
obvious<br />
D = np.dot(A,np.dot(B,C))