I wrote a plugin to read in structured grid HDF5 fiels but I am having problems with running the plugin in parallel. The grid isn't loaded/visualized correctly when running the plugin in parallel. The grid is open at the end of the axis, where the extent
is divided. It appears that ParaView doesn't know,when running in parallel, that the grid is finished there.
The data is loaded correctly into the "false" grid. I get no error and it looks fine except for the grid part that is missing.
If i run the plugin in serial everything is fine.
The plugin inherits from vtkMultiBlockDataSet and looks like this:
//read the extent from the grid and store it in extent
For example the dimension is 151x122x50, and i run it with 2 MPI processes then i get the following outputs for the grid:
The extent from CPU0 is: 0-75, 0-122, 0-50 and the corresponding size is 76, 123, 51
The extent from CPU1 is 75-150, 0-122,0-50 and the corresponding size is 76, 123, 51
The data is divided correctly and the output looks fine, doesn't it?
What am i doing wrong?
Thanks in advance,
Chair of Fluid Mechanics and Institute of Aerodynamics Aachen
Powered by www.kitware.com