[vtkusers] vtkMPI SetNumberOfProcesses

Dominik Szczerba dominik at itis.ethz.ch
Tue Jun 21 05:36:17 EDT 2011


Do you start your app with something like "mpiexec -np 4 ...."?

Dominik

On Mon, Jun 20, 2011 at 7:46 PM, Reicht, Ignaz
<i.reicht at dkfz-heidelberg.de> wrote:
> Dear vtkusers,
>
> Somehow I can not set the number of processes in VTK. In cmake config VTK_USE_MPI is enabled and both, MPIEXEC_MAX_NUMPROCS and VTK_MPI_MAX_NUMPROCS are set to value 2. (also tried to set this value to 8, but no change in behavour).
>
> When calling GetNumberOfProcesses() of vtkMPIController the returned value is 1.
> I am using XCode on an iMac Core-i7 (4 physical + 4 virtual threads). Also in XCode option "support openMP" is enabled. I just want to use it on my local machine, not distributed on different computers.
>
> Can someone tell me how to set this up right to use multiple processes in vtk?
> thanks
> iggy
>
>
> _______________________________________________
> Powered by 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