help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Knowing which BLAS, LAPACK,... subroutine are called


From: Jordi Gutiérrez Hermoso
Subject: Re: Knowing which BLAS, LAPACK,... subroutine are called
Date: Mon, 28 Jan 2013 12:03:13 -0500

On 28 January 2013 11:18, Aurélie Hurault <address@hidden> 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.

- Jordi G. H.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]