Skip to content

Electromechanics results diverge in parallel when using GMRES #599

Description

@javijv4

Description

After several time steps, the electromechanical tests (implemented in PR #596) using GMRES for the linear solver show noticeable differences between 3 and 4 cores. The differences are significantly smaller when using CG instead.

4-proc (GMRES)
Image

3-proc (GMRES)
Image

=== GMRES: 3 vs 4 ranks at t=50 (max abs diff) ===

model dVm dTact dCa dDisp
Regazzoni 5.0823e+00 3.1990e-04 1.0133e-04 8.5070e-04
NashPanfilov 5.0823e+00 1.0954e-02 1.0133e-04 3.4885e-02

=== CG: 3 vs 4 ranks at t=50 (max abs diff) ===

model dVm dTact dCa dDisp
Regazzoni 2.4833e-06 1.5796e-11 8.5102e-11 1.8047e-11
NashPanfilov 2.4833e-06 1.5706e-09 8.5102e-11 1.9004e-09

Reproduction

Run tests/cases/electromechanics/slab/solver_Regazzoni.xml or tests/cases/electromechanics/slab/solver_NashPanfilov.xml (in branch https://github.com/samibismar/svMultiPhysics/tree/feature-rdq20-mf, about to be merged) for several timesteps (above results are in timestep 50) using 3 or 4 cores.

Expected behavior

Serial and parallel runs with different cores should match.

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct and Contributing Guidelines

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions