Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Piro: Compile error while disabling ROL and Teko #8641

Closed
lxmota opened this issue Jan 26, 2021 · 8 comments
Closed

Piro: Compile error while disabling ROL and Teko #8641

lxmota opened this issue Jan 26, 2021 · 8 comments
Assignees
Labels
client: LCM Solid mechanics fork of Albany pkg: Piro type: bug The primary issue is a bug in Trilinos code or tests

Comments

@lxmota
Copy link
Contributor

lxmota commented Jan 26, 2021

Bug Report

@trilinos/piro

Description

Compiling Trilinos with Piro enabled and ROL and Teko disabled results in this compile error:

[100%] Building CXX object packages/piro/src/CMakeFiles/piro.dir/Piro_PerformAna lysis.cpp.o /home/amota/LCM/Trilinos/packages/piro/src/Piro_PerformAnalysis.cpp:85:10: fatal error: Teko_InverseLibrary.hpp: No such file or directory 85 | #include "Teko_InverseLibrary.hpp" | ^~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated.

The same error is produced if Piro and ROL are enabled but not teko.

The CMake configuration is:

SetCTestConfiguration:ConfigureCommand:"/usr/bin/cmake"

"-DBUILD_SHARED_LIBS:BOOL=ON"

"-DCMAKE_BUILD_TYPE:STRING=DEBUG"

"-DCMAKE_CXX_COMPILER:FILEPATH=/usr/lib64/openmpi/bin/mpicxx"

"-DCMAKE_C_COMPILER:FILEPATH=/usr/lib64/openmpi/bin/mpicc"

"-DCMAKE_Fortran_COMPILER:FILEPATH=/usr/lib64/openmpi/bin/mpif90"

"-DCMAKE_INSTALL_PREFIX:PATH=/home/amota/LCM/trilinos-install-serial-gcc-debug"

"-DCMAKE_VERBOSE_MAKEFILE:BOOL=OFF"

"-DTPL_ENABLE_MPI:BOOL=ON"

"-DTPL_ENABLE_BinUtils:BOOL=OFF"

"-DTPL_MPI_INCLUDE_DIRS:STRING=/usr/include/openmpi-x86_64"

"-DTPL_MPI_LIBRARY_DIRS:STRING=/usr/lib64/openmpi/lib"

"-DMPI_BIN_DIR:PATH=/usr/lib64/openmpi/bin"

"-DTPL_ENABLE_Boost:BOOL=ON"

"-DTPL_ENABLE_BoostLib:BOOL=ON"

"-DBoost_INCLUDE_DIRS:STRING=/usr/include/boost"

"-DBoost_LIBRARY_DIRS:STRING=/usr/lib64"

"-DBoostLib_INCLUDE_DIRS:STRING=/usr/include/boost"

"-DBoostLib_LIBRARY_DIRS:STRING=/usr/lib64"

"-DTrilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=OFF"

"-DTrilinos_ENABLE_ALL_PACKAGES:BOOL=OFF"

"-DTrilinos_ENABLE_CXX11:BOOL=ON"

"-DTrilinos_ENABLE_EXAMPLES:BOOL=OFF"

"-DTrilinos_ENABLE_EXPLICIT_INSTANTIATION:BOOL=ON"

"-DTrilinos_VERBOSE_CONFIGURE:BOOL=OFF"

"-DTrilinos_WARNINGS_AS_ERRORS_FLAGS:STRING="

"-DTeuchos_ENABLE_STACKTRACE:BOOL=OFF"

"-DTeuchos_ENABLE_DEFAULT_STACKTRACE:BOOL=OFF"

"-DKokkos_ENABLE_CUDA_UVM:BOOL=OFF"

"-DKokkos_ENABLE_EXAMPLES:BOOL=OFF"

"-DKokkos_ENABLE_OPENMP:BOOL=OFF"

"-DKokkos_ENABLE_PTHREAD:BOOL=OFF"

"-DKokkos_ENABLE_SERIAL:BOOL=ON"

