[Paraview] question about vtkPVMain

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Tue Apr 21 14:51:59 EDT 2009


Yes, there's a reason. The pvpython executable and paraview executable
don't want MPI initialized even if ParaView is compiled with MPI since
these processes shouldn't be run with MPI enabled. You are right,
right now vtkPVMain::InitializeMPI does indeed mean initialize and use
mpi. Maybe adding a new flag UseMPI and changing the meaning of
InitializeMPI to initialize the MPI only if UseMPI is true makes more
sense.

Utkarsh

On Tue, Apr 21, 2009 at 2:41 PM, Andy Bauer <andy.bauer at kitware.com> wrote:
> Is there any reason that someone may want to use vtkPVMain with ParaView
> compiled with MPI that doesn't want it to be initialize MPI if MPI is not
> already initialized?
>
> Right now the InitializeMPI variable is used to both indicate whether or not
> to initialize and finalize MPI as well as to indicate whether or not to use
> MPI.  This is a bit confusing for programs that want to use vtkPVMain but
> want to initialize and finalize MPI elsewhere.
>
> Thanks,
> Andy
>
> _______________________________________________
> 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 ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>


More information about the ParaView mailing list