[Paraview-developers] MAXIMUM_NUMBER_OF_PIECES (was suspicious behaviour ...)

Biddiscombe, John A. biddisco at cscs.ch
Fri Sep 9 11:26:39 EDT 2011


I find that if I do not use my Custom Extent Translator, then volume rendering works as expected (though of course the all data generation is wrong and imagesare  garbled). As soon as I put in a specialized extent translator, then the code hangs as below.

Does anyone know where in the volume rendering pipeline, I might look for a potential fix for this.
It seems as though the BSPCuts generator in the ordered compositor triggers updates in N-1 processes, but waits in the other.
It's not clear to me why this should be, but I'd like to track down the problem.

Any info gratefully received.

thanks

JB

From: paraview-developers-bounces at paraview.org [mailto:paraview-developers-bounces at paraview.org] On Behalf Of Biddiscombe, John A.
Sent: 08 September 2011 18:31
To: Julien Finet
Cc: paraview-developers at paraview.org
Subject: Re: [Paraview-developers] MAXIMUM_NUMBER_OF_PIECES (was suspicious behaviour ...)

I put back some calls to
  //
  // Pass the piece request through
  //
  inInfo->Set(vtkStreamingDemandDrivenPipeline::UPDATE_PIECE_NUMBER(), piece);
  inInfo->Set(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_PIECES(), numPieces);
in the image sampler, and now it doesn't trigger a reexecute. However using the pipeline

reader->ParticlePartition->        -> SPHProbe
                         ->sampler ->
If I now change to VolumeRender, it locks up. It used to do this before, but not every time. However, this time it was immediate.
I suspect this is unrelated, but might be somehow caused by the pieces getting mixed up. Does anyone see anything that can help?

