[Numpy-discussion] Segmentation Fault in Numpy.test()

2011-08-02 Thread Thomas Markovich
Hi All,

I installed numpy from the scipy superpack on Snow Leopard with python 2.7
and it all appears to work but when I do the following, I get a segmentation
fault.

 import numpy
 print numpy.__version__, numpy.__file__
2.0.0.dev-b5cdaee
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy-2.0.0.dev_b5cdaee_20110710-py2.6-macosx-10.6-universal.egg/numpy/__init__.pyc
 numpy.test()
Running unit tests for numpy
NumPy version 2.0.0.dev-b5cdaee
NumPy is installed in
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy-2.0.0.dev_b5cdaee_20110710-py2.6-macosx-10.6-universal.egg/numpy
Python version 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34) [GCC 4.2.1
(Apple Inc. build 5666) (dot 3)]
nose version 1.1.2
Segmentation
fault
thomasmarkovich:~ Thomas$

What is the best way to trouble shoot this? Do you guys have any
suggestions? I have also included the core dump in this email as a pastie
link.

http://pastie.org/2309652

Best,

Thomas
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] Segmentation Fault in Numpy.test()

2011-08-02 Thread Olivier Delalleau
It's a wild guess, but in the past I've had seg faults issues on Mac due to
conflicting versions of Python. Do you have multiple Python installs on your
Mac?

-=- Olivier


2011/8/2 Thomas Markovich thomasmarkov...@gmail.com

 Hi All,

 I installed numpy from the scipy superpack on Snow Leopard with python 2.7
 and it all appears to work but when I do the following, I get a segmentation
 fault.

  import numpy
  print numpy.__version__, numpy.__file__
 2.0.0.dev-b5cdaee
 /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy-2.0.0.dev_b5cdaee_20110710-py2.6-macosx-10.6-universal.egg/numpy/__init__.pyc
  numpy.test()
 Running unit tests for numpy
 NumPy version 2.0.0.dev-b5cdaee
 NumPy is installed in
 /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy-2.0.0.dev_b5cdaee_20110710-py2.6-macosx-10.6-universal.egg/numpy
 Python version 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34) [GCC
 4.2.1 (Apple Inc. build 5666) (dot 3)]
 nose version 1.1.2
 Segmentation
 fault
 thomasmarkovich:~ Thomas$

 What is the best way to trouble shoot this? Do you guys have any
 suggestions? I have also included the core dump in this email as a pastie
 link.

 http://pastie.org/2309652

 Best,

 Thomas

 ___
 NumPy-Discussion mailing list
 NumPy-Discussion@scipy.org
 http://mail.scipy.org/mailman/listinfo/numpy-discussion


___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] Segmentation Fault in Numpy.test()

2011-08-02 Thread Thomas Markovich
I just have the default apple version of python that comes with Snow
Leopard (Python 2.6.1 (r261:67515, Aug  2 2010, 20:10:18)) and python 2.7
(Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34) ) installed.

Should I just remove 2.7 and reinstall everything with the standard apple
python?

On Tue, Aug 2, 2011 at 11:08 AM, Olivier Delalleau sh...@keba.be wrote:

 It's a wild guess, but in the past I've had seg faults issues on Mac due to
 conflicting versions of Python. Do you have multiple Python installs on your
 Mac?

 -=- Olivier


 2011/8/2 Thomas Markovich thomasmarkov...@gmail.com

 Hi All,

 I installed numpy from the scipy superpack on Snow Leopard with python 2.7
 and it all appears to work but when I do the following, I get a segmentation
 fault.

  import numpy
  print numpy.__version__, numpy.__file__
 2.0.0.dev-b5cdaee
 /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy-2.0.0.dev_b5cdaee_20110710-py2.6-macosx-10.6-universal.egg/numpy/__init__.pyc
  numpy.test()
 Running unit tests for numpy
 NumPy version 2.0.0.dev-b5cdaee
 NumPy is installed in
 /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy-2.0.0.dev_b5cdaee_20110710-py2.6-macosx-10.6-universal.egg/numpy
 Python version 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34) [GCC
 4.2.1 (Apple Inc. build 5666) (dot 3)]
 nose version 1.1.2
 Segmentation
 fault
 thomasmarkovich:~ Thomas$

 What is the best way to trouble shoot this? Do you guys have any
 suggestions? I have also included the core dump in this email as a pastie
 link.

 http://pastie.org/2309652

 Best,

 Thomas

 ___
 NumPy-Discussion mailing list
 NumPy-Discussion@scipy.org
 http://mail.scipy.org/mailman/listinfo/numpy-discussion



 ___
 NumPy-Discussion mailing list
 NumPy-Discussion@scipy.org
 http://mail.scipy.org/mailman/listinfo/numpy-discussion


