Skip to content
This repository was archived by the owner on Jun 13, 2024. It is now read-only.
This repository was archived by the owner on Jun 13, 2024. It is now read-only.

dump non parallel matrix #169

@guignont

Description

@guignont

When dumping a non parallel matrix the code exit with a petsc error:
*I-Internal Converting DoKMatrix: 0x784e50 to SimpleCSRMatrix: 0x7887b0
*I-Internal Converting SimpleCSRMatrix: 0x7887b0 to PETScMatrix 0x785be0
*I-Internal Matrix range : [0:99]
[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------
[0]PETSC ERROR: Argument out of range
[0]PETSC ERROR: Comm must be of size 1

It can be reproduced with (in RedistributorAlgebraTestFramework)

Alien::RedistributedMatrix Aa(A, redist);
if(Environment::parallelMng()->commRank() == 0)
    dump(Aa);

Metadata

Metadata

Assignees

No one assigned

    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