On 6/12/23 03:59, Abbas Ballout wrote:

But after activating distort_random the output with MPI 1 is:
Running with PETSc on 1 MPI rank(s)...
Cycle 0:
    Number of active cells:       64
    Number of degrees of freedom: 289
    Solved in 8 iterations.
Sigma_flux -0.993997

but with MPI 4 the output is:
Running with PETSc on 4 MPI rank(s)...
Cycle 0:
    Number of active cells:       64
    Number of degrees of freedom: 289
    Solved in 9 iterations.
Sigma_flux-0.994323

Abbas,
I suspect that when you call distort_random(), the mesh is different whether you run on one or four processes. Have you confirmed that the meshes are exactly identical?

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/ef7be4c4-f9df-ab16-dfdf-9d046300e753%40colostate.edu.

Reply via email to