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

dump non parallel matrix #169

Open
guignont opened this issue Nov 15, 2022 · 0 comments
Open

dump non parallel matrix #169

guignont opened this issue Nov 15, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@guignont
Copy link
Contributor

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);
@guignont guignont added the bug Something isn't working label Nov 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant