DGEMM and ATLAS vs BLAS
I'm trying to properly link the LAPACK routine to perform a matrix multiply, dgemm, but I don't think that I properly understand the relationship between BLAS and LAPACK. I used the command
sudo apt-get liblapack-dev
I got the program to compile, but I removed the -llapack flag and kept the -lblas flagto ensure that it wasn't using BLAS routine, and the program still compiled. I am not sure how dgemm relates to lapack; I know that it is a blas routine, but LAPACK should provide an optimized version of this I would think. I can't find it in the documentation, which makes me think that it is an auxiliary function if that. Can anyone offer any clarification on this?
sudo apt-get liblapack-dev
I got the program to compile, but I removed the -llapack flag and kept the -lblas flagto ensure that it wasn't using BLAS routine, and the program still compiled. I am not sure how dgemm relates to lapack; I know that it is a blas routine, but LAPACK should provide an optimized version of this I would think. I can't find it in the documentation, which makes me think that it is an auxiliary function if that. Can anyone offer any clarification on this?