___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] Segmentation Fault in Numpy.test()

2011-08-02 Thread Bruce Southey

On 08/02/2011 11:14 AM, Thomas Markovich wrote:
I just have the default apple version of python that comes with Snow 
Leopard (Python 2.6.1 (r261:67515, Aug  2 2010, 20:10:18)) and python 
2.7 (Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34) ) 
installed.


Should I just remove 2.7 and reinstall everything with the standard 
apple python?


On Tue, Aug 2, 2011 at 11:08 AM, Olivier Delalleau sh...@keba.be 
mailto:sh...@keba.be wrote:


It's a wild guess, but in the past I've had seg faults issues on
Mac due to conflicting versions of Python. Do you have multiple
Python installs on your Mac?

-=- Olivier


2011/8/2 Thomas Markovich thomasmarkov...@gmail.com
mailto:thomasmarkov...@gmail.com

Hi All,

I installed numpy from the scipy superpack on Snow Leopard
with python 2.7 and it all appears to work but when I do the
following, I get a segmentation fault.

 import numpy
 print numpy.__version__, numpy.__file__
2.0.0.dev-b5cdaee

/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy-2.0.0.dev_b5cdaee_20110710-py2.6-macosx-10.6-universal.egg/numpy/__init__.pyc
 numpy.test()
Running unit tests for numpy
NumPy version 2.0.0.dev-b5cdaee
NumPy is installed in

/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy-2.0.0.dev_b5cdaee_20110710-py2.6-macosx-10.6-universal.egg/numpy
Python version 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011,
15:22:34) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]
nose version 1.1.2

Segmentation
fault
thomasmarkovich:~ Thomas$

What is the best way to trouble shoot this? Do you guys have
any suggestions? I have also included the core dump in this
email as a pastie link.

http://pastie.org/2309652

Best,

Thomas


Use the numpy test verbose argument ie numpy.test(verbose=10) to find 
which test it is causing the crash.


I have no idea of the Mac but I am curious why there is a 'py2.6' in 
your numpy version with Python2.7.


Bruce

___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] Segmentation Fault in Numpy.test()

2011-08-02 Thread Ralf Gommers
On Tue, Aug 2, 2011 at 6:14 PM, Thomas Markovich
thomasmarkov...@gmail.comwrote:

 I just have the default apple version of python that comes with Snow
 Leopard (Python 2.6.1 (r261:67515, Aug  2 2010, 20:10:18)) and python 2.7
 (Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34) ) installed.

 Should I just remove 2.7 and reinstall everything with the standard apple
 python?

 Did you get it from http://stronginference.com/scipy-superpack/? The info
on the 10.6 installer has disappeared, but the 10.7 one is built against
Apple's Python. So conflicting Pythons makes sense. Even if you find the
right one, it may be worth emailing Chris to ask him to put back the info
for the 10.6 installer.

Ralf


