Wasim,
you are asking the people on this mailing list to help you with questions for
which (i) you have not put in enough work yourself, and (ii) you are not
providing enough information.
As for the latter point, nobody here can say for sure whether the problem is
in the code you show, or elsewhere -- the segmentation fault might as well be
happening anywhere in your code, but you neither show the complete code, nor
have you assessed in detail where the fault actually happens.
As for the former point, you need to learn to use the tools that are well
described both on the internet at large (including the deal.II documentation
and my video lectures) as well as in many posts on this forum. In your
specific case, the approach needs to be (i) to see whether running the code on
one process (instead of multiple MPI processes) works, and (ii) to run your
program under a debugger to see where exactly the problem happens. Knowing
where it happens if the first step in figuring out why it happens.
Best
WB
On 4/30/23 12:44, Wasim Niyaz Munshi ce21d400 wrote:
> *** Caution: EXTERNAL Sender ***
> --
> The deal.II project is located at
http://www.dealii.org/
> <
http://www.dealii.org/>
> For mailing list/forum options, see
>
https://groups.google.com/d/forum/dealii?hl=en
> <
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+un...@googlegroups.com
> <mailto:
dealii+un...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/dealii/3b8125ee-119c-4727-a64d-236f2cecb75dn%40googlegroups.com <
https://groups.google.com/d/msgid/dealii/3b8125ee-119c-4727-a64d-236f2cecb75dn%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
------------------------------------------------------------------------
Wolfgang Bangerth email:
bang...@colostate.edu
www:
http://www.math.colostate.edu/~bangerth/