py26-numpy, py26-scipy, and macports atlas/lapack/blas

Jack Howarth howarth at bromo.med.uc.edu
Fri Oct 2 22:01:21 PDT 2009


On Fri, Oct 02, 2009 at 08:06:31PM -0700, James Kyle wrote:
> I've been working on the numpy and scipy ports for python26. I've  
> succeeded at accomplishing the following for both:
>
> - default build against gcc43 toolchain
> - default build links against macports atlas/lapack/blas libraries  
> instead of the apple ones
> - gcc43 disabled with no_gcc43 variant
> -- macports atlas disabled with no_atlas variant (falls back to system  
> atlas/lapack)
>
>
> I think these changes bring the numpy/scipy ports into line with the  
> "macports way" of using ports as dependencies whenever possible. It also 
> is in line with the request in ticket #20103 to settle on a common 
> compiler for scientific oriented ports to reduce possible cross linking 
> issues.
>
> A practical example of problems caused by cross linking is found in  
> ticket #20491, where ipython segfaults when an exception is thrown by a 
> module linked against macports atlas.
>
> Since this is a pretty significant change in default behavior, I thought 
> I'd drop a line to the list for discussion.
>
> Both numpy and scipy tests pass 100% after this change.
>
>> >>> import numpy
>> >>> numpy.test()
>> <nose.result.TextTestResult run=2030 errors=0 failures=0>
>
>> >>> import scipy
>> >>> scipy.test()
>> <nose.result.TextTestResult run=3488 errors=0 failures=0>
>
> Cheers,
>
> -james
>

James,
   You'll want these packages to build against the gcc44 package
rather than the gcc43 package. Only gcc 4.4.x and later builds
on Snow Leopard.
              Jack


>  


> _______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev



More information about the macports-dev mailing list