On Tue, Aug 2, 2011 at 11:08 AM, Olivier Delalleau sh...@keba.be wrote:

 It's a wild guess, but in the past I've had seg faults issues on Mac due
 to conflicting versions of Python. Do you have multiple Python installs on
 your Mac?

 -=- Olivier


 2011/8/2 Thomas Markovich thomasmarkov...@gmail.com

 Hi All,

 I installed numpy from the scipy superpack on Snow Leopard with python
 2.7 and it all appears to work but when I do the following, I get a
 segmentation fault.

  import numpy
  print numpy.__version__, numpy.__file__
 2.0.0.dev-b5cdaee
 /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy-2.0.0.dev_b5cdaee_20110710-py2.6-macosx-10.6-universal.egg/numpy/__init__.pyc
  numpy.test()
 Running unit tests for numpy
 NumPy version 2.0.0.dev-b5cdaee
 NumPy is installed in
 /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy-2.0.0.dev_b5cdaee_20110710-py2.6-macosx-10.6-universal.egg/numpy
 Python version 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34) [GCC
 4.2.1 (Apple Inc. build 5666) (dot 3)]
 nose version 1.1.2
 Segmentation
 fault
 thomasmarkovich:~ Thomas$

 What is the best way to trouble shoot this? Do you guys have any
 suggestions? I have also included the core dump in this email as a pastie
 link.

 http://pastie.org/2309652

 Best,

 Thomas

 ___
 NumPy-Discussion mailing list
 NumPy-Discussion@scipy.org
 http://mail.scipy.org/mailman/listinfo/numpy-discussion



 ___
 NumPy-Discussion mailing list
 NumPy-Discussion@scipy.org
 http://mail.scipy.org/mailman/listinfo/numpy-discussion



 ___
 NumPy-Discussion mailing list
 NumPy-Discussion@scipy.org
 http://mail.scipy.org/mailman/listinfo/numpy-discussion


___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] Segmentation Fault in Numpy.test()

2011-08-02 Thread Thomas Markovich
It appears that uninstalling python 2.7 and installing the scipy superpack
with the apple standard python removes the segfaulting behavior from numpy.
Now it appears that just scipy is segfaulting at test
test_arpack.test_hermitian_modes(True, std-hermitian, 'F', 2, 'SM', None,
0.5, function aslinearoperator at 0x1043b1848) ... Segmentation fault

Thomas



On Tue, Aug 2, 2011 at 11:28 AM, Ralf Gommers
ralf.gomm...@googlemail.comwrote:



 On Tue, Aug 2, 2011 at 6:14 PM, Thomas Markovich 
 thomasmarkov...@gmail.com wrote:

 I just have the default apple version of python that comes with Snow
 Leopard (Python 2.6.1 (r261:67515, Aug  2 2010, 20:10:18)) and python 2.7
 (Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34) ) installed.

 Should I just remove 2.7 and reinstall everything with the standard apple
 python?

 Did you get it from http://stronginference.com/scipy-superpack/? The info
 on the 10.6 installer has disappeared, but the 10.7 one is built against
 Apple's Python. So conflicting Pythons makes sense. Even if you find the
 right one, it may be worth emailing Chris to ask him to put back the info
 for the 10.6 installer.

 Ralf


 On Tue, Aug 2, 2011 at 11:08 AM, Olivier Delalleau sh...@keba.be wrote:

 It's a wild guess, but in the past I've had seg faults issues on Mac due
 to conflicting versions of Python. Do you have multiple Python installs on
 your Mac?

 -=- Olivier


 2011/8/2 Thomas Markovich thomasmarkov...@gmail.com

 Hi All,

 I installed numpy from the scipy superpack on Snow Leopard with python
 2.7 and it all appears to work but when I do the following, I get a
 segmentation fault.

  import numpy
  print numpy.__version__, numpy.__file__
 2.0.0.dev-b5cdaee
 /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy-2.0.0.dev_b5cdaee_20110710-py2.6-macosx-10.6-universal.egg/numpy/__init__.pyc
  numpy.test()
 Running unit tests for numpy
 NumPy version 2.0.0.dev-b5cdaee
 NumPy is installed in
 /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy-2.0.0.dev_b5cdaee_20110710-py2.6-macosx-10.6-universal.egg/numpy
 Python version 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34) [GCC
 4.2.1 (Apple Inc. build 5666) (dot 3)]
 nose version 1.1.2
 Segmentation
 fault
 thomasmarkovich:~ Thomas$

 What is the best way to trouble shoot this? Do you guys have any
 suggestions? I have also included the core dump in this email as a pastie
 link.

 http://pastie.org/2309652

 Best,

 Thomas

 ___
 NumPy-Discussion mailing list
 NumPy-Discussion@scipy.org
 http://mail.scipy.org/mailman/listinfo/numpy-discussion



 ___
 NumPy-Discussion mailing list
 NumPy-Discussion@scipy.org
 http://mail.scipy.org/mailman/listinfo/numpy-discussion



 ___
 NumPy-Discussion mailing list
 NumPy-Discussion@scipy.org
 http://mail.scipy.org/mailman/listinfo/numpy-discussion



 ___
 NumPy-Discussion mailing list
 NumPy-Discussion@scipy.org
 http://mail.scipy.org/mailman/listinfo/numpy-discussion


