Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • T Trilinos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • 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
  • #4412
Closed
Open
Issue created Feb 15, 2019 by James Willenbring@jmwilleOwner

Tpetra::Distributor: Don't fill indicesFrom_

Created by: mhoemmen

@trilinos/tpetra @jjellio @kddevin @vbrunini @crtrott

Tpetra::Distributor would always fill indicesFrom_ with 0, 1, ..., totalReceiveLength_-1. This was not only a waste of time, it would unnecessarily make all reverse-mode communication take the slow path. (Reversing a Distributor swaps indicesTo_ and indicesFrom_. A nonempty indicesTo_ tells Distributor to take the slow path. If indicesFrom_ is just 0, 1, ..., totalReceiveLength_-1, then Distributor does not need to take the slow path.)

Note that Epetra_MpiDistributor comments out the code that fills indices_from_, and claims that doing so fixes reverse communication.

@vbrunini found that applying my patch for fixing this made Aria's post-solve communication of the solution vector of the ViewFactor system a lot faster on 2 GPUs.

Related Issues

  • Blocks
  • Is blocked by
  • Follows
  • Precedes
  • Related to
  • Part of
  • Composed of
Assignee
Assign to
Time tracking