On 11/11/10 03:49 PM, Dima Pasechnik wrote:
Could anyone tell me whether we build libatlas and libcblas on MacOSX
Intel (and place them in SAGE_LOCAL/lib)?
I know this is not the case on PPC.

ATLAS, it is not built on OS X at all.

There's a really small python script (spkg-install) which calls a long bash script (spkg-install-script). In that script it has:


if [ `uname` = "Darwin" ]; then
    exit 0
fi

It would be good if we could get rid of the python dependency, as then ATLAS could start building and it would significantly reduce the build time of Sage on many platforms.

BLAS is different however. If we look at spkg-install for that, we see:

if [ "`uname`" = "Darwin" -a "`uname -p`" = "i386" ]; then
    echo "No need to build blas on OSX Intel."
    exit 0
fi



I am working on  setup.py for CVXOPT that might be dependent upon
this.

As far as I can see, we never build ATLAS on OS X, and don't build blas on Intel based OS X systems.

However, there is a cblas as part of the GNU Scientific library, but to the best of my knowledge, that's not used outside of there, and only a fallback if the ATLAS cblas is not present.

I would also appreciate knowing how to dig up the hardware version. On
my MacOSX 10.5 PPC I have

$ python
import os
os.uname()[4]
'Power Macintosh'
os.uname()[0]
'Darwin'

What is it on Intel? On 10.4 PPC?

On bsd.math, which is intel based.

os.uname()[4]
'i386'
os.uname()[0]
'Darwin'
os.uname()
('Darwin', 'bsd.local', '10.4.0', 'Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386', 'i386')

Thanks,
Dima


Dave

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to