Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • T Trilinos
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 936
    • Issues 936
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • James Willenbring
  • Trilinos
  • Issues
  • #1925

Closed
Open
Created Oct 30, 2017 by James Willenbring@jmwilleMaintainer

Tpetra: Make CrsGraph & CrsMatrix fillComplete check domain & range Map one-to-one-ness in debug mode

Created by: mhoemmen

@trilinos/tpetra
See https://github.com/NaluCFD/Nalu/issues/211 for an example of a common user error, namely not passing in domain and range Maps to fillComplete when the row Map is overlapping (i.e., not one to one).

Tpetra has the TPETRA_DEBUG environment variable now; if you set it to 1, you'll get more debug-mode checks. We can exploit this to help users diagnose their incorrect usage of Tpetra. In particular, we can do the following:

  • Make the version of fillComplete that takes no Maps check that the row Map is one to one
  • Make the version of fillComplete that takes the domain and range Maps check that these Maps are one to one

We should only do these checks in debug mode, since they may be expensive (they may require extra MPI communication).

Assignee
Assign to
Time tracking