Boost logo

Ublas :

Subject: Re: [ublas] boost numeric bindings lapack gesv + RHEL5 issue.
From: Rutger ter Borg (rutger_at_[hidden])
Date: 2011-09-21 02:40:30


On 09/20/2011 11:04 PM, Sunil Thomas wrote:
> Hi!
> I am using boost numeric bindings for doing a direct solve using the
> lapack function gesv. While this
> works great on Windows and gives me the right answer, the exact same
> matrix (I printed it out to make
> sure) fails on Linux RHEL4 or RHEL5 (returns info=3, zero element on
> diagonal). I think the Windows
> case was able to pivot it automatically. I am working with some legacy
> code here and I see some lines
> such as:
>

[snip]

> ()
> It looks like the fix might be something really trivial, but I have
> no clue where to look for a hint to resolve
> the problem.. appreciate if somebody who's an expert at using boost
> ublas can kindly help resolve this
> problem.
> Thanks a lot for your time,
> --S.

In order to help, we need a bit more info on your build environments.
I.e., which LAPACK backends are you using, on Windows and on RHEL? Which
compilers?

Cheers,

Rutger