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
  • #2894

Closed
Open
Created Jun 06, 2018 by James Willenbring@jmwilleMaintainer0 of 1 task completed0/1 task

MueLu: types mismatch in Driver.cpp equilibration

Created by: lucbv

@trilinos/muelu

Expectations

The vector and matrix Scalar types forming a linear system should be consistent.

Current Behavior

It seems that a call to KokkosBlas::abs is done on a Scalar type vector and a magnitude type vector.

Motivation and Context

The code is not compiling properly when std::complex<> is used

Definition of Done

  • MueLu Driver compiles

Possible Solution

My guess is that in MueLu_Driver.cpp on line 167 where the call to KokkosBlas::abs() is made, the two vectors should use the same Scalar type. Most likely the magnitude type needs to be replaced by a Scalar type even if this means that in the case of complex numbers only the real part is non zero.

Steps to Reproduce

Build MueLu with tests and examples on and with Trilinos_ENABLE_Complex=ON.

Your Environment

See builds on cdash

Assignee
Assign to
Time tracking