[Paraview] Cannot send vtkMultiPieceDataSet when using Catalyst

谢茂金 xiemaojin at sccas.cn
Fri Dec 13 00:00:05 EST 2013


Hi all,
      When I run the Catalyst example CxxMultiPieceExample with parallel Live Data Visualization, I get errors "Cannot send vtkMultiPieceDataSet" "Socket error in call to send. Broken pipe"  as the figure shown below.
I just modify the SampleScripts/feslicescript.py slightly by changing the paramter of coprocessor.EnableLiveVisualization() from False to True.

[My paraview version 4.0.0, compiled with PARAVIEW_USE_MPI on]

The error occurs when clicking on the Live Data icons in the PipeLine panel, shown in Fig.1 . As I click it, both pvserver and paraview client are crashed, while the simulation code continues except printing the error information once as mentioned before, shown in Fig.2. If I dont force it to quit, the simulation runs well and generates proper coprocessing snapshots in fullgrid_* and slice_* folders.

Fig 1. Both pvserver and paraview crash when click

To make things clear, I insert some printf in the code FEAdaptor.cxx and found that the errors are generated when calling Processor->CoProcess().
For the sake of simplicity, I run the program with only one process in one node. 

mpiexec -np 1 pvserver
paraview #and then connect to localhost:11111 and then connect to catalyst.
mpiexec -np 1 ./FEDriver Sample/feslicescript.py

The code snippets and run time errors.


Fig. 2 Code snippet and run time error


More information are as follows.

Here is why I run this example.
I have an application in which I wanna do a parallel Live Visualization of a volume data, and is quite similar to the Catalyst example named CxxImageDataExample. But I failed to make the sub-images composited correctly by setting the extent and whole extent,  both in the example code [shown in Fig.3] and my application code. It shows the error of "RegionIDs cannot be 0". Thus I think I need a vtkMultiBlockDataSet and vtkMultiPieceDataSet to manage my volume data and its division, it this true?

Would you please take some minutes to do a simple test of these two examples to see is it running correct on your machines?

Many thanks to you!


Fig.  3 Incorrect compisiting of two sub-images (CxxImageDataExample, running in two processes)




Maojin XIE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20131213/cffa03c2/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 15640 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20131213/cffa03c2/attachment-0004.jpeg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 93008 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20131213/cffa03c2/attachment-0005.jpeg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 107392 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20131213/cffa03c2/attachment-0006.jpeg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 104305 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20131213/cffa03c2/attachment-0007.jpeg>


More information about the ParaView mailing list