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
Fix Tpetra 64 bit global ordinate errors #16005
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since trilinos/Trilinos@67f5151 (12.18.1) Tpetra
is always instantiated for long long int
as global ordinal type by default.
We should be careful with casting between pointers of type signed_global_dof_index*
and global_dof_index
since they are now differ by more than signedness.
31bf623
to
4a57736
Compare
4a57736
to
4b2e084
Compare
4b2e084
to
34d4428
Compare
Updated to current master, should fix previous intel compiler action error. |
/rebuild |
Tpetra requires long long as global ordinate type, which does not always match with std::int64_t.
Therefore, configure stage fails with default Tpetra settings.
Changed signed_global_index_type in types.h to reflect this too. Also added hopefully helpful CMake messages
in case the Tpetra check fails.
If it is global index related it will offer two ways to make Tpetra usable in deal.II.