Skip to content

Amesos2: Repeated map construction #14496

@cgcgcg

Description

@cgcgcg

Enhancement

MueLu uses` Amesos2 for coarse solves. This means that the same linear system is solved repeatedly. Only the RHS changes.

const Teuchos::RCP<const Tpetra::Map<lo_t,go_t,node_t> > map
= Amesos2::Util::getDistributionMap<lo_t,go_t,gs_t,node_t>(distribution,
mv->getGlobalLength(),
mv->getComm(),
indexBase,
mv->getMap());

constructs a map for each solve. Is that necessary or could this step be cached? Or is MueLu using Amesos2 incorrectly?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions