Re: Knowing which BLAS, LAPACK,... subroutine are called
On 28 January 2013 11:18, Aurélie Hurault <[hidden email]> wrote:
> Is there a way to know which BLAS, LAPACK,... subroutines are called when we
> invoke matrices operations (factorization, addition, multiplication, ...)?
I suppose if you're asking, that's because you found it too difficult
to read Octave's source code.
If so, are you able to run Octave in a debugger? The Fortran calls are
wrapped with FORTRAN_F77 CPP macros. You could grep the source code
for these macros. Most of the interesting bits should be in liboctave.
If you can edit the source code and rebuild Octave, you could even
edit this macro to make it print to screen when it's using a Fortran
call. In fact, I would welcome a patch to conditionally enable at
compile time this debugging output.
If you have a specific question about which specific operations use
which BLAS routines, I may be able to respond directly.