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

Closed
Open
Created Jul 15, 2018 by James Willenbring@jmwilleMaintainer

Piro: No-MPI ("SERIAL") build fails due to use of `MPI_Comm`

Created by: mhoemmen

@trilinos/piro

Trilinos' no-MPI ("SERIAL") build fails with the following build error:

/scratch/trilinos/workspace/trilinos-folder/Trilinos_generic_nightly@2/SERIAL_Release_gcc_4.9.3__DEV/Trilinos/packages/piro/test/MockModelEval_A_Tpetra.hpp:86:32: error: ‘MPI_Comm’ does not name a type
   MockModelEval_A_Tpetra(const MPI_Comm appComm);

It's not legal to use MPI_* types if MPI is not enabled.

Possible Solution

  1. Protect use of MPI_* types with the appropriate macro, or
  2. use a wrapper like Teuchos::Comm.
Assignee
Assign to
Time tracking