"-DKokkos_ENABLE_TESTS:BOOL=OFF"

"-DTPL_ENABLE_CUDA:STRING=OFF"

"-DTPL_ENABLE_CUSPARSE:BOOL=OFF"

"-DAmesos2_ENABLE_KLU2:BOOL=ON"

"-DROL_ENABLE_TESTS:BOOL=OFF"

"-DPhalanx_INDEX_SIZE_TYPE:STRING=INT"

"-DPhalanx_KOKKOS_DEVICE_TYPE:STRING=SERIAL"

"-DPhalanx_SHOW_DEPRECATED_WARNINGS:BOOL=OFF"

"-DTpetra_ENABLE_Kokkos_Refactor:BOOL=ON"

"-DTpetra_INST_PTHREAD:BOOL=OFF"

"-DTPL_ENABLE_HDF5:BOOL=OFF"

"-DTPL_ENABLE_HWLOC:STRING=OFF"

"-DTPL_ENABLE_Matio:BOOL=OFF"

"-DTPL_ENABLE_Netcdf:BOOL=ON"

"-DTPL_ENABLE_X11:BOOL=OFF"

"-DTPL_Netcdf_INCLUDE_DIRS:STRING=/usr/include"

"-DTPL_Netcdf_LIBRARY_DIRS:STRING=/usr/lib64"

"-DTPL_Netcdf_LIBRARIES:STRING=/usr/lib64/libnetcdf.so"

"-DTrilinos_ENABLE_Amesos2:BOOL=ON"

"-DTrilinos_ENABLE_Amesos:BOOL=OFF"

"-DTrilinos_ENABLE_Anasazi:BOOL=ON"

"-DTrilinos_ENABLE_AztecOO:BOOL=OFF"

"-DTrilinos_ENABLE_Belos:BOOL=ON"

"-DTrilinos_ENABLE_EXAMPLES:BOOL=OFF"

"-DTrilinos_ENABLE_Epetra:BOOL=OFF"

"-DTrilinos_ENABLE_EpetraExt:BOOL=OFF"

"-DTrilinos_ENABLE_Ifpack2:BOOL=ON"

"-DTrilinos_ENABLE_Ifpack:BOOL=OFF"

"-DTrilinos_ENABLE_Intrepid2:BOOL=ON"

"-DTrilinos_ENABLE_Kokkos:BOOL=ON"

"-DTrilinos_ENABLE_KokkosAlgorithms:BOOL=ON"

"-DTrilinos_ENABLE_KokkosContainers:BOOL=ON"

"-DTrilinos_ENABLE_KokkosCore:BOOL=ON"

"-DTrilinos_ENABLE_MiniTensor:BOOL=ON"

"-DTrilinos_ENABLE_ML:BOOL=OFF"

"-DTrilinos_ENABLE_MueLu:BOOL=ON"

"-DTrilinos_ENABLE_NOX:BOOL=ON"

"-DTrilinos_ENABLE_OpenMP:BOOL=OFF"

"-DTrilinos_ENABLE_Pamgen:BOOL=ON"

"-DTrilinos_ENABLE_Phalanx:BOOL=ON"

"-DTrilinos_ENABLE_Piro:BOOL=ON"

"-DTrilinos_ENABLE_ROL:BOOL=OFF"

"-DTrilinos_ENABLE_Rythmos:BOOL=ON"

"-DTrilinos_ENABLE_SEACAS:BOOL=ON"

"-DTrilinos_ENABLE_SEACASAprepro_lib:BOOL=ON"

"-DTrilinos_ENABLE_STKExprEval:BOOL=ON"

"-DTrilinos_ENABLE_STKIO:BOOL=ON"

"-DTrilinos_ENABLE_STKMesh:BOOL=ON"

"-DTrilinos_ENABLE_Sacado:BOOL=ON"

"-DTrilinos_ENABLE_Shards:BOOL=ON"

"-DTrilinos_ENABLE_Stratimikos:BOOL=ON"

