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

Wrap remote 2d indexing #35

Merged
merged 2 commits into from
Apr 1, 2024
Merged

Conversation

bhourahine
Copy link
Member

Routines for information on local parts of a BLACS 2D matrix that are not stored on the processor making the enquiry.

Extend test_gemr2d to use these to describe the resulting matrices and
their storage locations.
@bhourahine
Copy link
Member Author

On top of #34

@bhourahine bhourahine force-pushed the wrapRemote2DIndexing branch 2 times, most recently from b12c644 to 37a84d7 Compare February 17, 2024 18:33
@bhourahine bhourahine marked this pull request as ready for review February 17, 2024 18:37
Remote matrix assembly and communication test.

Add leadprocessor number to BLACS grid structure.

scalafx_getremoteshape - Returns the shape of a remote part of a
distributed array, with optional flag to return padded matrix (lda >=
local row).

scalafx_infog2p - Processor grid location of global matrix index
element. Gives 2D info instead of separate row and column from
scalafx_indxg2p.

Note: scalafx_localindices behavior changed, to return actual values
for .not.local calls, instead of returning 0 unless on local
processor. Instead, return 0 when requested matrix indices are outside
of global row/column sizes.
@bhourahine bhourahine merged commit b9a4c55 into dftbplus:main Apr 1, 2024
@bhourahine bhourahine deleted the wrapRemote2DIndexing branch April 1, 2024 11:49
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

Successfully merging this pull request may close these issues.

1 participant