[vtkusers] vtkpython in paralllel
Fabian Braennstroem
f.braennstroem at gmx.de
Mon Sep 6 12:42:32 EDT 2010
Hi,
thanks for the quick reply!
This is a test case from the example-directory; at the beginning of the
script is:
from vtk import *
so I would say, I am missing someting else...!?
Fabian
On 09/06/2010 06:04 PM, Jothy wrote:
> How did you import vtk?
>
> If it's simply like "import vtk"
>
> Then you should call composite manager as vtk.vtkCompositeManager()
>
> Jothy
>
>
>
> On Mon, Sep 6, 2010 at 5:00 PM, Fabian Braennstroem
> <f.braennstroem at gmx.de <mailto:f.braennstroem at gmx.de>> wrote:
>
> Hi,
>
> I just compiled vtk 5.6 with parallel support...
> Unfortunately, I get this error:
>
> ceplx049~/Desktop/VTK/Examples/ParallelProcessing/MPI/Python$
> vtkpython ParallelCone.py
> Traceback (most recent call last):
> File "ParallelCone.py", line 9, in <module>
> compManager = vtkCompositeManager()
> NameError: name 'vtkCompositeManager' is not defined
>
> Do you know, what I am doing wrong or missing!?
> Anyways, I assume, that I will need to run it with the command:
>
> mpirun -np <N> vtkpython ParallelCone.py -parallel
>
> Would be nice, to get some hints!
> Fabian
> _______________________________________________
> Powered by www.kitware.com <http://www.kitware.com>
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
More information about the vtkusers
mailing list