[Numpy-discussion] Numpy.dot segmentation fault

Robin robince at gmail.com
Mon Jan 18 20:31:00 EST 2010


You can build numpy against Accelerate through macports by specifying
the +no_atlas variant.

Last time I tried I ran into this issue:
http://trac.macports.org/ticket/22201

but it looks like it should be fixed now.

Cheers

Robin


On Mon, Jan 18, 2010 at 8:15 PM, Mark Lescroart <lescroar at usc.edu> wrote:
> Hi David (et al),
>
> Thanks for the reply. The version of ATLAS I was using was v3.8.3_1,
> installed via MacPorts, compiled and built on my machine with a gcc4.3
> compiler. I uninstalled numpy 1.4 and ATLAS, re-installed (i.e., re-
> compiled) the same version (3.8.3_1), re-installed numpy (for
> python2.6, version 1.4), and got the same bug.
>
> I don't know if this means that there's something fundamentally wrong
> with the version of ATLAS on MacPorts (probably less likely) or
> something wrong with the way my system is configured (probably more
> likely). If anyone can give me any more insight into how to test my
> installation of ATLAS, I would be much obliged (I read through a fair
> bit of the ATLAS installation notes on the ATLAS sourceforge page, and
> could not figure out how to "run the whole test suite" ).
>
> If possible, I would like to solve this problem within Macports (and
> thus not with the Accelerate framework). I am using numpy mostly
> through the pyMVPA package for fMRI multi-voxel analysis, and the
> pyMVPA package depends on a number of other libraries, and the mess of
> dependencies is most easily managed within the framework of Macports.
>
> Cheers,
>
> Mark
>
> On Jan 17, 2010, at 8:38 PM, David Cournapeau wrote:
>
>> Mark Lescroart wrote:
>>> Hello,
>>>
>>> I've encountered a segfault in numpy when trying to compute a dot
>>> product for two arrays - see code below. The problem only seems to
>>> occur
>>> when the arrays reach a certain size.
>>
>> Your atlas is most likely broken. You will have to double-check how
>> you
>> built it, and maybe run the whole test suite (as indicated in the
>> ATLAS
>> installation notes).
>>
>> Note that you can use the Accelerate framework on mac os x, this is
>> much
>> easier to get numpy working on mac,
>>
>> cheers,
>>
>> David
>> _______________________________________________
>> NumPy-Discussion mailing list
>> NumPy-Discussion at scipy.org
>> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>



More information about the NumPy-Discussion mailing list