___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] Segmentation Fault in Numpy.test()

2011-08-02 Thread Ralf Gommers
On Tue, Aug 2, 2011 at 6:57 PM, Thomas Markovich
thomasmarkov...@gmail.comwrote:

 It appears that uninstalling python 2.7 and installing the scipy superpack
 with the apple standard python removes the segfaulting behavior from numpy.
 Now it appears that just scipy is segfaulting at test
 test_arpack.test_hermitian_modes(True, std-hermitian, 'F', 2, 'SM', None,
 0.5, function aslinearoperator at 0x1043b1848) ... Segmentation fault

 That is a known problem (unfortunately hard to fix), see
http://projects.scipy.org/scipy/ticket/1472
Everything else besides arpack should work fine for you.

Cheers,
Ralf





 On Tue, Aug 2, 2011 at 11:28 AM, Ralf Gommers ralf.gomm...@googlemail.com
  wrote:



 On Tue, Aug 2, 2011 at 6:14 PM, Thomas Markovich 
 thomasmarkov...@gmail.com wrote:

 I just have the default apple version of python that comes with Snow
 Leopard (Python 2.6.1 (r261:67515, Aug  2 2010, 20:10:18)) and python 2.7
 (Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34) ) installed.

 Should I just remove 2.7 and reinstall everything with the standard apple
 python?

 Did you get it from http://stronginference.com/scipy-superpack/? The
 info on the 10.6 installer has disappeared, but the 10.7 one is built
 against Apple's Python. So conflicting Pythons makes sense. Even if you find
 the right one, it may be worth emailing Chris to ask him to put back the
 info for the 10.6 installer.

 Ralf


 On Tue, Aug 2, 2011 at 11:08 AM, Olivier Delalleau sh...@keba.be wrote:

 It's a wild guess, but in the past I've had seg faults issues on Mac due
 to conflicting versions of Python. Do you have multiple Python installs on
 your Mac?

 -=- Olivier


 2011/8/2 Thomas Markovich thomasmarkov...@gmail.com

 Hi All,

 I installed numpy from the scipy superpack on Snow Leopard with python
 2.7 and it all appears to work but when I do the following, I get a
 segmentation fault.

  import numpy
  print numpy.__version__, numpy.__file__
 2.0.0.dev-b5cdaee
 /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy-2.0.0.dev_b5cdaee_20110710-py2.6-macosx-10.6-universal.egg/numpy/__init__.pyc
  numpy.test()
 Running unit tests for numpy
 NumPy version 2.0.0.dev-b5cdaee
 NumPy is installed in
 /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy-2.0.0.dev_b5cdaee_20110710-py2.6-macosx-10.6-universal.egg/numpy
 Python version 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34) [GCC
 4.2.1 (Apple Inc. build 5666) (dot 3)]
 nose version 1.1.2
 Segmentation
 fault
 thomasmarkovich:~ Thomas$

 What is the best way to trouble shoot this? Do you guys have any
 suggestions? I have also included the core dump in this email as a pastie
 link.

 http://pastie.org/2309652

 Best,

 Thomas

 ___
 NumPy-Discussion mailing list
 NumPy-Discussion@scipy.org
 http://mail.scipy.org/mailman/listinfo/numpy-discussion



 ___
 NumPy-Discussion mailing list
 NumPy-Discussion@scipy.org
 http://mail.scipy.org/mailman/listinfo/numpy-discussion



 ___
 NumPy-Discussion mailing list
 NumPy-Discussion@scipy.org
 http://mail.scipy.org/mailman/listinfo/numpy-discussion



 ___
 NumPy-Discussion mailing list
 NumPy-Discussion@scipy.org
 http://mail.scipy.org/mailman/listinfo/numpy-discussion



 ___
 NumPy-Discussion mailing list
 NumPy-Discussion@scipy.org
 http://mail.scipy.org/mailman/listinfo/numpy-discussion