Process 0,2,3 (I think those are the correct Ids) are here
>                      vtkParallel.dll!vtkMPICommunicator::ReceiveDataInternal(char * data=0x0000000000a1c2d8, int length=2, int sizeoftype=4, int remoteProcessId=0, int tag=22342, vtkMPICommunicatorReceiveDataInfo * info=0x0000000000a1c1b8, int useCopy=0, int & senderId=3)  Line 269 + 0x4f bytes             C++
                       vtkPVClientServerCore.dll!vtkPVMPICommunicator::ReceiveDataInternal(char * data=0x0000000000a1c2d8, int length=2, int sizeoftype=4, int remoteProcessId=0, int tag=22342, vtkMPICommunicatorReceiveDataInfo * info=0x0000000000a1c1b8, int useCopy=0, int & senderId=3)  Line 53 + 0x61 bytes                        C++
                       vtkParallel.dll!vtkMPICommunicator::ReceiveVoidArray(void * data=0x0000000000a1c2d8, __int64 maxlength=2, int type=6, int remoteProcessId=0, int tag=22342)  Line 863 + 0x7d bytes          C++
                       vtkParallel.dll!vtkCommunicator::Receive(int * data=0x0000000000a1c2d8, __int64 maxlength=2, int remoteHandle=0, int tag=22342)  Line 204                        C++
                       vtkParallel.dll!vtkCommunicator::ReceiveDataObject(vtkDataObject * data=0x000000000c393d40, int remoteHandle=0, int tag=22342, int dataType=-1)  Line 418                    C++
                       vtkParallel.dll!vtkCommunicator::Receive(vtkDataObject * data=0x000000000c393d40, int remoteHandle=0, int tag=22342)  Line 358                       C++
                       vtkParallel.dll!vtkMultiProcessController::Receive(vtkDataObject * data=0x000000000c393d40, int remoteProcessId=0, int tag=22342)  Line 1179 + 0x1d bytes                       C++
                       vtkParallel.dll!vtkTransmitUnstructuredGridPiece::SatelliteExecute(int __formal=1, vtkUnstructuredGrid * output=0x0000000007ca78f0, vtkInformation * outInfo=0x00000000082e2250)  Line 236        C++
                       vtkParallel.dll!vtkTransmitUnstructuredGridPiece::RequestData(vtkInformation * __formal=0x00000000082e51d0, vtkInformationVector * * inputVector=0x0000000008247090, vtkInformationVector * outputVector=0x00000000082e0fd0)  Line 144             C++
                       vtkFiltering.dll!vtkUnstructuredGridAlgorithm::ProcessRequest(vtkInformation * request=0x00000000082e51d0, vtkInformationVector * * inputVector=0x0000000008247090, vtkInformationVector * outputVector=0x00000000082e0fd0)  Line 84 + 0x22 bytes          C++
                       vtkFiltering.dll!vtkExecutive::CallAlgorithm(vtkInformation * request=0x00000000082e51d0, int direction=1, vtkInformationVector * * inInfo=0x0000000008247090, vtkInformationVector * outInfo=0x00000000082e0fd0)  Line 747 + 0x39 bytes            C++
                       vtkFiltering.dll!vtkDemandDrivenPipeline::ExecuteData(vtkInformation * request=0x00000000082e51d0, vtkInformationVector * * inInfo=0x0000000008247090, vtkInformationVector * outInfo=0x00000000082e0fd0)  Line 531 + 0x2e bytes            C++
                       vtkFiltering.dll!vtkCompositeDataPipeline::ExecuteData(vtkInformation * request=0x00000000082e51d0, vtkInformationVector * * inInfoVec=0x0000000008247090, vtkInformationVector * outInfoVec=0x00000000082e0fd0)  Line 385 + 0x25 bytes                   C++
                       vtkFiltering.dll!vtkDemandDrivenPipeline::ProcessRequest(vtkInformation * request=0x00000000082e51d0, vtkInformationVector * * inInfoVec=0x0000000008247090, vtkInformationVector * outInfoVec=0x00000000082e0fd0)  Line 303 + 0x22 bytes                   C++
                       vtkFiltering.dll!vtkStreamingDemandDrivenPipeline::ProcessRequest(vtkInformation * request=0x00000000082e51d0, vtkInformationVector * * inInfoVec=0x0000000008247090, vtkInformationVector * outInfoVec=0x00000000082e0fd0)  Line 301 + 0x25 bytes                   C++
                       vtkFiltering.dll!vtkCompositeDataPipeline::ProcessRequest(vtkInformation * request=0x00000000082e51d0, vtkInformationVector * * inInfoVec=0x0000000008247090, vtkInformationVector * outInfoVec=0x00000000082e0fd0)  Line 287 C++
                       vtkFiltering.dll!vtkCompositeDataPipeline::ForwardUpstream(vtkInformation * request=0x00000000082e51d0)  Line 211 + 0x44 bytes                      C++
                       vtkFiltering.dll!vtkDemandDrivenPipeline::ProcessRequest(vtkInformation * request=0x00000000082e51d0, vtkInformationVector * * inInfoVec=0x0000000008246fa0, vtkInformationVector * outInfoVec=0x00000000082e1b50)  Line 289 + 0x18 bytes                   C++
                       vtkFiltering.dll!vtkStreamingDemandDrivenPipeline::ProcessRequest(vtkInformation * request=0x00000000082e51d0, vtkInformationVector * * inInfoVec=0x0000000008246fa0, vtkInformationVector * outInfoVec=0x00000000082e1b50)  Line 301 + 0x25 bytes                   C++
                       vtkFiltering.dll!vtkCompositeDataPipeline::ProcessRequest(vtkInformation * request=0x00000000082e51d0, vtkInformationVector * * inInfoVec=0x0000000008246fa0, vtkInformationVector * outInfoVec=0x00000000082e1b50)  Line 287 C++
                       vtkFiltering.dll!vtkCompositeDataPipeline::ForwardUpstream(vtkInformation * request=0x00000000082e51d0)  Line 211 + 0x44 bytes                      C++
                       vtkFiltering.dll!vtkDemandDrivenPipeline::ProcessRequest(vtkInformation * request=0x00000000082e51d0, vtkInformationVector * * inInfoVec=0x000000000c1f5280, vtkInformationVector * outInfoVec=0x000000000c266660)  Line 289 + 0x18 bytes                    C++
                       vtkFiltering.dll!vtkStreamingDemandDrivenPipeline::ProcessRequest(vtkInformation * request=0x00000000082e51d0, vtkInformationVector * * inInfoVec=0x000000000c1f5280, vtkInformationVector * outInfoVec=0x000000000c266660)  Line 301 + 0x25 bytes                    C++
                       vtkFiltering.dll!vtkCompositeDataPipeline::ProcessRequest(vtkInformation * request=0x00000000082e51d0, vtkInformationVector * * inInfoVec=0x000000000c1f5280, vtkInformationVector * outInfoVec=0x000000000c266660)  Line 287  C++
                       vtkFiltering.dll!vtkCompositeDataPipeline::ForwardUpstream(vtkInformation * request=0x00000000082e51d0)  Line 211 + 0x44 bytes                      C++
                       vtkFiltering.dll!vtkDemandDrivenPipeline::ProcessRequest(vtkInformation * request=0x00000000082e51d0, vtkInformationVector * * inInfoVec=0x000000000c1f5a00, vtkInformationVector * outInfoVec=0x000000000c2679e0)  Line 289 + 0x18 bytes                    C++
                       vtkFiltering.dll!vtkStreamingDemandDrivenPipeline::ProcessRequest(vtkInformation * request=0x00000000082e51d0, vtkInformationVector * * inInfoVec=0x000000000c1f5a00, vtkInformationVector * outInfoVec=0x000000000c2679e0)  Line 301 + 0x25 bytes                    C++
                       vtkFiltering.dll!vtkCompositeDataPipeline::ProcessRequest(vtkInformation * request=0x00000000082e51d0, vtkInformationVector * * inInfoVec=0x000000000c1f5a00, vtkInformationVector * outInfoVec=0x000000000c2679e0)  Line 287  C++
                       vtkFiltering.dll!vtkCompositeDataPipeline::ForwardUpstream(vtkInformation * request=0x00000000082e51d0)  Line 211 + 0x44 bytes                      C++
                       vtkFiltering.dll!vtkDemandDrivenPipeline::ProcessRequest(vtkInformation * request=0x00000000082e51d0, vtkInformationVector * * inInfoVec=0x0000000011a618e0, vtkInformationVector * outInfoVec=0x000000000ce05b00)  Line 289 + 0x18 bytes                  C++
                       vtkFiltering.dll!vtkStreamingDemandDrivenPipeline::ProcessRequest(vtkInformation * request=0x00000000082e51d0, vtkInformationVector * * inInfoVec=0x0000000011a618e0, vtkInformationVector * outInfoVec=0x000000000ce05b00)  Line 301 + 0x25 bytes                  C++
                       vtkFiltering.dll!vtkCompositeDataPipeline::ProcessRequest(vtkInformation * request=0x00000000082e51d0, vtkInformationVector * * inInfoVec=0x0000000011a618e0, vtkInformationVector * outInfoVec=0x000000000ce05b00)  Line 287                        C++
                       vtkFiltering.dll!vtkCompositeDataPipeline::ForwardUpstream(vtkInformation * request=0x00000000082e51d0)  Line 211 + 0x44 bytes                      C++
                       vtkFiltering.dll!vtkDemandDrivenPipeline::ProcessRequest(vtkInformation * request=0x00000000082e51d0, vtkInformationVector * * inInfoVec=0x0000000011a67060, vtkInformationVector * outInfoVec=0x000000000ce02200)  Line 289 + 0x18 bytes                  C++
                       vtkFiltering.dll!vtkStreamingDemandDrivenPipeline::ProcessRequest(vtkInformation * request=0x00000000082e51d0, vtkInformationVector * * inInfoVec=0x0000000011a67060, vtkInformationVector * outInfoVec=0x000000000ce02200)  Line 301 + 0x25 bytes                  C++
                       vtkFiltering.dll!vtkCompositeDataPipeline::ProcessRequest(vtkInformation * request=0x00000000082e51d0, vtkInformationVector * * inInfoVec=0x0000000011a67060, vtkInformationVector * outInfoVec=0x000000000ce02200)  Line 287                        C++
                       vtkFiltering.dll!vtkCompositeDataPipeline::ForwardUpstream(vtkInformation * request=0x00000000082e51d0)  Line 211 + 0x44 bytes                      C++
                       vtkFiltering.dll!vtkDemandDrivenPipeline::ProcessRequest(vtkInformation * request=0x00000000082e51d0, vtkInformationVector * * inInfoVec=0x0000000008242090, vtkInformationVector * outInfoVec=0x00000000082c7ed0)  Line 289 + 0x18 bytes                  C++
                       vtkFiltering.dll!vtkStreamingDemandDrivenPipeline::ProcessRequest(vtkInformation * request=0x00000000082e51d0, vtkInformationVector * * inInfoVec=0x0000000008242090, vtkInformationVector * outInfoVec=0x00000000082c7ed0)  Line 301 + 0x25 bytes                  C++
                       vtkFiltering.dll!vtkCompositeDataPipeline::ProcessRequest(vtkInformation * request=0x00000000082e51d0, vtkInformationVector * * inInfoVec=0x0000000008242090, vtkInformationVector * outInfoVec=0x00000000082c7ed0)  Line 287                        C++
                       vtkFiltering.dll!vtkDemandDrivenPipeline::UpdateData(int outputPort=0)  Line 474                      C++
                       vtkFiltering.dll!vtkStreamingDemandDrivenPipeline::Update(int port=0)  Line 351 + 0x1e bytes                    C++
                       vtkFiltering.dll!vtkExecutive::Update()  Line 315 + 0x15 bytes   C++
                       vtkFiltering.dll!vtkDemandDrivenPipeline::Update()  Line 337                         C++
                       vtkFiltering.dll!vtkStreamingDemandDrivenPipeline::Update()  Line 332                         C++
                       vtkFiltering.dll!vtkAlgorithm::Update()  Line 1287      C++
                       vtkPVClientServerCore.dll!vtkPVRenderView::Render(bool interactive=false, bool skip_rendering=false)  Line 732                         C++
                       vtkPVClientServerCore.dll!vtkPVRenderView::StillRender()  Line 631          C++
