Compiling LAPACK program with g++ in Ubuntu

First thing first, install lapack, lapacke(C wrapper for lapack), and blas.

Let’s use the demo code from http://www.netlib.org/lapack/lapacke.html, save it as test.cpp

That’s all I need to let it compile.

To run it, you just need to

Done. Thanks. Period.

Leave a Reply

Your email address will not be published. Required fields are marked *