[SciPy-user] amd64 specific error in fitpack spline interpolation
agn at noc.soton.ac.uk
Wed Aug 30 06:22:04 CDT 2006
On 30 Aug 2006, at 11:00, Angus McMorland wrote:
> Hi all,
> I posted about this problem a few months ago, but we didn't get very
> far, but the annoyance level of the problem is enough now for me to
> another go.
> I'm trying to run the spline example from the cookbook (my exact code,
> called spl.py, is inlined below). On an ix86 computer this works fine,
> and returns the expected graphs, but on an amd64 machine I get the
> below. Both computers are running debian etch, with recent svn
> numpy and
> TypeError: array cannot be safely cast to required type
> --> 217 nest,wrk,iwrk,per)
> 218 _parcur_cache['u']=o['u']
> I believe the error is generated by the _parcur call -> once in pdb,
> calling it again re-raises the same error.
Same problem on our Opterons.
numpy v 2631
scipy v 1614
built & linked to acml
nohow@/noc/users/agn/python> python amdtest.py
Traceback (most recent call last):
File "amdtest.py", line 23, in ?
tckp,u = splprep([x,y,z],s=s,k=k,nest=-1)
scipy/interpolate/fitpack.py", line 217, in splprep
TypeError: array cannot be safely cast to required type
More information about the SciPy-user