[vtkusers] vtkMultiProcessController - GetNumberOfProcesses is only 1

Armin Wehrfritz dkxls23 at gmail.com
Thu Mar 5 10:32:03 EST 2015


The two options are:
MPIEXEC_MAX_NUMPROCS
VTK_MPI_MAX_NUMPROCS

I also have been baffled by these two options, especially since the 
documentation string says in both cases:
"Maximum number of processors available to run MPI applications."

So, are they both only used by ctest?

-Armin



On 03/05/2015 05:19 PM, David E DeMarle wrote:
>
> On Thu, Mar 5, 2015 at 8:33 AM, redmod79 <michael.j.redmond at gmail.com
> <mailto: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 <tel:518-881-4909>
>
>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>


More information about the vtkusers mailing list