[Paraview-developers] MultiBlockDataSet rendering error with parallel Paraview
Prashant V
prashant.v at quest-global.com
Wed Aug 5 12:17:33 EDT 2015
Hi,
I am relatively new to paraview and developing a co-processing framework for a client.
I am facing problem when running paraview in parallel mode.
I have developed a paraview source plugin which collects data from each iteration of solver simulation and renders in paraview.
When simulation is run in parallel mode with n processes, source plugin collects n multiBlockDataSets.
If paraview is also running in parallel mode with n processes, source plugin code assigns one multiblock to each paraview process.
However rendering fails in this scenario with error message:
'vtkMultiBlockDataSet (0x1860afe0): Structure does not match. You must use CopyStructure before calling this method'
While exploring this error, some old paraview e-mails suggested to apply d3 filter to each dataset.
I applied d3 filter to each multiblock as below:
VTK_CREATE(vtkDistributedDataFilter, d3);
d3->AddInputData(multiblock);
d3->UpdateInformation();
exec = static_cast<vtkStreamingDemandDrivenPipeline*>(d3->GetExecutive());
exec->SetUpdateExtent(exec->GetOutputInformation(), piece, numPieces, 1); // 1 -> ghostlevel
d3->Update();
newMultiBlock->ShallowCopy(d3->GetOutput());
However this leads to new set of errors:
vtkPKdTree (0xea7b440): (process 0) VolumeBounds - degenerate volume
vtkDistributedDataFilter (0xe7b6480): Unable to build k-d tree structure
vtkDistributedDataFilter (0xe7b6480): vtkDistributedDataFilter::Execute k-d tree failure
Can anyone advice here what could be going wrong? MultiBlockDataSets render perfectly with sequential run of paraview.
Thanks,
Prashant
---Disclaimer------------------------------ This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Opinions, conclusions and other information in this transmission that do not relate to the official business of QuEST Global and/or its subsidiaries, shall be understood as neither given nor endorsed by it. Any statements made herein that are tantamount to contractual obligations, promises, claims or commitments shall not be binding on the Company unless followed by written confirmation by an authorized signatory of the Company. -----------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20150805/542ee833/attachment.html>
More information about the Paraview-developers
mailing list