[vtkusers] MPI examples...

Berk Geveci berklist at nycap.rr.com
Tue Dec 17 10:50:40 EST 2002


Did you turn VTK_USE_MPI on and set the MPI include directories
and library in the CMake configuration ? If MPI is enabled,
vtkMultiProcessController::New() returns a vtkMPIController
otherwise it returns a vtkThreadedController.

-Berk

On Tue, 2002-12-17 at 09:18, Wong WJ wrote:
> Hi,
> I'm trying out the taskparallelism examples that comes with VTK. But facing 
> a few problem. Please help.....
> 
> This is my system configuration:
> 
> winXP
> VC++ 6 for compiling
> mpich for NT to have 2 pc connected together.
> 
> 1) For vtkMultiProcessController declared in the examples, do I have to 
> change it to vtkMPIController if I wanna use MPI??
> 
> eg   vtkMultiProcessController* controller = 
> vtkMultiProcessController::New();
> to  vtkMPIController* controller = vtkMPIController::New();
> 
> And when I change it to vtkMPIController I got this error during compiling
> 
> Compiling...
> TaskParallelism.cxx
> Linking...
> TaskParallelism.obj : error LNK2001: unresolved external symbol 
> "__declspec(dllimport) public: static class vtkMPIController * __cdecl 
> vtkMPIController::New(void)" (__imp_?New at vtkMPIController@@SAPAV1 at XZ)
> RelWithDebInfo/TaskParallelism.exe : fatal error LNK1120: 1 unresolved 
> externals
> Error executing link.exe.
> 
> 
> What I interested in, is parallizing the rendering process so that the time 
> taken to render a image is faster. So I looking into incorporating MPI into 
> it.
> What are the things I need to look into?
> Is there any suggestion or examples I can look into??
> 
> Tks all help is greatly needed.........
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> _________________________________________________________________
> STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
> http://join.msn.com/?page=features/junkmail
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers





More information about the vtkusers mailing list