[MacPorts] #22936: numpy atlas segmentation fault
MacPorts
noreply at macports.org
Fri Dec 18 07:45:47 PST 2009
#22936: numpy atlas segmentation fault
-------------------------------+--------------------------------------------
Reporter: jjstickel@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Keywords: numpy atlas | Port:
-------------------------------+--------------------------------------------
Not sure if this is a bug in atlas or numpy (I think atlas). If I run the
following test script involving a multiplication of two non-square
matrices of a reasonable size, I get a segmentation fault:
{{{
#!/usr/bin/env python
"""
segfaults with numpy.dot for reasonably sized arrays
"""
import numpy as np
n = 100
# segfualt for n > 51
B = np.dot( np.random.rand(n,n), np.random.rand(n,n+1) )
print(B.shape)
}}}
A workaround is to use the no_atlas variant of numpy. I tested with both
py25-numpy and py26-numpy. I am on Tiger with Intel cpu.
--
Ticket URL: <http://trac.macports.org/ticket/22936>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list