On 6/11/21 12:09 AM, vachan potluri wrote:

I am having an issue in using DataOut for such vector in a parallel process. I am attaching a MWE which captures my problem. I am encountering a segmentation fault (signal 11).

The problem is a mismatch of expectations. Like in many other places, when you pass a cell-based vector to DataOut, it assumes that on every process, the vector has one entry for each active cell of the triangulation -- i.e., on every process it is a *local* vector -- rather than a distributed vector with one entry for each globally active cell. In other words, for cell-based vectors, we ignore the fact that the computation might be parallel.

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bange...@colostate.edu
                           www: http://www.math.colostate.edu/~bangerth/

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/88da546c-259d-aac8-89cf-598e7c1f6b33%40colostate.edu.

Reply via email to