Archive for April, 2014

Tuesday, April 29th, 2014

Numba with CUDA

Numba is a Python package that uses the LLVM compiler to compile Python code to native code. Numba 0.13, released a few weeks ago, offers support for automatically creating CUDA kernels from Python code. I created a notebook1 (HTML) to show off the demo code. I’m not sure which is cooler, IPython notebooks or Numba. ↩

No Comments » - Posted in HPC,Python by

Tuesday, April 22nd, 2014

Calling LAPACK routines from IDL

The LAPACK library is distributed along with IDL, but wrappers to most of the routines are not provided. On Linux, CALL_EXTERNAL can be used to easily access any of the routines. On OS X, the Accelerate Framework can be used. I have not found a solution for Windows1 since the needed symbols in the DLL […]

No Comments » - Posted in HPC,IDL by

Tuesday, April 15th, 2014

Tips for Googling your programming questions

Suyeon Son collects some great tips about Googling for answers to programming questions: I asked Jeremy Bowers, a news applications developer at NPR, who said he follows a specific pattern when Googling to achieve specific outcomes: <programming language> <verb> <specific keywords> e.g. “JavaScript remove key from object” I would also recommend Googling the exact string […]

1 Comment » - Posted in IDL by

Tuesday, April 8th, 2014

Join LinkedIn IDL group

I have created a LinkedIn group for IDL Users. If you are on LinkedIn, look it up and invite other IDL users.

No Comments » - Posted in IDL by

Tuesday, April 1st, 2014

QR factorization in GPULib

QR factorization of a matrix A is the process of determining an orthogonal matrix Q and upper triangular matrix R such that $$A = QR$$ Using a QR factorization is faster and much more numerically stable than finding an inverse matrix of A to solve the system of equations Ax = b. QR factorization is […]

No Comments » - Posted in HPC,IDL by