___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] Segmentation Fault in Numpy.test()

2011-08-02 Thread Derek Homeier
On 2 Aug 2011, at 18:57, Thomas Markovich wrote:

 It appears that uninstalling python 2.7 and installing the scipy  
 superpack with the apple standard python removes the

Did the superpack installer automatically install numpy to the  
python2.7 directory when present? Even if so, I reckon you could  
simply reinstall python2.7 after the numpy installation (still calling  
python2.6 to use numpy of course...).

 segfaulting behavior from numpy. Now it appears that just scipy is  
 segfaulting at test test_arpack.test_hermitian_modes(True, std- 
 hermitian, 'F', 2, 'SM', None, 0.5, function aslinearoperator at  
 0x1043b1848) ... Segmentation fault

Which architecture is this? Being on Snow Leopard, probably x86_46...
I remember encountering similar problems on PPC, which I suspect are  
related to stability issues with Apple's Accelerate framework.

Cheers,
Derek

___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] Segmentation Fault in Numpy.test()

2011-08-02 Thread Thomas Markovich
Oh okay, that's unfortunate but I guess not unexpected. Regardless, thank
you so much for all your help Ralf, Bruce, and Oliver! You guys are great.

Just to recap, the issue appears to stem from using the scipy superpack with
python 2.7 from python.org. This was solved by using the apple python along
with the scipy superpack.

Thomas

