[vtkusers] contour filter not allocating float array

Dave Semeraro semeraro at ncsa.illinois.edu
Thu Apr 22 14:52:21 EDT 2010


Hello,

I am running a 32 bit version of vtk on a power5 system. My application finds an isosurface in a 256^3 scalar field. It produces 5489747 cells when I run it on my Intel box. It fails with the following error on the IBM system: 

ERROR: In /u/home/ac/semeraro/Projects/VTK/Common/vtkDataArrayTemplate.txx, line 358
vtkFloatArray (2283a608): Unable to allocate 12582957 elements of size 4 bytes.


I have 16 gig of ram on the ibm system and 6 gig on the intel system. Does 5 million or so cells exceed the memory capacity of the 32 bit version? 

Also, when  I try to compile vtk for 64 bit objects on the ibm I get an error related to the ar command. How do I pass args to ar via cmake? 

Thanks, 

dave semeraro



More information about the vtkusers mailing list