"-DTrilinos_ENABLE_TESTS:BOOL=OFF"

"-DTrilinos_ENABLE_Teko:BOOL=OFF"

"-DTrilinos_ENABLE_Tempus:BOOL=ON"

"-DTrilinos_ENABLE_Teuchos:BOOL=ON"

"-DTrilinos_ENABLE_Thyra:BOOL=ON"

"-DTrilinos_ENABLE_Tpetra:BOOL=ON"

"-DTrilinos_ENABLE_Zoltan2:BOOL=OFF"

"-DTrilinos_ENABLE_Zoltan:BOOL=ON"

"-DTempus_ENABLE_TESTS:BOOL=OFF"

"-DTempus_ENABLE_EXAMPLES:BOOL=OFF"

"-DTempus_ENABLE_EXPLICIT_INSTANTIATION:BOOL=ON"

"-DTpetra_INST_INT_LONG_LONG:BOOL=ON"

"-DTpetra_INST_INT_INT:BOOL=OFF"

"-DTpetra_INST_INT_LONG:BOOL=OFF"

"-DTrilinos_ENABLE_DataTransferKit:BOOL=ON"

"-DDataTransferKit_ENABLE_DBC:BOOL=ON"

"-DDataTransferKit_ENABLE_TESTS:BOOL=OFF"

"-DDataTransferKit_ENABLE_EXAMPLES:BOOL=OFF"

"-DTPL_ENABLE_MOAB:BOOL=OFF"

"-DTPL_ENABLE_Libmesh:BOOL=OFF"

"-DTrilinos_EXTRA_REPOSITORIES:STRING=DataTransferKit" "-GUnix Makefiles" "/home/amota/LCM/Trilinos"

@lxmota lxmota added type: bug The primary issue is a bug in Trilinos code or tests pkg: Piro client: LCM Solid mechanics fork of Albany labels Jan 26, 2021
@ikalash
Copy link
Contributor

ikalash commented Jan 26, 2021

Hmmm, this is odd. @mperego, were any changes made to Piro or ROL recently that would cause this behavior? Or perhaps there were some changes to Teko - tagging @eric-c-cyr ? I haven't made any changes to Piro for awhile but maybe you have been making some for the Hessians/optimization @mperego ?

@kliegeois
Copy link
Contributor

This must be related to my PR. I can resolve this.

@ikalash
Copy link
Contributor

ikalash commented Jan 26, 2021

Thank you @kliegeois that would be great if you could look at / fix it.

@ikalash ikalash assigned kliegeois and unassigned mperego and ikalash Jan 26, 2021
trilinos-autotester added a commit that referenced this issue Jan 29, 2021
Automatically Merged using Trilinos Pull Request AutoTester
PR Title: Piro: close #8641
PR Author: kliegeois
@kliegeois
Copy link
Contributor

This should have been resolved now.

@ikalash
Copy link
Contributor

ikalash commented Jan 29, 2021

Thank you @kliegeois . We won't know until Monday if the problem is fixes (the nightlies where this was showing up do not run over the weekend). I will check Monday morning and close the issue if things are good.

@kliegeois
Copy link
Contributor

Thanks @ikalash !

jmgate pushed a commit to tcad-charon/Trilinos that referenced this issue Jan 30, 2021
…s:develop' (dde88a7).

* trilinos-develop: (24 commits)
  MueLu: Gold Files
  Phalanx: add queries to DAG Manager
  MueLu: More BlockDiagonal mods
  MueLu: Adding first cut at a block-diagonal coarsening
  MiniTensor: Fix inconsistent KOKKOS_INLINE_FUNCTION markings
  Piro: close trilinos#8641
  Fix latest fix -- discarded const
  Turn Anasazi on for EMPIRE
  Fix compilation error on intel-17
  Automatic snapshot commit from seacas at 729e904fa5
  MueLu: RegionMG cleaning up test example dirver
  MueLu: fix typos in documentation
  MueLu CoalesceDrop: Fix FPE in cut-based distance Laplacian
  MueLu Hierarchy: Skip forced deletion of level vectors
  MueLu ParameterListInterpreter: Switch processing of coarse solve and smoothers
  MueLu: Add unit test for StratimikosSmoother
  tpetra:  removed use of device_type; the test runs on host. trilinos#8591
  MueLu: rename input to InterfaceAggFact
  MueLu: fix SchurComplement for parallel runs
  MueLu: add test for dof-based InterfaceAggFact
  ...
