[CMake] FindBlas and header file "blas.h"

Nicholas Kinar n.kinar at usask.ca
Fri Mar 1 17:53:39 EST 2013


On 01/03/2013 12:10 PM, Tim Gallagher wrote:
> Also worth noting:
>
> I just checked on an Ubuntu machine and the header file is called cblas.h, not blas.h.
>
> If none of that helps, then I'm out of suggestions. I don't use Ubuntu and most of my code is in Fortran :)
>
> Tim
>
> ----- Original Message -----
> From: "Tim Gallagher" <tim.gallagher at gatech.edu>
> To: "Nicholas Kinar" <n.kinar at usask.ca>
> Cc: cmake at cmake.org
> Sent: Friday, March 1, 2013 1:06:34 PM
> Subject: Re: [CMake] FindBlas and header file "blas.h"
>
> And have you tried printing out the value of BLAS_INCLUDE_DIR? I'm not sure that actually exists, I don't see it set in my FindBLAS.cmake module.
>
> What is the path to blas.h? Have you verified it exists and is in one of the standard include locations such as /usr/include, /usr/local/include etc?
>
> It's possible it is in something like /usr/include/blas/blas.h and so it isn't found by default.
>
> Tim

Yes, you are absolutely right, Tim; thanks for checking.

Nicholas


More information about the CMake mailing list