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

col_to_row_major and row_to_col_major functions fails when number of rows and columns are different #409

Open
quantumsteve opened this issue Oct 11, 2021 · 1 comment

Comments

@quantumsteve
Copy link
Collaborator

Describe the bug
A clear and concise description of what the bug is.

The col_to_row_major and row_to_col_major were designed for grids with the same size row and column elements. When using a rectangular grid ( ie. 2 processes ) this assumption is no longer true and we get an error about invalid rank.

To Reproduce
Steps to reproduce the behavior:

  1. git commit hash being built
    d616a8f
  2. cmake command
    cmake -DENABLE_MPI=ON -DENABLE_SCALPACK=ON ../
  3. full program/test invocation command
    mpirun -n 2 ./distribution_tests
  4. additional steps

Expected behavior
A clear and concise description of what you expected to happen.

System:

  • system name [e.g. fusiont5, summit]
    my desktop, ubuntu 20.04
  • modules loaded [e.g. output of module list]
  • other systems where this is reproducible [e.g. "my laptop", "none"]

Additional context
Add any other context about the problem here.

Part of #405

@quantumsteve
Copy link
Collaborator Author

Can we replace the internals of these with pscopy/pdcopy?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant