If you're using the ATLAS library, you need both -latlas and -lcblas
together. If you are using the GSL cblas, you only need -lgslcblas
On 4/25/22 15:15, Crawford, Christopher wrote:
https://www.gnu.org/software/gsl/doc/html/usage.html#an-example-program
I was looking through this documentation, and couldn't test it, but it
seems like the following command
$ gcc example.o -lgsl -lcblas -latlas -lm
shouldn't have -lcblas. I could be wrong, though.
--thanks, Chris
Christopher Crawford, Professor, Director of Graduate Studies
Department of Physics and Astronomy, University of Kentucky
859-257-2504 (o) 859-421-9612 (c) skype: chris2crawford
schedule: www.pa.uky.edu/~crawford uky.zoom.us/my/c.crawford