[vtkusers] vtkMultiProcessController - GetNumberOfProcesses is only 1
David E DeMarle
dave.demarle at kitware.com
Thu Mar 5 10:19:21 EST 2015
On Thu, Mar 5, 2015 at 8:33 AM, redmod79 <michael.j.redmond at gmail.com>
wrote:
> MPIEXEC_MAX_NUMPROCS
This flag specifies the number of processors that ctest is allowed to use
in regression tests. I am guessing the other flag is MPIEXEC_NUMPROC_FLAG.
That is the string that ctest uses to tell mpi how many processors to use.
It is "-np" in many mpi implementations. Neither affect anything other than
the regression tests.
I suspect you are just forgetting to run pvtkpython under mpi.
For example:
bin/pvtkpython
/Source/VTK/devel/VTK/Examples/ParallelProcessing/MPI/Python/ParallelCone.py
numProcs is 1
mpiexec -n 2 bin/pvtkpython
/Source/VTK/devel/VTK/Examples/ParallelProcessing/MPI/Python/ParallelCone.py
numProcs is 2
mpiexec -n 16 bin/pvtkpython
/Source/VTK/devel/VTK/Examples/ParallelProcessing/MPI/Python/ParallelCone.py
numProcs is 16
David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150305/74a9c96b/attachment.html>
More information about the vtkusers
mailing list