From: Andreas on 14 Jun 2010 09:55 Hi there, is there a way to monitor which LAPACK routines are actually called when using the Matlab mldivide(A,B) and mrdivide(B,A) functions? I know that the documentations tells which routines are callled depending on the type and structure of A and B but i don't want to check all the matrices in advance to figure this out. Moreoder, I would like to monitor that for other funcitons as well. Thanks for helping, Best, Andreas
From: Steven Lord on 14 Jun 2010 10:10 "Andreas " <andreas.janecek(a)univie.ac.at> wrote in message news:hv5cbr$kmn$1(a)fred.mathworks.com... > Hi there, > is there a way to monitor which LAPACK routines are actually called when > using the Matlab mldivide(A,B) and mrdivide(B,A) functions? Why? > I know that the documentations tells which routines are callled depending > on the type and structure of A and B but i don't want to check all the > matrices in advance to figure this out. > Moreoder, I would like to monitor that for other funcitons as well. Again, why do you want to know this information? -- Steve Lord slord(a)mathworks.com comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ To contact Technical Support use the Contact Us link on http://www.mathworks.com
From: Andreas on 14 Jun 2010 10:27 Hi Steve, because I want to create C++ code from my Matlab code and then call LAPACK routines directly in my C++ code. Thanks, Andreas -- Andreas Janecek Research Lab Computational Technologies and Applications Faculty of Computer Science University of Vienna, Austria E-mail: andreas.janecek(a)univie.ac.at http://homepage.univie.ac.at/andreas.janecek "Steven Lord" <slord(a)mathworks.com> wrote in message <hv5d8j$jtn$1(a)fred.mathworks.com>... > > "Andreas " <andreas.janecek(a)univie.ac.at> wrote in message > news:hv5cbr$kmn$1(a)fred.mathworks.com... > > Hi there, > > is there a way to monitor which LAPACK routines are actually called when > > using the Matlab mldivide(A,B) and mrdivide(B,A) functions? > > Why? > > > I know that the documentations tells which routines are callled depending > > on the type and structure of A and B but i don't want to check all the > > matrices in advance to figure this out. > > Moreoder, I would like to monitor that for other funcitons as well. > > Again, why do you want to know this information? > > -- > Steve Lord > slord(a)mathworks.com > comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ > To contact Technical Support use the Contact Us link on > http://www.mathworks.com >
From: Steve Amphlett on 14 Jun 2010 10:38 "Andreas " <andreas.janecek(a)univie.ac.at> wrote in message <hv5e89$p4i$1(a)fred.mathworks.com>... > Hi Steve, > > > > "Steven Lord" <slord(a)mathworks.com> wrote in message <hv5d8j$jtn$1(a)fred.mathworks.com>... > > > > "Andreas " <andreas.janecek(a)univie.ac.at> wrote in message > > news:hv5cbr$kmn$1(a)fred.mathworks.com... > > > Hi there, > > > is there a way to monitor which LAPACK routines are actually called when > > > using the Matlab mldivide(A,B) and mrdivide(B,A) functions? > > > > Why? > > > > > I know that the documentations tells which routines are callled depending > > > on the type and structure of A and B but i don't want to check all the > > > matrices in advance to figure this out. > > > Moreoder, I would like to monitor that for other funcitons as well. > > > > Again, why do you want to know this information? <top-posting error removed> > because I want to create C++ code from my Matlab code and then call LAPACK routines directly in my C++ code. > > Thanks, Andreas > -- > Andreas Janecek I'm with Mr Lord. Why do you need to know which lapack routines ML uses? Just read the lapack docs. Then parcel up your data and call a suitable one. There's not a lot of overlap.
From: Andreas on 14 Jun 2010 10:57
Of course it's no problem to call a suitable LAPACK routine for my task - but if there is a way in Matlab to find out which LAPACK routines are used it would still be helpful for me (for comparison, speed ... etc.). So if someone knows that it is _not_ possible to get this information in matlab - please tell me. If it is possilbe. How? "Steve Amphlett" <Firstname.Lastname(a)Where-I-Work.com> wrote in message <hv5esc$6m3$1(a)fred.mathworks.com>... > "Andreas " <andreas.janecek(a)univie.ac.at> wrote in message <hv5e89$p4i$1(a)fred.mathworks.com>... > > Hi Steve, > > > > > > > > "Steven Lord" <slord(a)mathworks.com> wrote in message <hv5d8j$jtn$1(a)fred.mathworks.com>... > > > > > > "Andreas " <andreas.janecek(a)univie.ac.at> wrote in message > > > news:hv5cbr$kmn$1(a)fred.mathworks.com... > > > > Hi there, > > > > is there a way to monitor which LAPACK routines are actually called when > > > > using the Matlab mldivide(A,B) and mrdivide(B,A) functions? > > > > > > Why? > > > > > > > I know that the documentations tells which routines are callled depending > > > > on the type and structure of A and B but i don't want to check all the > > > > matrices in advance to figure this out. > > > > Moreoder, I would like to monitor that for other funcitons as well. > > > > > > Again, why do you want to know this information? > > <top-posting error removed> > > > because I want to create C++ code from my Matlab code and then call LAPACK routines directly in my C++ code. > > > > Thanks, Andreas > > -- > > Andreas Janecek > > I'm with Mr Lord. Why do you need to know which lapack routines ML uses? Just read the lapack docs. Then parcel up your data and call a suitable one. There's not a lot of overlap. |