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

MiniTensor, Domi don't properly install their configs #1225

Closed
nschloe opened this issue Apr 10, 2017 · 6 comments
Closed

MiniTensor, Domi don't properly install their configs #1225

nschloe opened this issue Apr 10, 2017 · 6 comments
Assignees
Labels
CLOSED_DUE_TO_INACTIVITY Issue or PR has been closed by the GitHub Actions bot due to inactivity. MARKED_FOR_CLOSURE Issue or PR is marked for auto-closure by the GitHub Actions bot. pkg: Domi pkg: minitensor

Comments

@nschloe
Copy link
Member

nschloe commented Apr 10, 2017

When installing Trilinos with, e.g.,

cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_C_COMPILER=mpicc -DCMAKE_CXX_COMPILER=mpicxx -DCMAKE_Fortran_COMPILER=mpif90 -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON -DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=OFF -DTrilinos_LIBRARY_NAME_PREFIX:STRING=trilinos_ -DTrilinos_INSTALL_INCLUDE_DIR:PATH=include/trilinos/ -DTrilinos_INSTALL_TriBITS:BOOL=OFF -DTrilinos_USE_GNUINSTALLDIRS:BOOL=ON -DTrilinos_ENABLE_DEVELOPMENT_MODE:BOOL=OFF -DTrilinos_ENABLE_ALL_PACKAGES:BOOL=ON -DTrilinos_ENABLE_SECONDARY_TESTED_CODE:BOOL=ON -DTrilinos_ASSERT_MISSING_PACKAGES:BOOL=OFF -DTrilinos_ENABLE_EXPLICIT_INSTANTIATION:BOOL=ON -DTrilinos_ENABLE_CTrilinos:BOOL=OFF -DTrilinos_ENABLE_FEI:BOOL=OFF -DTrilinos_ENABLE_ForTrilinos:BOOL=OFF -DTrilinos_ENABLE_Gtest:BOOL=OFF -DTrilinos_ENABLE_Mesquite:BOOL=OFF -DTrilinos_ENABLE_MOOCHO:BOOL=OFF -DTrilinos_ENABLE_Optika:BOOL=OFF -DTrilinos_ENABLE_Panzer:BOOL=OFF -DTrilinos_ENABLE_PyTrilinos:BOOL=OFF -DTrilinos_ENABLE_SEACAS:BOOL=OFF -DTrilinos_ENABLE_Sundance:BOOL=OFF -DTrilinos_ENABLE_STK:BOOL=OFF -DTrilinos_ENABLE_STKClassic:BOOL=OFF -DTrilinos_ENABLE_STKDoc_tests:BOOL=OFF -DTrilinos_ENABLE_STKSearch:BOOL=OFF -DTrilinos_ENABLE_STKUnit_tests:BOOL=OFF -DTrilinos_ENABLE_ThreadPool:BOOL=OFF -DTrilinos_ENABLE_EXAMPLES:BOOL=OFF -DTrilinos_ENABLE_TESTS:BOOL=ON -DAmesos2_ENABLE_TESTS:BOOL=OFF -DAnasazi_ENABLE_TESTS:BOOL=OFF -DBelos_ENABLE_TESTS:BOOL=OFF -DDomi_ENABLE_TESTS:BOOL=OFF -DEpetra_ENABLE_TESTS:BOOL=OFF -DIfpack_ENABLE_TESTS:BOOL=OFF -DIsorropia_ENABLE_TESTS:BOOL=OFF -DMueLu_ENABLE_TESTS:BOOL=OFF -DNOX_ENABLE_TESTS:BOOL=OFF -DPiro_ENABLE_TESTS:BOOL=OFF -DShyLU_ENABLE_TESTS:BOOL=OFF -DShyLUCore_ENABLE_TESTS:BOOL=OFF -DStratimikos_ENABLE_TESTS:BOOL=OFF -DTeko_ENABLE_TESTS:BOOL=OFF -DTeuchos_ENABLE_TESTS:BOOL=OFF -DTeuchosComm_ENABLE_TESTS:BOOL=OFF -DTeuchosCore_ENABLE_TESTS:BOOL=OFF -DXpetra_ENABLE_TESTS:BOOL=OFF -DZoltan_ENABLE_TESTS:BOOL=OFF -DZoltan2_ENABLE_TESTS:BOOL=OFF -DTPL_ENABLE_BinUtils:BOOL=OFF -DTPL_ENABLE_Boost:BOOL=ON -DTPL_ENABLE_HDF5:BOOL=ON -DHDF5_INCLUDE_DIRS:PATH=/usr/include/hdf5/openmpi/ -DHDF5_LIBRARY_DIRS:PATH=/usr/lib/x86_64-linux-gnu/hdf5/openmpi/ -DTPL_ENABLE_Matio:BOOL=OFF -DTPL_ENABLE_MATLAB:BOOL=OFF -DTPL_ENABLE_MPI:BOOL=ON -DTPL_ENABLE_MUMPS:BOOL=ON -DTPL_ENABLE_Netcdf:BOOL=OFF -DTPL_ENABLE_ParMETIS:BOOL=OFF -DTPL_ENABLE_Scotch:BOOL=OFF -DTPL_ENABLE_SuperLU:BOOL=OFF -DTPL_ENABLE_TBB:BOOL=ON -DTPL_ENABLE_X11:BOOL=OFF -DTPL_ENABLE_Zlib:BOOL=ON

