Re: exploring a fortran(?) library



> I don't know how you use such a library without some documentation of
> its interface,

I don't directly use the library.
I will write some fortran or C routines for use with matlab; I need the
MAX efficiency in array management, because of intensive matrix
multiplication and factorization. But, in this kind of routines for
matlab, I can only acces matrices as 1D arrays; so, depending on which
language I use, matlab may directly pass the data to my routines, or may
need to reorganise it in memory, which spends time.

For its internal matrics manipulations, matlab uses lapack/blas (atlas)
libraries, so I would like which flavor if these libraries it is, C or
fortran.

> Dump the symbols inside the library and see if
> there are recognizable calls to a Fortran run time library such as I/O
> routines.

I could find malloc, getrusage, gettimeofday. So, it seems to be some C
code.

Thanks.

--
Nicolas Limare

.



Relevant Pages

  • Re: Matlab Vectorisation Speed - How is it done in c++?
    ... Beating the performance of vectorized Matlab code is very ... Matlab makes calls to optimized C and Fortran libraries ... Use optimization level 3 on numerical code and level 2 on non- ...
    (comp.soft-sys.matlab)
  • Re: Stack frames
    ... _MOST_ routines often don't need to be (so, ... registers and just stuff your parameters into those registers...if the ... This type of situation - especially with modern OS designs and "libraries" ... assemblers don't have or can't match due to the way they operate_...one of ...
    (alt.lang.asm)
  • Re: FASMLIB 0.5.0 is out
    ... He's talking about "cut and paste" programming techniques, ... keeps copies of his library routines in a separate file and copies ... Absence of libraries makes development time too long for ... then it's okay to use that library routine, as his assembler *can* ...
    (alt.lang.asm)
  • Linking libf2c to make a level 2 fortran s-function on WinXP?
    ... I'm pretty new to Matlab and I've run into a problem that I just cant ... I have some fortran code that I'm trying to use as a level ... and Matlabs built in LCC C compiler for the gateway. ... to various bits where other libraries seem to be listed but still no luck. ...
    (comp.soft-sys.matlab)
  • Re: creating MEX file with IMSL/NAG routines in FORTRAN
    ... Greg Kaplan wrote: ... > fortran and that are too slow to re-code in matlab. ... > learning about compiling the fortran code into a mex file. ...
    (comp.soft-sys.matlab)