Re: Who uses clapack?

From: Allin Cottrell (cottrell_at_wfu.edu)
Date: 12/11/04

  • Next message: Jentje Goslinga: "Re: Who uses clapack?"
    Date: Fri, 10 Dec 2004 21:12:18 -0500
    
    

    Dan Pop wrote:
    > In <1gokq2z.1qtze21fbcwaoN%see.sig@for.addy> see.sig@for.addy (Victor Eijkhout) writes:
    >
    >
    >>The authors of lapack/scalapack are starting to work on a new release of
    >>these packages. One of the things we want to address is the sillyness
    >>that C users, instead of linking to the binaries of the Fortran version,
    >>use an automatically translated C version.
    >>
    >>Therefore we'd like to know precisely what the reasons for this are.
    >>
    >>Naively one would say, compile the Fortran version, append an underscore
    >>(when appropriate) to routine names, and just link those libraries to
    >>your object files.
    >>
    >>What are the gotchas, and what are the real stumbling blocks here?
    >>Please spell it out in as much detail as you can muster. This situation
    >>really needs to improve.
    >
    >
    > The issue that springs to mind is that Fortran and C store matrices
    > differently: Fortran does it column-wise (the first index varies fastest),
    > C does it row-wise (the last index varies fastest).

    I don't think that is the issue, since the clapack translation (as I
    understand it) is not an idiomatic translation into C (actually, that
    would be much too confusing, if you think about it). It's a perfectly
    literal translation, which preserves Fortan-style array indexing by
    brutal mangling of C notation.

    Allin Cottrell
    Wake Forest University


  • Next message: Jentje Goslinga: "Re: Who uses clapack?"

    Relevant Pages

    • Re: Who uses clapack?
      ... >>that C users, instead of linking to the binaries of the Fortran version, ... I don't think that is the issue, since the clapack translation (as I ...
      (sci.math.num-analysis)
    • Re: Who uses clapack?
      ... >>that C users, instead of linking to the binaries of the Fortran version, ... I don't think that is the issue, since the clapack translation (as I ...
      (comp.lang.c)
    • Re: Request for comment: follow-up to Summer of Code
      ... > (FORTRAN (MATMUL X Y IDIM) ... > just prefer Lisp. ... the point of the translation results was to show that there were ... But benchmarks are always transitory and saying one language is better than ...
      (comp.lang.lisp)
    • Re: pointer plus an integer
      ... Recipes in C) library. ... familiar with Fortran than with C. ... thereby simplifying the translation of Fortran ... the Numerical Recipes library also pre-dates those features; ...
      (comp.lang.c)
    • Re: Help - SYSUAF and $SETUAI on UAI$_USER_DATA field
      ... Certainly in Fortran. ... Logical name resolution is attempted on the devicename ... Logical name resolution is attempted on the name (SYSUAF) ... the translation that may be performed with respect to the default ...
      (comp.os.vms)

    Loading