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

Closed
Open
Created Apr 30, 2019 by James Willenbring@jmwilleMaintainer

Tpetra, Teuchos, etc. compiler warnings being treated as errors for unused functions in Sierra - Trilinos integration

Created by: ajpowelsnl

Bug Report

@trilinos/tpetra @trilinos/teuchos

Sierra - Trilinos integration is failing because the compiler is treating warnings as errors in these :

-Werror=unused-function

There are ~ 8000 instances of this type of error (see enclosed log): grep -c [-Werror=unused-function] sierra_trilinos_int_042919.txt 8081

sierra_trilinos_int_042919.txt.zip

Description

Representative error --

/scratch/ajpowel/sierra_code_042619/fuego/src/nonconformal/Afgo_NonConformalDiffusiveScalarAlgorithm.C:16:
/scratch/ajpowel/sierra_code_042619/objs/tpls/trilinos_tpls/b2ed81b8c8472240/include/Tpetra_CrsMatrix_def.hpp:89:3: error: 'std::shared_ptr<Tpetra::Details::CommRequest> Tpetra::{anonymous}::iallreduceIntRaw(const int&, int&, Teuchos::EReductionType, const Teuchos::Comm<int>&)' defined but not used [-Werror=unused-function]
   iallreduceIntRaw (const int& localValue,
   ^~~~~~~~~~~~~~~~

Steps to Reproduce

  1. Set your development environment; module load sierra-devel;
  2. Clone a ${SIERRA_CODE_PROJECT};
  3. cd to the ${SIERRA_CODE_PROJECT};
  4. rm -fr TPLs_src/Trilinos;
  5. git clone github.com/Trilinos/trilinos TPLs_src/Trilinos
  6. bake --verbose trilinos-integration=on
Assignee
Assign to
Time tracking