jmgate pushed a commit to tcad-charon/Trilinos that referenced this issue Jan 30, 2021
…s:develop' (dde88a7).

* trilinos-develop: (24 commits)
  MueLu: Gold Files
  Phalanx: add queries to DAG Manager
  MueLu: More BlockDiagonal mods
  MueLu: Adding first cut at a block-diagonal coarsening
  MiniTensor: Fix inconsistent KOKKOS_INLINE_FUNCTION markings
  Piro: close trilinos#8641
  Fix latest fix -- discarded const
  Turn Anasazi on for EMPIRE
  Fix compilation error on intel-17
  Automatic snapshot commit from seacas at 729e904fa5
  MueLu: RegionMG cleaning up test example dirver
  MueLu: fix typos in documentation
  MueLu CoalesceDrop: Fix FPE in cut-based distance Laplacian
  MueLu Hierarchy: Skip forced deletion of level vectors
  MueLu ParameterListInterpreter: Switch processing of coarse solve and smoothers
  MueLu: Add unit test for StratimikosSmoother
  tpetra:  removed use of device_type; the test runs on host. trilinos#8591
  MueLu: rename input to InterfaceAggFact
  MueLu: fix SchurComplement for parallel runs
  MueLu: add test for dof-based InterfaceAggFact
  ...
@kliegeois kliegeois reopened this Feb 1, 2021
@kliegeois
Copy link
Contributor

I reopened this issue as my commit message closed it automatically.

@ikalash feels free to close it if needed.

@ikalash
Copy link
Contributor

ikalash commented Feb 1, 2021

The issue has been resolved. Thanks again @kliegeois !

@ikalash ikalash closed this as completed Feb 1, 2021
seamill pushed a commit to seamill/Trilinos that referenced this issue Feb 3, 2021
…develop' (1015f63).

* potential-trilinos-develop: (37 commits)
  Framework: add LDFLAGS to config.ini file for Intel 17 build
  MueLu: Gold Files
  Framework: intel 19 build with CMake 3.17.x or greater
  Framework: intel 17 build with CMake 3.17.x
  Framework: testing - disable cmake_cxx_flags for intel 17 build
  Framework: testing cmake updates and intel compiler error
  Framework: testing cmake updates and intel compiler error
  Framework: testing cmake updates and intel compiler error
  MueLu: More BlockDiagonal mods
  MueLu: Adding first cut at a block-diagonal coarsening
  MiniTensor: Fix inconsistent KOKKOS_INLINE_FUNCTION markings
  PANZER: speed up CubeHexMeshFactory by populating edge blocks using a vector of edges PANZER: speed up CubeHexMeshFactory by populating face blocks using a vector of faces PANZER: speed up CubeHexMeshFactory by reducing the number of calls to beginModification()/endModification() PANZER: add a disable_subcells test to check the "Build Subcells: false" case
  Piro: close trilinos#8641
  Fix latest fix -- discarded const
  Turn Anasazi on for EMPIRE
  Fix compilation error on intel-17
  Automatic snapshot commit from seacas at 729e904fa5
  MueLu: RegionMG cleaning up test example dirver
  MueLu: fix typos in documentation
  tpetra:  removed use of device_type; the test runs on host. trilinos#8591
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client: LCM Solid mechanics fork of Albany pkg: Piro type: bug The primary issue is a bug in Trilinos code or tests
Projects
None yet
Development

No branches or pull requests

4 participants