Peter Jeremy wrote:
> Whilst attempting to get Sage to work on FreeBSD, I've bumped into an
> apparent anomoly between atlas-3.8.3.p5 and numpy-1.3.0.p0.  Atlas is
> specifically built with threading disabled ('-t 0' passed to configure
> in spkg-install-script) but numpy appears to be built with threading
> enabled.  Whilst I can't specifically identify where threading is
> enabled in numpy, running ldd on the some of the Linux shared libraries
> (eg local/lib/python2.6/site-packages/numpy/core/_dotblas.so) shows
> they have both libatlas and libpthread as dependencies.
> 
> The numpy internal configuration (distutils/system_info.py) also has
> an explicit override to reference the threaded version of atlas libraries
> on FreeBSD - this currently fails within the sage build environment
> because the threaded libraries aren't built.  I'm not sure if the correct
> fix is to remove this special casing or build the threaded atlas libraries.
> 
> Is mixing thread-enabled code with non-threaded code an oversight within
> Sage or is this particular code safe on Linux?
> 

I've no idea if it's appropriate or not (sounds to me if it is not), but 
it works on solaris too, with some other patches to sort things out.



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

Reply via email to