Process 1 is here
>              vtkPVClientServerCore.dll!vtkPVMPICommunicator::ReceiveDataInternal(char * data=0x000000000f4f7360, int length=1, int sizeoftype=4, int remoteProcessId=1, int tag=4096, vtkMPICommunicatorReceiveDataInfo * info=0x0000000000a6c318, int useCopy=0, int & senderId=2)  Line 86 + 0x28 bytes        C++
               vtkParallel.dll!vtkMPICommunicator::ReceiveVoidArray(void * data=0x000000000f4f7360, __int64 maxlength=1, int type=6, int remoteProcessId=1, int tag=4096)  Line 863 + 0x7d bytes      C++
               vtkParallel.dll!vtkCommunicator::Receive(int * data=0x000000000f4f7360, __int64 maxlength=1, int remoteHandle=1, int tag=4096)  Line 204                C++
               vtkParallel.dll!vtkSubGroup::ReduceSum(int * data=0x0000000000a6c4a4, int * to=0x0000000000a6c4c4, int size=1, int root=0)  Line 325 + 0x20b bytes        C++
               vtkParallel.dll!vtkPKdTree::BuildLocator()  Line 402             C++
               vtkPVVTKExtensions.dll!vtkKdTreeManager::Update()  Line 174         C++
               vtkPVVTKExtensions.dll!vtkBSPCutsGenerator::RequestData(vtkInformation * __formal=0x00000000092fe530, vtkInformationVector * * inputVector=0x00000000086a3930, vtkInformationVector * outputVector=0x0000000007f2b680)  Line 100     C++
               vtkFiltering.dll!vtkDataObjectAlgorithm::ProcessRequest(vtkInformation * request=0x00000000092fe530, vtkInformationVector * * inputVector=0x00000000086a3930, vtkInformationVector * outputVector=0x0000000007f2b680)  Line 89 + 0x22 bytes  C++
               vtkFiltering.dll!vtkExecutive::CallAlgorithm(vtkInformation * request=0x00000000092fe530, int direction=1, vtkInformationVector * * inInfo=0x00000000086a3930, vtkInformationVector * outInfo=0x0000000007f2b680)  Line 747 + 0x39 bytes C++
               vtkFiltering.dll!vtkDemandDrivenPipeline::ExecuteData(vtkInformation * request=0x00000000092fe530, vtkInformationVector * * inInfo=0x00000000086a3930, vtkInformationVector * outInfo=0x0000000007f2b680)  Line 531 + 0x2e bytes C++
               vtkFiltering.dll!vtkCompositeDataPipeline::ExecuteData(vtkInformation * request=0x00000000092fe530, vtkInformationVector * * inInfoVec=0x00000000086a3930, vtkInformationVector * outInfoVec=0x0000000007f2b680)  Line 385 + 0x25 bytes      C++
               vtkFiltering.dll!vtkDemandDrivenPipeline::ProcessRequest(vtkInformation * request=0x00000000092fe530, vtkInformationVector * * inInfoVec=0x00000000086a3930, vtkInformationVector * outInfoVec=0x0000000007f2b680)  Line 303 + 0x22 bytes      C++
               vtkFiltering.dll!vtkStreamingDemandDrivenPipeline::ProcessRequest(vtkInformation * request=0x00000000092fe530, vtkInformationVector * * inInfoVec=0x00000000086a3930, vtkInformationVector * outInfoVec=0x0000000007f2b680)  Line 301 + 0x25 bytes      C++
               vtkFiltering.dll!vtkCompositeDataPipeline::ProcessRequest(vtkInformation * request=0x00000000092fe530, vtkInformationVector * * inInfoVec=0x00000000086a3930, vtkInformationVector * outInfoVec=0x0000000007f2b680)  Line 287           C++
               vtkFiltering.dll!vtkDemandDrivenPipeline::UpdateData(int outputPort=0)  Line 474             C++
               vtkFiltering.dll!vtkStreamingDemandDrivenPipeline::Update(int port=0)  Line 351 + 0x1e bytes           C++
               vtkFiltering.dll!vtkExecutive::Update()  Line 315 + 0x15 bytes              C++
               vtkFiltering.dll!vtkDemandDrivenPipeline::Update()  Line 337               C++
               vtkFiltering.dll!vtkStreamingDemandDrivenPipeline::Update()  Line 332               C++
               vtkFiltering.dll!vtkAlgorithm::Update()  Line 1287 C++
               vtkPVClientServerCore.dll!vtkPVRenderView::Render(bool interactive=false, bool skip_rendering=false)  Line 732                C++
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20110909/2393a211/attachment-0001.htm>


More information about the Paraview-developers mailing list