[SciPy-user] lpmn - python crash with AMD processor
Sun Jan 6 11:15:45 CST 2008
> On Sun, 6 Jan 2008 17:17:16 +0100 (CET)
> firstname.lastname@example.org wrote:
> > Hi all,
> > I have got a strange problem using lpmn from
> >scipy.special under Win XP
> > (32bit).
> > Everything works fine as long as I am on a machine with
> >Intel (pentium,
> > centrino) processor. On an AMD based machine the
> >function lpmn crashes
> > if either the first or second argument is <>0.
> >>>> >>> from scipy import special
> >>>> >>> special.lpmn(0,0,0.1)
> > (array([[ 1.]]), array([[ 0.]]))
> >>>> >>> special.lpmn(0,1,0.1)
> > (PYTHON CRASH)
> > The actual crash seems to happen inside the compiled
> >module specfun.pyd.
> > Does anyone have an idea how to deal with this?
> > Many thanks in advance,
> > Ennes
> > _______________________________________________
> > SciPy-user mailing list
> > SciPyemail@example.com
> > http://projects.scipy.org/mailman/listinfo/scipy-user
> I cannot reproduce your problem here (AMD processor).
> >>> from scipy import special
> >>> special.lpmn(0,1,0.1)
> (array([[ 1. , 0.1]]), array([[ 0., 1.]]))
> >>> special.lpmn(0,0,0.1)
> (array([[ 1.]]), array([[ 0.]]))
> >>> import scipy
> >>> scipy.__version__
> >>> import os, sys
> >>> os.system("uname -a")
> Linux noname 18.104.22.168-0.7-default #1 SMP Tue Oct 2
> 17:21:08 UTC 2007 x86_64 x86_64 x86_64 GNU/Linux
I tried on eight different machines with different scipy versions <=
0.6.0, all under WinXP SP 2 (32 bit). Two had Intel processors ->
everything fine. Six had AMDs (Athlon, Duron) -> segmentation fault.
>From your post it seems that it works fine under Linux. Unfortunately
Linux is no option for me (at least in this case).
More information about the SciPy-user