<div dir="ltr"><div><div><div>Hi,<br><br></div>You'll want to enable VTK_Group_MPI (i.e. -DVTK_Group_MPI:BOOL=ON). Technically the "p" in the pvtu writer really corresponds to piece and not necessarily parallel. The pieces do map well to SIMD parallelism though. <br><br></div>Best,<br></div>Andy<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 6, 2016 at 12:06 PM, John Peterson <span dir="ltr"><<a href="mailto:jwpeterson@gmail.com" target="_blank">jwpeterson@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Tue, Dec 6, 2016 at 9:12 AM, Andy Bauer <span dir="ltr"><<a href="mailto:andy.bauer@kitware.com" target="_blank">andy.bauer@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi John,<br><br></div>The issue is indeed due to changes that I mentioned before (i.e. only data sets that have data get written out and the .pvtu file is adjusted accordingly). With this change though interprocess communication is required which is done the the vtkMultiProcessController::Get<wbr>GlobalController() object which essentially acts as MPI_COMM_WORLD within VTK. You need to create a vtkMPIController which derives from vtkMultiProcessController. See the attached files for how that is done. This should also be backwards compatible but if it isn't, please let us know.<br></div></div></div></div></blockquote><div><br></div></span><div>Thanks for your help.  </div><div><br></div><div>It looks like the VTK I built from source apparently does not have MPI enabled (neither vtkMPIController.h nor libvtkParallelMPI-7.1.dylib is present in my installation) as it was never required for our code prior to VTK-7.1. Since I'm very much of a cmake novice, do you know what flag I would pass to cmake when building VTK to turn this on?  My guess is something like:</div><div><br></div><div>-DModule_vtkParallelMPI:BOOL=<wbr>ON<br></div><div><br></div><div>?</div><span class="HOEnZb"><font color="#888888"><div></div></font></span></div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_-1588479586241721355gmail_signature">John</div>
</font></span></div></div>
</blockquote></div><br></div>