Ticket #22936 (new defect)
numpy atlas segmentation fault
| Reported by: | jjstickel@… | Owned by: | mcalhoun@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.8.1 |
| Keywords: | Cc: | jameskyle@…, ram@… | |
| Port: | py25-numpy py26-numpy atlas |
Description
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.
Change History
Note: See
TracTickets for help on using
tickets.