On Tue, Aug 2, 2011 at 12:06 PM, Ralf Gommers
ralf.gomm...@googlemail.comwrote:



 On Tue, Aug 2, 2011 at 6:57 PM, Thomas Markovich 
 thomasmarkov...@gmail.com wrote:

 It appears that uninstalling python 2.7 and installing the scipy superpack
 with the apple standard python removes the segfaulting behavior from numpy.
 Now it appears that just scipy is segfaulting at test
 test_arpack.test_hermitian_modes(True, std-hermitian, 'F', 2, 'SM', None,
 0.5, function aslinearoperator at 0x1043b1848) ... Segmentation fault

 That is a known problem (unfortunately hard to fix), see
 http://projects.scipy.org/scipy/ticket/1472
 Everything else besides arpack should work fine for you.

 Cheers,
 Ralf





 On Tue, Aug 2, 2011 at 11:28 AM, Ralf Gommers 
 ralf.gomm...@googlemail.com wrote:



 On Tue, Aug 2, 2011 at 6:14 PM, Thomas Markovich 
 thomasmarkov...@gmail.com wrote:

 I just have the default apple version of python that comes with Snow
 Leopard (Python 2.6.1 (r261:67515, Aug  2 2010, 20:10:18)) and python 2.7
 (Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34) ) installed.

 Should I just remove 2.7 and reinstall everything with the standard
 apple python?

 Did you get it from http://stronginference.com/scipy-superpack/? The
 info on the 10.6 installer has disappeared, but the 10.7 one is built
 against Apple's Python. So conflicting Pythons makes sense. Even if you find
 the right one, it may be worth emailing Chris to ask him to put back the
 info for the 10.6 installer.

 Ralf


 On Tue, Aug 2, 2011 at 11:08 AM, Olivier Delalleau sh...@keba.bewrote:

 It's a wild guess, but in the past I've had seg faults issues on Mac
 due to conflicting versions of Python. Do you have multiple Python 
 installs
 on your Mac?

 -=- Olivier


 2011/8/2 Thomas Markovich thomasmarkov...@gmail.com

 Hi All,

 I installed numpy from the scipy superpack on Snow Leopard with python
 2.7 and it all appears to work but when I do the following, I get a
 segmentation fault.

  import numpy
  print numpy.__version__, numpy.__file__
 2.0.0.dev-b5cdaee
 /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy-2.0.0.dev_b5cdaee_20110710-py2.6-macosx-10.6-universal.egg/numpy/__init__.pyc
  numpy.test()
 Running unit tests for numpy
 NumPy version 2.0.0.dev-b5cdaee
 NumPy is installed in
 /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy-2.0.0.dev_b5cdaee_20110710-py2.6-macosx-10.6-universal.egg/numpy
 Python version 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34) [GCC
 4.2.1 (Apple Inc. build 5666) (dot 3)]
 nose version 1.1.2
 Segmentation
 fault
 thomasmarkovich:~ Thomas$

 What is the best way to trouble shoot this? Do you guys have any
 suggestions? I have also included the core dump in this email as a pastie
 link.

 http://pastie.org/2309652

 Best,

 Thomas

 ___
 NumPy-Discussion mailing list
 NumPy-Discussion@scipy.org
 http://mail.scipy.org/mailman/listinfo/numpy-discussion



 ___
 NumPy-Discussion mailing list
 NumPy-Discussion@scipy.org
 http://mail.scipy.org/mailman/listinfo/numpy-discussion



 ___
 NumPy-Discussion mailing list
 NumPy-Discussion@scipy.org
 http://mail.scipy.org/mailman/listinfo/numpy-discussion



 ___
 NumPy-Discussion mailing list
 NumPy-Discussion@scipy.org
 http://mail.scipy.org/mailman/listinfo/numpy-discussion



 ___
 NumPy-Discussion mailing list
 NumPy-Discussion@scipy.org
 http://mail.scipy.org/mailman/listinfo/numpy-discussion



 ___
 NumPy-Discussion mailing list
 NumPy-Discussion@scipy.org
 http://mail.scipy.org/mailman/listinfo/numpy-discussion


___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] Segmentation Fault in Numpy.test()

2011-08-02 Thread Olivier Delalleau
Maybe specify which scipy superpack. Your issue was probably because the
superpack you installed was not meant to be used with Python 2.7.

-=- Olivier

