Skip to content

Tpetra: Fix the Global Ordinal deprecations

James Willenbring requested to merge william76:Tpetra-default-gords-fix into develop

Created by: william76

@trilinos/tpetra

Description

  • Add in cases to handle when Tpetra_INST_INT_* values aren't defined.
  • Add in checks to disable Tpetra_INST_INT_LONG_LONG (which is enabled by default) if one of the other GO types is enabled by user parameters.

Testing

I tested configuring using the following settings:

Tpetra_ENABLE_DEPRECATED_CODE Tpetra_INST_INT_INT Tpetra_INST_INT_LONG_LONG WARNING ERROR GORDS
ON UNSPECIFIED UNSPECIFIED YES NO int; long long
ON ON UNSPECIFIED YES NO int; long long
ON OFF UNSPECIFIED NO NO long long
ON UNSPECIFIED ON YES NO int; long long
ON UNSPECIFIED OFF NO NO int
ON ON ON YES NO int; long long
ON ON OFF NO NO int
ON OFF ON NO NO long long
ON OFF OFF NO YES
OFF UNSPECIFIED UNSPECIFIED NO NO long long
OFF ON UNSPECIFIED NO NO int
OFF OFF UNSPECIFIED NO NO long long
OFF UNSPECIFIED ON NO NO long long
OFF UNSPECIFIED OFF NO YES
OFF ON ON NO YES int; long long
OFF ON OFF NO OFF int
OFF OFF ON NO NO long long
OFF OFF OFF NO YES

Merge request reports