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

Closed
Open
Created Feb 27, 2018 by James Willenbring@jmwilleMaintainer

Component "Pike" not found

Created by: ecurtin2

Hello,

I'm trying to build the demo in $TRILINOS_DIR/demos/buildAgainstTrilinos/build

I built trilinos by going into $TRILINOS_DIR and executing the following do-make.sh in that directory. gcc/g++/gfortan versions are all 5.4.0

mkdir build
cd build
cmake -Bbuild .. \
-DCMAKE_C_COMPILER=/usr/bin/gcc \
-DCMAKE_CXX_COMPILER=/usr/bin/g++ \
-DCMAKE_Fortran_COMPILER=/usr/bin/gfortran \
-DTrilinos_ENABLE_ALL_PACKAGES=ON \
-DCMAKE_INSTALL_PATH=/home/evan/local \
-DCMAKE_INSTALL_PREFIX=/home/evan/local \

make -j3 install
wait
cd ..

When I try to run the do-cmake in $TRILINOS_DIR/demos/buildAgainstTrilinos/build

rm CMakeCache.txt

cmake \
 -D Trilinos_PREFIX:PATH=/home/evan/local \
 -D CMAKE_VERBOSE_MAKEFILE:BOOL=ON \
 ..

I get the following error:

CMake Warning at /home/evan/local/lib/cmake/Trilinos/TrilinosConfig.cmake:158 (MESSAGE):
  Component "Pike" NOT found.
Call Stack (most recent call first):
  CMakeLists.txt:11 (FIND_PACKAGE)


CMake Error at /home/evan/local/lib/cmake/Trilinos/TrilinosConfig.cmake:221 (include):
  include could not find load file:

    /home/evan/local/lib/cmake/Trilinos/../Pike/PikeConfig.cmake
Call Stack (most recent call first):
  CMakeLists.txt:11 (FIND_PACKAGE)



Found Trilinos!  Here are the details: 
   Trilinos_DIR = /home/evan/local/lib/cmake/Trilinos
   Trilinos_VERSION = 12.13
   Trilinos_PACKAGE_LIST = Pike;TrilinosCouplings;       **[...Long list of packages]**
   Trilinos_LIBRARIES = trilinoscouplings;stokhos_muelu;  **[...Long List of packages]**
   Trilinos_INCLUDE_DIRS = /home/evan/local/include
   Trilinos_LIBRARY_DIRS = /home/evan/local/lib
   Trilinos_TPL_LIST = DLlib;X11;Matio;Netcdf;Boost;LAPACK;BLAS;Pthread
   Trilinos_TPL_INCLUDE_DIRS = 
   Trilinos_TPL_LIBRARIES = 
   Trilinos_TPL_LIBRARY_DIRS = 
   Trilinos_BUILD_SHARED_LIBS = FALSE
End of Trilinos details

-- Checking if MPI is enabled in Trilinos:
-- Checking if MPI is enabled in Trilinos: MPI NOT ENABLED
-- Looking for Epetra:
-- Looking for Epetra: -- found, compiling with -DMYAPP_EPETRA
-- Configuring incomplete, errors occurred!
See also "/home/evan/local/Trilinos/demos/buildAgainstTrilinos/build/CMakeFiles/CMakeOutput.log".

Assignee
Assign to
Time tracking