Re: Who uses clapack?
From: Allin Cottrell (cottrell_at_wfu.edu)
Date: 12/11/04
- Previous message: James Van Buskirk: "Re: Who uses clapack?"
- In reply to: Dan Pop: "Re: Who uses clapack?"
- Next in thread: Kamaraju Kusumanchi: "Re: Who uses clapack?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: James Van Buskirk: "Re: Who uses clapack?"
- In reply to: Dan Pop: "Re: Who uses clapack?"
- Next in thread: Kamaraju Kusumanchi: "Re: Who uses clapack?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|