← Back to team overview

dolfin team mailing list archive

still having trouble with VTK, I think

 

ok, so I have re-installed everything correctly, I think. Everything seems to work, except for the following. When I try to run the stokes demo, I get some viper related error:

=======================================================
walker@box227 ~/FENICS/dolfin/demo/pde/stokes/taylor-hood/cpp
$ ./demo
Solving linear variational problem
  Matrix of size 25140 x 25140 has 730140 nonzero entries.
  Applying boundary conditions to linear system.
  Applying boundary conditions to linear system.
  Applying boundary conditions to linear system.
  Solving linear system of size 25140 x 25140 (PETSc LU solver, petsc).
Plotting v (unnamed function), press 'q' to continue...
Read data
End Read data
Plot active, press 'q' to continue.
Plotting v (unnamed function), press 'q' to continue...
Read data
End Read data
ERROR: In /home/walker/src/VTK/Common/vtkDataArrayTemplate.txx, line 359
vtkIdTypeArray (0x1f8dd880): Unable to allocate 326417515851 elements of size 8 bytes.

[box227:06930] *** Process received signal ***
[box227:06930] Signal: Aborted (6)
[box227:06930] Signal code:  (-6)
[box227:06930] [ 0] /lib64/libpthread.so.0 [0x384aa0e4c0]
...........
====================================================================

There are more error messages, but they are not helpful. When it plots `v' the first time, it is ok. When it tried to plot a second time, then this over allocation error happens. I don't understand why it is trying to allocate 3.2 x 10^11 elements. I did not change the demo.

- Shawn