### using lapack on a mac in C++ (beginner questions)

Posted:

**Fri Apr 21, 2006 1:46 pm**Hi,

I need the eigenvalues of a large matrix, and I would like to use lapack to find them. I will be doing this in C++ on a mac (intel based macbook pro, running under 10.4.6) using g++, and I am unsure of how to actually link the vec.lib. Where is the library located? Can someone also point me to some good tutorials for using lapack on a mac. I am a beginner, so any advice (no matter how trivial) would be helpful. What would the syntax be for compiling a file.

I need the eigenvalues of a large matrix, and I would like to use lapack to find them. I will be doing this in C++ on a mac (intel based macbook pro, running under 10.4.6) using g++, and I am unsure of how to actually link the vec.lib. Where is the library located? Can someone also point me to some good tutorials for using lapack on a mac. I am a beginner, so any advice (no matter how trivial) would be helpful. What would the syntax be for compiling a file.