Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ifpack2: column map of OverlappingRowMatrix is not complete #7017

Closed
jhux2 opened this issue Mar 14, 2020 · 5 comments
Closed

Ifpack2: column map of OverlappingRowMatrix is not complete #7017

jhux2 opened this issue Mar 14, 2020 · 5 comments
Assignees
Labels
CLOSED_DUE_TO_INACTIVITY Issue or PR has been closed by the GitHub Actions bot due to inactivity. MARKED_FOR_CLOSURE Issue or PR is marked for auto-closure by the GitHub Actions bot. pkg: Ifpack2 type: bug The primary issue is a bug in Trilinos code or tests

Comments

@jhux2
Copy link
Member

jhux2 commented Mar 14, 2020

Bug Report (maybe?)

@trilinos/ifpack2 @csiefer2

Description

Halo rows imported into an OverlappingRowMatrix appear to exclude column indices corresponding to rows that 1) are not in the original local matrix and 2) are not halo rows themselves.

Implications: In order to perform K matvecs with a single communication, the halo must be K layers deep. If this can fixed, then the halo would only have to be K-1 layers deep.

Example

Consider a 1D Poisson matrix on two ranks, 5 rows per process, with overlap 2.

Here is the original "local" matrix:

      Proc Rank   Global Row  Num Entries(Index,Value)
              0            0            2 (0, 2)  (1, -1)
              0            1            3 (0, -1)  (1, 2)  (2, -1)
              0            2            3 (1, -1)  (2, 2)  (3, -1)
              0            3            3 (2, -1)  (3, 2)  (4, -1)
              0            4            3 (3, -1)  (4, 2)  (5, -1)
              1            5            3 (5, 2)  (6, -1)  (4, -1)
              1            6            3 (5, -1)  (6, 2)  (7, -1)
              1            7            3 (6, -1)  (7, 2)  (8, -1)
              1            8            3 (7, -1)  (8, 2)  (9, -1)
              1            9            2 (8, -1)  (9, 2)

And here's the halo matrix with just the imported overlap rows:

      Proc Rank   Global Row  Num Entries(Index,Value)
              0            5            3 (4, -1)  (5, 2)  (6, -1)
              0            6            2 (5, -1)  (6, 2)
              1            4            3 (5, -1)  (4, 2)  (3, -1)
              1            3            2 (4, -1)  (3, 2)

Global row 6 on proc 0 doesn't have global column 7, and global row 3 on proc 1 doesn't have global column 2. So it is only possible to do two matvecs (not three) that agree with the standard SPMV that does an import at each step.

@jhux2 jhux2 added type: bug The primary issue is a bug in Trilinos code or tests pkg: Ifpack2 labels Mar 14, 2020
@jhux2
Copy link
Member Author

jhux2 commented Mar 14, 2020

Related to #6877

@jhux2 jhux2 self-assigned this Mar 14, 2020
@jhux2
Copy link
Member Author

jhux2 commented Mar 14, 2020

I am wondering this could be related to issues discussed in #558.

@github-actions
Copy link

This issue has had no activity for 365 days and is marked for closure. It will be closed after an additional 30 days of inactivity.
If you would like to keep this issue open please add a comment and/or remove the MARKED_FOR_CLOSURE label.
If this issue should be kept open even with no activity beyond the time limits you can add the label DO_NOT_AUTOCLOSE.
If it is ok for this issue to be closed, feel free to go ahead and close it. Please do not add any comments or change any labels or otherwise touch this issue unless your intention is to reset the inactivity counter for an additional year.

@github-actions github-actions bot added the MARKED_FOR_CLOSURE Issue or PR is marked for auto-closure by the GitHub Actions bot. label Dec 18, 2021
@jhux2 jhux2 removed the MARKED_FOR_CLOSURE Issue or PR is marked for auto-closure by the GitHub Actions bot. label Dec 19, 2021
@github-actions
Copy link

This issue has had no activity for 365 days and is marked for closure. It will be closed after an additional 30 days of inactivity.
If you would like to keep this issue open please add a comment and/or remove the MARKED_FOR_CLOSURE label.
If this issue should be kept open even with no activity beyond the time limits you can add the label DO_NOT_AUTOCLOSE.
If it is ok for this issue to be closed, feel free to go ahead and close it. Please do not add any comments or change any labels or otherwise touch this issue unless your intention is to reset the inactivity counter for an additional year.

@github-actions github-actions bot added the MARKED_FOR_CLOSURE Issue or PR is marked for auto-closure by the GitHub Actions bot. label Dec 21, 2022
@github-actions
Copy link

This issue was closed due to inactivity for 395 days.

@github-actions github-actions bot added the CLOSED_DUE_TO_INACTIVITY Issue or PR has been closed by the GitHub Actions bot due to inactivity. label Jan 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLOSED_DUE_TO_INACTIVITY Issue or PR has been closed by the GitHub Actions bot due to inactivity. MARKED_FOR_CLOSURE Issue or PR is marked for auto-closure by the GitHub Actions bot. pkg: Ifpack2 type: bug The primary issue is a bug in Trilinos code or tests
Projects
None yet
Development

No branches or pull requests

1 participant