Skip to content

Zoltan2: set default data types to be the same as Tpetra's to fix #604

James Willenbring requested to merge fix604 into master

Created by: kddevin

@trilinos/zoltan2

Description and Motivation

Zoltan2's default data types differed from Tpetra's, which could cause problems with explicit instantiation or confusing behavior for users. This change makes Zoltan2's default data types match Tpetra's.
Because Pamgen assumes coordinates are double, some changes were needed to copy coordinates into scalar_t arrays. This PR addresses #604 (closed) . To enable testing with default scalar_t = float, this PR also include the changes suggested in #3366 (closed).

How Has This Been Tested?

Mac Clang with default Tpetra Explicit Instantiation and Mac Clang with Tpetra_INST_DOUBLE=OFF and Tpetra_INST_FLOAT=ON.

Checklist

  • My commit messages mention the appropriate GitHub issue numbers.

  • My code follows the code style of the affected package(s).

  • All new and existing tests passed.

  • No new compiler warnings were introduced.

  • [Maybe] These changes break backwards compatibility.

Merge request reports