|
From: | Jarno Rajahalme |
Subject: | Re: Wrapper dylib to fix OSX libBLAS & libLAPACK with -m64 (Re: 3.5.0+ compiled on Mac OSX 10.6.6) |
Date: | Fri, 28 Jan 2011 19:21:55 +0200 |
On Jan 27, 2011, at 13:01 , ext Jarno Rajahalme wrote:
I was a bit too quick. Functions with more than 6 arguments pass the extra args in stack, so the stub has to be a little bit different for them. I have included a new version fixing this. |
blaswrap.c
Description: Binary data
Running the LAPACK test suite programs reveals that there are some internal problems with libLAPACK.dylib, that cause crashes. I have also seen independent reports for these crashes elsewhere, so they are not caused by the wrapper. I managed to avoid all crashes by including 6 LAPACK routines (through which the crashes happened) into the wrapper library. The whole library with a Makefile is also attached. |
blaswrap.tgz
Description: Binary data
I ran all the BLAS and LAPACK tests and only non-100% success cases were on some LAPACK Eigenvalue tests, however, many of these fail in same fashion with lapack 3.1.1 itself. Using a newer BLAS from atlas resolved some (but not all) of the failures. This tells that there are some bugs in the blas routines Apple is using, that have been since fixed in ATLAS. So, the underlying Apple libraries set some limits on how fat a wrapper like this suffices. Jarno |
[Prev in Thread] | Current Thread | [Next in Thread] |