[vtk-developers] Sgi and Python fun

Charl P. Botha c.p.botha at its.tudelft.nl
Fri Sep 13 04:43:22 EDT 2002


Hoi Andy,

On Thu, Sep 12, 2002 at 04:03:36PM -0400, Andy Cedilnik wrote:
> This is actually more of a bug report for Python, but here we go, if you
> have Python 2.1.3 build on Sgi, try dividing 1.0 with 10:
> 
> >>> 1.0 / 10
> 
> Looks like Sgi's optimizer is being too good at optimizing and does not
> know how to handle this. In any case, if you are using VTK/Pyhon on Sgi
> and are getting strange runtime crashes, this might be a problem.

My office-mate tried this on his Octane, but all seems to be fine:

[dutida:22:52:~] python
Python 2.1.3 (#1, Aug 28 2002, 14:53:14) [C] on irix646
Type "copyright", "credits" or "license" for more information.
>>> 1.0/10
0.10000000000000001
>>>

What was supposed to happen?  His Python is built with the MIPSPro C
compiler with -O2.

-- 
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/



More information about the vtk-developers mailing list