some config files aren't installed properly. FIND_PACKAGE(Trilinos REQUIRED) will fail with

CMake Error at /usr/lib/x86_64-linux-gnu/cmake/ROL/ROLConfig.cmake:174 (INCLUDE):
  include could not find load file:
    /usr/lib/x86_64-linux-gnu/cmake/ROL/../MiniTensor/MiniTensorConfig.cmake
Call Stack (most recent call first):
  /usr/lib/x86_64-linux-gnu/cmake/Piro/PiroConfig.cmake:143 (INCLUDE)
  /usr/lib/x86_64-linux-gnu/cmake/Trilinos/TrilinosConfig.cmake:146 (INCLUDE)
  CMakeLists.txt:8 (FIND_PACKAGE)
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Piro/PiroConfig.cmake:180 (INCLUDE):
  include could not find load file:
    /usr/lib/x86_64-linux-gnu/cmake/Piro/../MiniTensor/MiniTensorConfig.cmake
Call Stack (most recent call first):
  /usr/lib/x86_64-linux-gnu/cmake/Trilinos/TrilinosConfig.cmake:146 (INCLUDE)
  CMakeLists.txt:8 (FIND_PACKAGE)
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Trilinos/TrilinosConfig.cmake:257 (include):
  include could not find load file:
    /usr/lib/x86_64-linux-gnu/cmake/Trilinos/../Domi/DomiConfig.cmake
Call Stack (most recent call first):
  CMakeLists.txt:8 (FIND_PACKAGE)
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Trilinos/TrilinosConfig.cmake:269 (include):
  include could not find load file:
    /usr/lib/x86_64-linux-gnu/cmake/Trilinos/../MiniTensor/MiniTensorConfig.cmake
Call Stack (most recent call first):
  CMakeLists.txt:8 (FIND_PACKAGE)
CMake Error at CMakeLists.txt:8 (FIND_PACKAGE):
  Found package configuration file:
    /usr/lib/x86_64-linux-gnu/cmake/Trilinos/TrilinosConfig.cmake
  but it set Trilinos_FOUND to FALSE so package "Trilinos" is considered to
  be NOT FOUND.  Reason given by package:
  The following imported targets are referenced, but are missing:
  trilinos_minitensor
@lxmota lxmota self-assigned this Apr 12, 2017
@lxmota
Copy link
Contributor

lxmota commented Apr 12, 2017

I'm the developer for MiniTensor. I would like to fix this, but I don't know how. I'm pinging @bartlettroscoe for help with this.

@bartlettroscoe
Copy link
Member

I have no idea what would be causing this. I did not write much of the code that creates and installs the <Package>Config.cmake files. The principle people who I think did are @bmpersc and @nschloe with a little editing from @briadam.

I am going to have dig into all of this once I can finally get into the major refactoring in TriBITSPub/TriBITS#63.

@thierry3000
Copy link

Is there some progress on this? I am also suffering from this bug.

@jwillenbring
Copy link
Member

@bmpersc do you have any input on this?

@wfspotz wfspotz self-assigned this Oct 5, 2018
@github-actions
Copy link

This issue has had no activity for 365 days and is marked for closure. It will be closed after an additional 30 days of inactivity.
If you would like to keep this issue open please add a comment and remove the MARKED_FOR_CLOSURE label.
If this issue should be kept open even with no activity beyond the time limits you can add the label DO_NOT_AUTOCLOSE.

@github-actions github-actions bot added the MARKED_FOR_CLOSURE Issue or PR is marked for auto-closure by the GitHub Actions bot. label Feb 20, 2021
@github-actions
Copy link

This issue was closed due to inactivity for 395 days.

@github-actions github-actions bot added the CLOSED_DUE_TO_INACTIVITY Issue or PR has been closed by the GitHub Actions bot due to inactivity. label Mar 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLOSED_DUE_TO_INACTIVITY Issue or PR has been closed by the GitHub Actions bot due to inactivity. MARKED_FOR_CLOSURE Issue or PR is marked for auto-closure by the GitHub Actions bot. pkg: Domi pkg: minitensor
Projects
None yet
Development

No branches or pull requests

6 participants