2011/8/2 Thomas Markovich thomasmarkov...@gmail.com

 Oh okay, that's unfortunate but I guess not unexpected. Regardless, thank
 you so much for all your help Ralf, Bruce, and Oliver! You guys are great.

 Just to recap, the issue appears to stem from using the scipy superpack
 with python 2.7 from python.org. This was solved by using the apple python
 along with the scipy superpack.

 Thomas


 On Tue, Aug 2, 2011 at 12:06 PM, Ralf Gommers ralf.gomm...@googlemail.com
  wrote:



 On Tue, Aug 2, 2011 at 6:57 PM, Thomas Markovich 
 thomasmarkov...@gmail.com wrote:

 It appears that uninstalling python 2.7 and installing the scipy
 superpack with the apple standard python removes the segfaulting behavior
 from numpy. Now it appears that just scipy is segfaulting at test
 test_arpack.test_hermitian_modes(True, std-hermitian, 'F', 2, 'SM', None,
 0.5, function aslinearoperator at 0x1043b1848) ... Segmentation fault

 That is a known problem (unfortunately hard to fix), see
 http://projects.scipy.org/scipy/ticket/1472
 Everything else besides arpack should work fine for you.

 Cheers,
 Ralf





 On Tue, Aug 2, 2011 at 11:28 AM, Ralf Gommers 
 ralf.gomm...@googlemail.com wrote:



 On Tue, Aug 2, 2011 at 6:14 PM, Thomas Markovich 
 thomasmarkov...@gmail.com wrote:

 I just have the default apple version of python that comes with Snow
 Leopard (Python 2.6.1 (r261:67515, Aug  2 2010, 20:10:18)) and python 2.7
 (Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34) ) installed.

 Should I just remove 2.7 and reinstall everything with the standard
 apple python?

 Did you get it from http://stronginference.com/scipy-superpack/? The
 info on the 10.6 installer has disappeared, but the 10.7 one is built
 against Apple's Python. So conflicting Pythons makes sense. Even if you 
 find
 the right one, it may be worth emailing Chris to ask him to put back the
 info for the 10.6 installer.

 Ralf


 On Tue, Aug 2, 2011 at 11:08 AM, Olivier Delalleau sh...@keba.bewrote:

 It's a wild guess, but in the past I've had seg faults issues on Mac
 due to conflicting versions of Python. Do you have multiple Python 
 installs
 on your Mac?

 -=- Olivier


 2011/8/2 Thomas Markovich thomasmarkov...@gmail.com

 Hi All,

 I installed numpy from the scipy superpack on Snow Leopard with
 python 2.7 and it all appears to work but when I do the following, I 
 get a
 segmentation fault.

  import numpy
  print numpy.__version__, numpy.__file__
 2.0.0.dev-b5cdaee
 /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy-2.0.0.dev_b5cdaee_20110710-py2.6-macosx-10.6-universal.egg/numpy/__init__.pyc
  numpy.test()
 Running unit tests for numpy
 NumPy version 2.0.0.dev-b5cdaee
 NumPy is installed in
 /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy-2.0.0.dev_b5cdaee_20110710-py2.6-macosx-10.6-universal.egg/numpy
 Python version 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34)
 [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]
 nose version 1.1.2
 Segmentation
 fault
 thomasmarkovich:~ Thomas$

 What is the best way to trouble shoot this? Do you guys have any
 suggestions? I have also included the core dump in this email as a 
 pastie
 link.

 http://pastie.org/2309652

 Best,

 Thomas

 ___
 NumPy-Discussion mailing list
 NumPy-Discussion@scipy.org
 http://mail.scipy.org/mailman/listinfo/numpy-discussion



 ___
 NumPy-Discussion mailing list
 NumPy-Discussion@scipy.org
 http://mail.scipy.org/mailman/listinfo/numpy-discussion



 ___
 NumPy-Discussion mailing list
 NumPy-Discussion@scipy.org
 http://mail.scipy.org/mailman/listinfo/numpy-discussion



 ___
 NumPy-Discussion mailing list
 NumPy-Discussion@scipy.org
 http://mail.scipy.org/mailman/listinfo/numpy-discussion



 ___
 NumPy-Discussion mailing list
 NumPy-Discussion@scipy.org
 http://mail.scipy.org/mailman/listinfo/numpy-discussion



 ___
 NumPy-Discussion mailing list
 NumPy-Discussion@scipy.org
 http://mail.scipy.org/mailman/listinfo/numpy-discussion



 ___
 NumPy-Discussion mailing list
 NumPy-Discussion@scipy.org
 http://mail.scipy.org/mailman/listinfo/numpy-discussion


___
NumPy-Discussion mailing list

Re: [Numpy-discussion] Segmentation Fault in Numpy.test()

2011-08-02 Thread Christopher Barker
On 8/2/11 10:14 AM, Thomas Markovich wrote:

 Just to recap, the issue appears to stem from using the scipy superpack
 with python 2.7 from python.org http://python.org. This was solved by
 using the apple python along with the scipy superpack.

This sure sounds like a bug in the sciy superpack installer -- if it was 
build for the system python2.6, it should not get installed into 2.7.

Unless you did something to force that.

-Chris



-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/ORR(206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115   (206) 526-6317   main reception

chris.bar...@noaa.gov
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion